none
Office 2010 Merge Simple Field RRS feed

  • Question

  • Hello,
    When i create a simple merge field at office 2007 at the word document it's created at the xml as<fldSimple ...
    When i create a simple merge field at office 2010 at the word document it's created at the xml as <fldChar ...

    Im working with XPath on the xml document, Inorder to get the fldSimple i wrote the following :
    xmlNamespaceManager.AddNamespace("w", http://schemas.openxmlformats.org/wordprocessingml/2006/main);
    xmlNamespaceManager.AddNamespace(
    "wne", http://schemas.microsoft.com/office/word/2006/wordml);
    doc.SelectNodes(".//w:fldSimple", xmlNamespaceManager);

    It works when i do the merge at office2007 but not when the merge is on office2010,
    How can i resolve this issue ?

    Thnx,
    khalil

    Monday, January 24, 2011 9:36 AM

Answers

All replies