Subject: Re: [xsl] xsl-element not allowed directly below xsl-stylesheet? From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx> Date: Tue, 13 Aug 2002 09:25:32 +0000 |
<xsl:attribute-set> <xsl:decimal-format> <xsl:include> <xsl:key match> <xsl:namespace-alias> <xsl:output> <xsl:param> <xsl:preserve-space> <xsl:strip-space> <xsl:template> <xsl:variable> ________________
The following code will help you.. for example if your xml looks like <?xml version="1.0"?> <root> <form1>form1</form1> <form2>form2</form2> <form3>form3</form3> </root>
<?xml version="1.0" encoding="UTF-16" ?> <forms> <form1>form1</form1> <forms2-3>form2form3</forms2-3> </forms>
Hope this helps Vasu
From: "Christer Nordvik" <christer.nordvik@xxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] xsl-element not allowed directly below xsl-stylesheet? Date: Tue, 13 Aug 2002 10:33:02 +0200
I have an XSL stylesheet that have the structure:
<xsl:stylesheet>
<xsl:template match="form1"> ... </xsl:template>
<xsl:template match="form2"> ... </xsl:template>
<xsl:template match="form3"> ... </xsl:template>
</xsl:stylesheet>
And now I need an element tag that starts before form2 and ends after form3. But when I try to include an <xsl:element> before the <xsl:template> tag I get an error saying that <xsl:stylesheet> can't contain <xsl:element> tags.
Is there any other way of specifying an element?
Best Regards,
Christer Nordvik
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl-element not allowed d, Jeni Tennison | Thread | [xsl] variable from file, alex ek |
Re: [xsl] Tabs, sascha | Date | Re: [xsl] Multiple Values/Arrays in, Vasu Chakkera |
Month |