Hi,
> I want to extract a sub tag from xml into xsl:
> e.g. it should look like this in the xsl: O<sub>2</sub> Login.
> My data in the xml: <frameTop name="O<sub>2</sub> Login"/>
>
> With a <xsl:value-of select ... in the xsl I get this as an
> output in the
> browser: O<sub>2</sub> Login
>
> What am I doing wrong?
You're trying to write an XML parser in XSLT.
Change your approach, stick the frameTop/@name content into an element as XML, not as a string - e.g. as <frameTop><name>O<sub>2</sub> Login</name></frameTop>.
Cheers,
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|