[prev in list] [next in list] [prev in thread] [next in thread]
List: xsl-list
Subject: Re: [xsl] xml fragment to string
From: David Carlisle <davidc () nag ! co ! uk>
Date: 2010-06-30 10:13:56
Message-ID: 4C2B18E4.70002 () nag ! co ! uk
[Download RAW message or body]
On 30/06/2010 11:04, Steven Hentschel wrote:
> Are there are other better approaches? Is there a way of dealing with mixed
> content?
>
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
david
________________________________________________________________________
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.
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@lists.mulberrytech.com>
--~--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic