[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Fw: I need < - I get <
Oren Ben-Kiki wrote: > Nic Williams <nwilliam@xxxxxxxxxxxxxxxxxxxxx> wrote: > <xsl:template match="UNIQUEMEMBER/DN/MAIL" priority="1"> > <xsl:cdata><LI><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
|
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
|