|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Fw: I need < - I get <
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.
Share & Enjoy,
Oren Ben-Kiki
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








