« Return to Thread: xinclude and jdom?

xinclude and jdom?

by Georg-W. Koltermann-4 :: Rate this Message:

Reply to Author | View in Thread

Hi,

I tried getting xinclude to work with jdom, but failed.

On referencing the xinclude namespace like this in my root tag:

<myroottag xmlns:xi="xmlns:xi="http://www.w3.org/2001/XInclude">

the parser took 'xmlns:xi' as an attribute, and consequently failed validation :(

I also tried with validation turned off, but then it didn't recognize the real include,

<xi:include href="somewhere.xml"/>

instead it parsed 'xi:include' as a regular element :(

What's wrong here?

--
Regards,
Georg.


_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@...

 « Return to Thread: xinclude and jdom?