Re: [xsl] REPOST: Applying Templates to document loaded with document() function

Subject: Re: [xsl] REPOST: Applying Templates to document loaded with document() function
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Mon, 22 Apr 2002 19:42:47 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What's the problem?  This should work:

<xsl:template match="/">
  <!-- this is all you should need; put this somewhere in tutorial.xsl -->
  <xsl:apply-templates select="/StageList/Stage/AuthorList/Author"/>
</xsl:template>

<xsl:template match="Author">
  ...
</xsl:template>

On Monday 22 April 2002 19:27, Kunal H. Parikh wrote:
> I have an XML file called stage.xml which refers to Authors and I wish
> to apply the template of Authors to the nodes in StageList/Stage/Author.

- -- 
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8xMoqNSZCJx7tYycRAn25AKDWy7pR+tsJ9/m6xAOSjTCnhm9HuQCffLWT
7QrFqoI6PzfOQTeMrsykUSo=
=VpnL
-----END PGP SIGNATURE-----


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


Current Thread