Skip to main content



      Home
Home » Eclipse Projects » Vex » Support for XML includes(Workaround for missing feature)
Support for XML includes [message #892484] Thu, 28 June 2012 08:14 Go to next message
Eclipse UserFriend
Hello,

There is already a bug report for XML includes #360067.

but my question is, is there a workaround?
Can I create with Vex multiple documents that do not start
with the root element of "book" and link them together in
another document?
Right now when I open a file that includes an xi:include element
Vex seems quite confused, that is I cannot edit the document
any further (the list of elements in "add element ..." is empty).

Thanks,

Peter
Re: Support for XML includes [message #892628 is a reply to message #892484] Thu, 28 June 2012 15:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi Peter,

currently it is not possible to insert the <xi:include> element with Vex if it is not defined in the DTD/Schema of the document type you are using. As a workaround you could make a copy of the DocBook DTD/Schema and add xi:include at the positions where you want to use it. To put your DTD/Schema in charge, you also have to modify the XML catalog in the Eclipse Preferences to point to your version instead of the version that comes with Vex.

Hope this helps...

Florian

[Updated on: Thu, 28 June 2012 15:46] by Moderator

Re: Support for XML includes [message #893206 is a reply to message #892628] Tue, 03 July 2012 04:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi Florian,

thanks, that sounds like a possibility.
But the files to include would not have the root element of "book", and that seems to confuse Vex as well, what about that?

Peter
Re: Support for XML includes [message #893382 is a reply to message #893206] Tue, 03 July 2012 15:00 Go to previous message
Eclipse UserFriend
Hi Peter,

Vex should be able to handle other root elements than book. If you use the New Document wizard, you can choose other root elements, for example. If it does not work for your document, please file a bug and attach an example document.

Best Regards,

Florian
Previous Topic:Error installing VEX from Eclipse Marketplace
Next Topic:Cannot edit some attributes in Docbook
Goto Forum:
  


Current Time: Mon May 12 17:37:55 EDT 2025

Powered by FUDForum. Page generated in 0.03769 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top