Oops! you right! The problem is that attribute value becomes part of
JavaScript variable.
How do I specify "text" output method for separate parts of the document?

Thanks
-----Original Message-----
From: Roger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 5:25 AM
To: Sablotron Mailing List
Subject: AW: [Sab] What output method to use?



Hi Nick
Why should it change to &. Even in HTML source code it should be & -
only when someone watches it with a browser should it turn into &!
Bye
Roger




Hi there.

Please, get me an idea why attribute values are not un-escaped in the "html"
output method.
I have the <Branch name="M &amp; S Oxygen"> in my xml which I expect to turn
into <Branch name="M & S Oxygen"> after transformation but this does not
happen.

This is the beggining of my stylesheet.

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
        <xsl:output method="html"/>
        ...

Version tested = 5.0

Any ideas are appreciated.

Regards,
Nick Semenov

Reply via email to