xsl-list
[Top] [All Lists]

Re: How do I output script imbedded in my xsl ?? my (>) is not coming thru correctly

2005-05-20 14:57:41

script is just text as far as XSLT is concerned, you can output it just
as you would any other text.

If you are using the html output method (the default if the top level
element is html in no-namespace) then the script element is output as a
CDATA element which means that < and & will be output as < and &.

XML does not have CDATA elements so if you are outputting xhtml < and &
will be output as &lt; and &amp; which is correct for xhtml.

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>