xsl-list
[Top] [All Lists]

Re: To avoid converting html entities

2005-06-08 08:33:06


  If the html entities have already been parsed as <> etc by the xml
  parse, and the xsl processor has to output it in reverse, then I'm
  afraid that's not happening in my case.

ah, I forgot to say, inside an attribute the reverse mapping will only
be done in xml output, it's not done in html output as  it's not needed
there.

in xml <input value="LX,LX,,,,243,...<..." > would be a fatal error, in
html
<input value="LX,LX,,,,243,...<..." > 
and
<input value="LX,LX,,,,243,...&lt;..." > 
are equivalent.

So if you are writing html, you shouldn't care, if you do care perhaps
you want to write XML, in which case add
<xsl:output method="xml"/>
to your stylesheet.

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>
--~--