Re: [xsl] Serializing document fragment without using extensions

Subject: Re: [xsl] Serializing document fragment without using extensions
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 30 Sep 2010 12:11:14 +0200
Heiko Niemann wrote:

I need to put a document fragment (probably held by a temporary tree) into
a CDATA section. So I am looking for a way to serialize it. All I could
find were extensions - e.g. saxon:serialize() - doing the job. Sadly I
will not be able to use them. Is there a way to get this done with XSLT
2.0 without using extensions?

There are certainly stylesheet around that do that, see http://lenzconsulting.com/xml-to-string/ for instance.


--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread