Re: [xsl] Writing a stylesheet to create another XML Document

Subject: Re: [xsl] Writing a stylesheet to create another XML Document
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Sat, 6 Apr 2002 18:25:55 +0100
Hi Kunal,

> According to your email, I have modified the files (Included)
>
> However, I don't get any output .... in IE 6.
>
> Do I need to use another XML Parser instead of MSXML ?

Sorry, I accidentlly missed off a $ -- in the template, you need to
access the value of the $authors global variable:

<xsl:template match="Author">
  <xsl:variable name="id" select="@id" />
  <xsl:copy-of select="$authors[@id = $id]" />
</xsl:template>

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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


Current Thread