Dirk Bächle wrote:
> 
> I am currently playing around with XIncludes and I can't seem to get the 
> "xi:fallback" mechanism to work with the free (non-commercial) version of 
> your XML editor (v4.5.2 under SuSE Linux 10.1).
> In my use case, I would like to reference a document/file that is
> automatically generated by a script...and may not exist already at the time 
> of editing the main document.
> 
> Is this supported at all in XmlMind Editor, only available in the 
> ProfessionalEdition perhaps? 

There is no difference between Professional Edition and Personal Edition
in terms of modular document support.

There is currently no way to edit the contents of an "xi:include"
element (e.g. insert an  "xi:fallback" element). The reason is: XMLmind
XML Editor does not allow to edit the *physical* representation of XML.
For example, "xi:include" elements, just like namespace prefixes, only
exist at document load time and at document save time.



> Did I miss a configuration step? (I already switched on 
> Preferences/Features/IncludeTool 

No.



> and Preferences/Edit/AdvancedUseOfXinclude)

Please uncheck this option as it is not related to the feature you need.



> 
> Please find a short example attached, demonstrating the problem (document is 
> reported to be invalid).
> Any comments, tips and pointers are welcome...
> 

Your document is reported to be invalid because, when an "xi:include"
element cannot be transcluded (that is, replaced by the contents pointed
to), it is kept as is in the opened document. Your test document is a
DocBook v4.5 one. The DocBook v4.5 DTD does not allow to have
"xi:include" elements anywhere in the document.



> 
> P.S.: Syntext's Serna copes with both versions...nag, nag ;)
> 

Not surprising. All the other commercial XML editors have much more
features than XMLmind XML Editor.


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

Reply via email to