Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XInclude and Xerces 2.5  RSS feed

Christophe Grosjean
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!