Re: {attribute(FOO)} question (plus a few more)

Subject: Re: {attribute(FOO)} question (plus a few more)
From: James Clark <jjc@xxxxxxxxxx>
Date: Wed, 30 Sep 1998 13:48:00 +0700
Henri wrote:

> I would like to take
> <A HREF="http://www.eas.asu.edu/~cse294";>Introduction to Java</A>
> 
> and output:
> 
> Introduction to Java <I>http://www.eas.asu.edu/~cse294</I>
> 
> The only tool I have tried to use is KOALA and it doesn't like (ignores) my
> usage of:
> <xsl:template match="A">
> <xsl:process-children/> <I>{attribute(HREF)}</I>
> </xsl:template>

Use 

<xsl:template match="A">
<xsl:process-children/> <I><xsl:value-of expr="attribute(HREF)"/></I>
</xsl:template>

James


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


Current Thread