|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: href's in xml node data
Hi,
> I've serached the archives et al., as well as looked through all the
> reference books and such I can find but can't seem to find an
> answer as to
> if the following is possible to transform through xsl a document that
> contains things such as hrefs and mailto in a document data
> node, such as
> the following.
b& yes it's possibilebwhat do you want the result document to look like?
> If it is possible, how would it be done?
E.g.
<xsl:template match="test">
<h1>
<a href="maito:{email}">
<xsl:value-of select="author"/>
</a>
</h1>
<p>
<xsl:apply-templates select="content/node()"/>
</p>
</xsl:template>
<xsl:template match="a">
<a href="maito:{email}">
<xsl:apply-templates />
</a>
</xsl:template>
Cheers,
Jarno - Madam Zu: September 2002 Mix
|
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








