Subject: RE: [xsl] <sub> into xsl From: Jarno.Elovirta@xxxxxxxxx Date: Mon, 11 Nov 2002 10:22:38 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] <sub> into xsl, Michael Kay | Thread | [xsl] how to add a </tr> on every p, Thomas Sandor |
[xsl] <sub> into xsl, Johannes . Becker | Date | [xsl] how to add a </tr> on every p, Thomas Sandor |
Month |