Home
 


XInclude
Importing links

The standard was developed for including parts of one document into another. It was originally designed for client-side processing. The standard has been fluctuating between being an attribute namespace and an element one.

There are two parameters

xinclude:href the url of the document to load
xinclude:parse is the file text or xml?

I take advantage of the standard by using Cocoon's built-in XInclude Processor to import the LinkBase file into my document when it finds a <linkbase xinclude:href="../linkbase/hrc.xml" parse="xml" /> tag.

 
About the site