[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

How to declare a param which name is in a XML file?


Subject: How to declare a param which name is in a XML file?
From: "Cesar Hernandez Fuente" <chernandez@xxxxxxxxxxx>
Date: Thu, 26 Oct 2000 13:53:11 +0200

I have a XML file with a parameter definition zone.

<parameters>
  <param ident="param1">
  <param ident="param2">
</parameters>

And i want to apply a XSLT file to this XML file
 
XSLT File

	<xsl:template match="parameters">
		<xsl:for-each select="param">
			<xsl:param name="@ident"/> 
		</xsl:for-each>
	</xsl:template>

But when XSLT-parser(SAXON) processes it, shows this error:

	"Name @ident contains invalid characters"

How should i solve this problem??


Thanks!


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



Current Thread
Keywords