Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Vex » Support for XML includes(Workaround for missing feature)
Support for XML includes [message #892484] Thu, 28 June 2012 12:14 Go to next message
Peter Kruse is currently offline Peter KruseFriend
Messages: 2
Registered: June 2012
Junior Member
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 19:45 Go to previous messageGo to next message
Florian Thienel is currently offline Florian ThienelFriend
Messages: 38
Registered: July 2009
Member
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 19:46]

Report message to a moderator

Re: Support for XML includes [message #893206 is a reply to message #892628] Tue, 03 July 2012 08:33 Go to previous messageGo to next message
Peter Kruse is currently offline Peter KruseFriend
Messages: 2
Registered: June 2012
Junior Member
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 19:00 Go to previous message
Florian Thienel is currently offline Florian ThienelFriend
Messages: 38
Registered: July 2009
Member
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: Thu Apr 25 12:32:40 GMT 2024

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

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

Back to the top