This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion 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
It's not a secret anymore!