Re: [xsl] Re: <xsl:element> and literal elements

Subject: Re: [xsl] Re: <xsl:element> and literal elements
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 27 May 2006 21:50:14 +0100
> I don't like
>   the idea of literal text containing angle brackets that turn into
>   elements in the output data; it seems a little confusing. 

That would be confusing but isn't what happens. The XSLT stylesheet is a
parsed tree of element nodes, and it is (some of these) nodes coming
from the literal result elements that get copied to the result tree.
If you have text coming from a text node or a string then it doesn't get
turned into elements unless you call an extension function to use an xml
parser on it.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread