|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: <sub> into xsl
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








