[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: [sly] REPOST: Applying Templates to document loade

Subject: RE: [sly] REPOST: Applying Templates to document loaded with document() function
From: "Kunal H. Parikh" <kunal@xxxxxxxxxx>
Date: Wed, 24 Apr 2002 08:55:10 +1000
 RE: [sly] REPOST: Applying Templates to document loade
Hi !

The output that I get does not replace the AUTHOR element inside the the
Stage.xml.

I tried doing a xsl:call-template but that didn't quite work either.

I am using msxml4. Do you think that's where the problem lies ?


Thanks for your help,

Kunal

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Peter Davis
Sent: Tuesday, 23 April 2002 12:43
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  REPOST: Applying Templates to document loaded with
document() function

-----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



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.