Perhaps $xsd-match-node is not the xs:element element, but a document node
that's the parent of the xs:element element. Certainly if this were the case
it would explain your output.
Michael Kay
http://www.saxonica.com/
Try the following to test Michaels suggestion:
<MIN><xsl:value-of select="$xsd-match-node/xsl:element/@minOccurs"/></MIN>
Cheers
--~------------------------------------------------------------------
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>
--~--