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

Re: trying to set a parameter equal to an elements att

Subject: Re: trying to set a parameter equal to an elements attribute
From: "Noel Golding" <noel@xxxxxxxxxxxxxxx>
Date: Wed, 21 Aug 2002 16:54:06 -0400
Re:  trying to set a parameter equal to an elements att
other than forget the end xsl:param tag?

----- Original Message -----
From: "Noel Golding" <noel@xxxxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, August 21, 2002 4:39 PM
Subject:  trying to set a parameter equal to an elements attribute


> when I apply the following transformation I get a blank output. can anyone
> tell me what I am doing wrong?
>
> <!-- XML FILE -->
> <root>
>     <header volume="8"/>
>
>     <article>
>         <para>
>             Some text here
>        </para>
>     </article>
> </root>
>
> <!-- XSLT FILE -->
> <xsl:stylesheet version="1.0" xmlns:xsl="">
>     <xsl:template match="root">
>         <xsl:param name="vol"><xsl:value-of select="header[@volume]"/>
>     </xsl:template>
> </xsl:stylesheet>
>
>
>
>
> Thanks
> Noel
>
>
>  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.