On 07/28/2011 02:47 PM, [email protected] wrote:
>
> i'm loading a document with the LoadOptions XINCLUDE and DONT_INCLUDE
> I expected that the XIncludes are detected and the XInclude instances are 
> added
> to the
> document nodes Inclusion Property. Only the include is not done.
> But nothing is done, like i load the document without an XInclusion Scheme.

I would say that the combination XINCLUDE|DONT_INCLUDE works as expected.

The document you have loaded this way supports XIncludes, but all its 
xi:include elements are left as is, i.e. not transcluded.

After you load such document, you may for example use 
"Edit|Reference|Retransclude All" to transclude all the xi:include 
elements found in the document.

(Please give this menu item a try just to verify what I'm saying.)

Without LoadOptions.XINCLUDE, this would not be possible.

Note that LoadOptions.XINCLUDE is not meant to be used with a document 
associated to an XMLmind XML Editor configuration (a .xxe file). I mean, 
what's specified in the XMLmind XML Editor configuration supersedes 
LoadOptions.XINCLUDE. This is documented; you have already seen that.



>
> How can i achieve the feature you mentioned below?
>

I'm sorry but I don't understand what you want to achieve.





References:

* http://www.xmlmind.com/xmleditor/_distrib/doc/help/referenceMenu.html

* 
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xml/load/LoadDocument.html

* 
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xml/load/LoadOptions.html



 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to