[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xml and xslt to html attribute problems

Subject: Re: xml and xslt to html attribute problems
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Wed, 29 Oct 2003 10:24:33 +0100
xsl produce html attributes
Emmanuil Batsis (Manos) wrote:

Thats not XML. But


<topic name="Mygreatlongword&lt;br&gt;onabeautifulmorning">


is OK and using


<td>    <xsl:value-of select="@name"/>
</td>



will produce



<td>
   Mygreatlongword
   <br>
   onabeautifulmorning
</td>


You may want to read about predefined XML entities.

Well, it would produce


<td>
   Mygreatlongword&lt;br>onabeautifulmorning
</td>

Lesson: don't put markup into text content.

Julian


-- <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.