[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|