On 10/10/2012 05:00 PM, Stefan Seefeld wrote:
>
> I'm editing a large document that uses lots of source code listings,
> which I would like to pull in via xi:include. Unfortunately I couldn't
> figure out how to make that work via XXE, as all the handling of
> "References" appears to be tailored towards XML documents, not text.
>
> Is there a way to manipulate<xi:include href=... parse="text"/>
> elements in XXE ? (I understand that I can't edit the referenced /
> included text files themselves in XXE. I'm only asking how to manipulate
> the xi:include elements themselves.)
>

--> You can either:

* Use Edit|Reference|Include Text

Menu item "Include Text" creates an <xi:include parse="text"> element. 
See http://www.xmlmind.com/xmleditor/_distrib/doc/help/referenceMenu.html

or:

* Use the textdata DocBook element

See http://www.docbook.org/tdg5/en/html/textdata.html



--> Normally you should not manipulate the xi:include elements. In 
principle, there is no real need to do this. The only good reason to do 
this is to insert an xi:fallback element inside the  xi:include element.

If you need to modify an xi:include element, you'll have to instruct XXE 
to recreate it out the transcluded content and its associated, 
invisible, metadata. This is done by using:

Edit|Reference|Untransclude Reference

See http://www.xmlmind.com/xmleditor/_distrib/doc/help/referenceMenu.html
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to