[jboss-dev-forums] [Design of Management Features on JBoss] - Re: Using xinclude in config files

adrian@jboss.org do-not-reply at jboss.com
Mon Mar 5 09:41:53 EST 2007


XInclude is already handled by JBossXB (if the parser supports it, which Xerces does).

With the JBoss "resource:" url handler it is fairly trivial to include things from the classpath,
e.g. 


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | 
  | <xi:include href="resource:org/jboss/some/path/included.xml"
  |                   xmlns:xi="http://www.w3.org/2001/XInclude"/>
  | 
  | 

If all the new deployers use the helper classes then it would be trivial
to enable XInclude for their JAXP parsers as well.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025065#4025065

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025065



More information about the jboss-dev-forums mailing list