File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XInclude and Xerces 2.5" Watch "XInclude and Xerces 2.5" New topic
Author

XInclude and Xerces 2.5

Christophe Grosjean
Ranch Hand

Joined: Jan 22, 2002
Posts: 51
Hi,
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 ?
Thanks
Christophe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XInclude and Xerces 2.5