File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes XInclude and Xerces 2.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XInclude and Xerces 2.5" Watch "XInclude and Xerces 2.5" New topic

XInclude and Xerces 2.5

Christophe Grosjean
Ranch Hand

Joined: Jan 22, 2002
Posts: 51
Does anyone already use de XIclude feature ?
I try it with Xerces and it's working.
Is there a mechanism like the EntityResolver in order to resolve the href attribute value ? In fact, the referred XML files are in a JAR file and I'd like to refer to them like :
<xi:xinclude href="com.mypackage.file.xml"/>
instead opf <xi:xi:xinclude href="c://com//mypacakge//file.xml"/>
Perhaps extending org.apache.xerces.parsers.XIncludeParserConfiguration is a solution but I found no documentation on how to do it.
Any idea ?
I agree. Here's the link:
subject: XInclude and Xerces 2.5