[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XInclude in Cocoon
On Tue, 06 Feb 2001, Bill wrote: > I was playing with XInclude in Cocoon 1.8.2 over the weekend. It's neat. > > You declare the XInclude namespace in your XML file, then you can use it at > least three ways: > > Wholesale include of an XML file. Do you have to strip the XML Declaration and the DocType Declaration from an XML file before letting it be included? Or can you leave them on? What happens if the file you include is not syntactically valid wrt the DTD of the file you're including it in? > Wholesale include of a text file. (you use the parse attribute of the > include element to control this) Useful. > Or the inclusion of a some nodes from an XML file specified by an XPath > expression. This is the killer app. Lawyers can now include boilerplate on the fly :-) You can publish a document which consists entirely of links to fragments of other document scattered throughout cyberspace... ///Peter XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|