RE: Converting XML <link> to HTML anchor

Subject: RE: Converting XML <link> to HTML anchor
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Wed, 8 Dec 1999 22:49:54 -0700
Michael Teigman wrote:
> I have an xml like this:
>
> <text>
>     <p>Text1</p>
>     <p>Text2 <link href="link1">label1</link></p>
>     <p><link href="link2">label2</link></p>
>     <p>Text3 <link href="link3">label3</link> text4 <link
> href="link4">label4</link> text 5</p>
> </text>

I wrote:
> <xsl:template match="link">

Brett McLaughlin axed:
> Shouldn't this be <xsl:template match="a">?

No, there are no elements named 'a' in the source tree to match.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread