|
Subject: RE: [xsl] href's in xml node data From: <Jarno.Elovirta@xxxxxxxxx> Date: Wed, 12 May 2004 07:32:00 +0300 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] href's in xml node data, Crawford, Bradley | Thread | RE: [xsl] href's in xml node data, Crawford, Bradley |
| RE: [xsl] order-by in WD-xsl?, Myee . Riri | Date | RE: [xsl] href's in xml node data, Crawford, Bradley |
| Month |