xsl-list
[Top] [All Lists]

RE: [xsl] Insert elment in XSD

2008-02-28 07:23:21
Instead of use 'article' like in your solutions, I need to use $class

<xsl:template match="xs:element[(_at_)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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--