Re: [xsl] Breaking up a large XML document into several smaller ones

Subject: Re: [xsl] Breaking up a large XML document into several smaller ones
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 11 Jan 2008 16:06:56 +0100
Glen Mazza wrote:

Can this be done via XSLT, or would a SAX-based solution be more
appropriate, or?

You can use it with XSLT 2.0 and xsl:result-document (<URL:http://www.w3.org/TR/xslt20/#creating-result-trees>) or with XSLT 1.0 and an extension to construct multiple result documents. On the other hand it is not difficult to solve the task in a streaming way for instance with APIs like XmlReader and XmlWriter in .NET.



--


	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread