Package org.ibisph.dao.xml

Provides an XML Xinclude mechanism.

See:
          Description

Class Summary
Document XML document Helper.
XIncludeDocument XInclude that uses a SystemID for the source XML file and processes the XInclude statements with an XSLT transformation.
 

Package org.ibisph.dao.xml Description

Provides an XML Xinclude mechanism. As of 2004, XML parsers do not fully/widely support XML Xinclude statements. This creates a problem because this functionality drastically helps XML content developers with creating and maintaining modular document files. So the options are to either be locked into a particular XML parser or create a more manual solution within the application code. The problem with the first option, relying on the XML parser, is that the developer can NOT simply put the XML parser into the deployment package and expect it to be used. Java and web app servers have a "feature" in which the XML parser is loaded for the entire JVM and an application can NOT override it - it is set for everyone. Since this application has to be deployable into different environments where the XML parser can not be guaranteed, this is not an option so the later solution was chosen. This solution requires that the application know about its content and somehow know which files need to be processed for Xinclude statements. It also meant development and the ongoing maintenance of the code.