Subject: [xsl] trying to set a parameter equal to an elements attribute From: "Noel Golding" <noel@xxxxxxxxxxxxxxx> Date: Wed, 21 Aug 2002 16:39:54 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] sorting a subset of eleme, James Fuller | Thread | Re: [xsl] trying to set a parameter, Noel Golding |
[xsl] sorting a subset of elements, Noel Golding | Date | Re: [xsl] How do I do this?, Mike Brown |
Month |