OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]
  • From: =?UNKNOWN?Q?Jos=E9?= Manuel Beas <jmbeas@telenium.es>
  • To: XML-DEV <xml-dev@lists.xml.org>
  • Date: Thu, 26 Oct 2000 16:27:54 +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!
José Manuel Beas
--
Nosotros, los andaluces, hablamos el español
  "sin las dificultades propias del idioma".
              - Manuel Machado -






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS