Subject: RE: Insert elment in XSD
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 28 Feb 2008 14:22:35 -0000
|
> Instead of use 'article' like in your solutions, I need to use $class
>
> <xsl:template match="xs:element[@name=$class]/xs:complexType/xs:all">
>
> but occurs an error and I don't know how correct it
>
>
> Somebody could help me?
>
What, without seeing the error message?.
A guess, you're using an XSLT 1.0 processor, which doesn't allow variables
in match patterns.
Michael Kay
http://www.saxonica.com/
|