xsl-list
[Top] [All Lists]

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

2006-05-27 13:51:50

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
________________________________________________________________________

--~------------------------------------------------------------------
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>