This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Writing a stylesheet to create another XML Document
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: "Kunal H. Parikh" <kunal at kaypee dot net>
- Cc: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 6 Apr 2002 18:25:55 +0100
- Subject: Re: [xsl] Writing a stylesheet to create another XML Document
- Organization: Jeni Tennison Consulting Ltd
- References: <000001c1da76$85d528e0$262832d2@kaypee>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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