Does Aspose Words support the use of INCLUDETEXT fields referencing and XML file and using XPATH expressions?
This is an example of declaration of the field we are trying to use:
<span style=“font-size:11.0pt;line-height:115%;
font-family:“Calibri”,“sans-serif”;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:“Times New Roman”;mso-bidi-theme-font:minor-bidi;
mso-ansi-language:ES;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>{ INCLUDETEXT“http://server/data.xml”
\x /ROOT/ELEMENT *
MERGEFORMAT }
The objective with this field is to insert the text of the element referenced by the XPATH but when we try this with Aspose Words it inserts the text of the whole XML document. It’s like if it doesn’t understand the “\x” option for using XPATH expressions.