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

Re: Fw: I need < - I get &lt;

Subject: Re: Fw: I need < - I get &lt;
From: Tyler Baker <tyler@xxxxxxxxxxx>
Date: Tue, 02 Feb 1999 18:30:01 -0500
xsl cdata lt
Oren Ben-Kiki wrote:

> Nic Williams <nwilliam@xxxxxxxxxxxxxxxxxxxxx> wrote:
> <xsl:template match="UNIQUEMEMBER/DN/MAIL" priority="1">
>  <xsl:cdata>&lt;LI>&lt;A HREF="mailto:</xsl:cdata>
>  <xsl:apply-templates/>
>  <xsl:cdata>"></xsl:cdata>
> </xsl:template>
>
> You need:
>
> <xsl:template match="UNIQUEMEMBER/DN" priority="1">
>  <LI> (or <xsl:element name="LI">)
>  <xsl:element name=A">
>     <xsl:attribute name="href">
>         <xsl:text>mailto:</xsl:text>
>         <xsl:value-of select="MAIL"/>
>     </xsl:attribute>
>     <xsl:value-of select="CN"/>
>  </xsl:element>
>  </LI> (or </xsl:element>)
> </xsl:template>
>
> The "<xsl:cdata>" tag isn't in the draft. It's a Microsoft extension. The
> standard XSL tags are perfectly adequate for emitting valid XML output.

They are convenient and I think that in addition to xsl:cdata, xsl:entity-ref
is a perfectly good addition to XSL that will be useful to XSL users in the
future.  I am surprised these two template element additions did not make it
into the last draft...

Tyler


 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.