[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XInclude in Cocoon

Subject: Re: XInclude in Cocoon
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Tue, 6 Feb 2001 20:13:07 +0000
cocoon wholesaler
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.