Subject: Re: [xsl] is this valid <xsl:template match="@id"> ? From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Thu, 02 Jan 2003 23:13:31 +0100 |
thanks Joerg. it worked...
Can you tell why is this restriction ? When we create CHILD ELEMENT or ATTRIBUTE using DOM, the order did not seem to matter...
regards
Saravanan L
Tuesday, December 31, 2002 6:07 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx cc: From: Joerg Heinicke <joerg.heinicke@xxxxxx> Subject: Re: [xsl] is this valid <xsl:template match="@id"> ?
Hello Saravanan,
you can not create an attribute after an element, so change
> <xsl:template match="Item"> > <xsl:element name="Item"> > <xsl:apply-templates select="Name"></xsl:apply-templates> > <xsl:apply-templates select="@ID"></xsl:apply-templates> > </xsl:element> > </xsl:template>
to
> <xsl:template match="Item"> > <xsl:element name="Item"> > <xsl:apply-templates select="@ID"></xsl:apply-templates> > <xsl:apply-templates select="Name"></xsl:apply-templates> > </xsl:element> > </xsl:template>
Regards,
Joerg
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] is this valid <xsl:templa, SLakshman | Thread | Re: [xsl] is this valid <xsl:templa, Niko Matsakis |
[xsl] Join operation with a csv key, drsystems | Date | Re: [xsl] is this valid <xsl:templa, Niko Matsakis |
Month |