Re: [xsl] xml fragment to string

Subject: Re: [xsl] xml fragment to string
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 30 Jun 2010 11:13:56 +0100
On 30/06/2010 11:04, Steven Hentschel wrote:
Are there are other better approaches? Is there a way of dealing with mixed

there are more complete versions of that (handling namespaces etc) (eg google for verb.xsl will lead you to an old one of mine in DaveP#s faq for this list. The code you posted would do mixed content if you removed the select="*" on the apply template so you applied templates to all children, not just elements.

Or saxon (if you are using that and have a version with extension functions enabled) has a saxon:serialize function


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________

Current Thread