Subject: RE: How to declare a param which name is in a XML file? From: Don Bruey <dbruey@xxxxxxxxxxxxxxxxxxxxx> Date: Thu, 26 Oct 2000 09:12:37 -0400 |
See the doc for <xsl:param> http://www.w3.org. Briefly, <xsl:param> is not valid where you have it. It can only be a top-level element or a child of <xsl:template>. It's not clear to me what you are trying to accomplish with your XSL code. If you are more detailed about what you want to happen, someone might point you in the right direction. Don >-----Original Message----- >From: Cesar Hernandez Fuente [mailto:chernandez@xxxxxxxxxxx] >Sent: Thursday, October 26, 2000 7:53 AM >To: ListaXSL >Subject: How to declare a param which name is in a XML file? > > >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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: How to declare a param which n, Kay Michael | Thread | Re: How to declare a param which n, Gary L Peskin |
dynamic name/value pairs on URL usi, Brennan OShea | Date | Re: XSLT text output - better forma, Joseph Kesselman/Wat |
Month |