xsl-list
[Top] [All Lists]

Where is the attribute?

2004-12-17 09:13:05
In my xsl I have this fragment. In the ouput the second line does not
get any output.
What am I doing wrong?

XSL:
----
...
<NODE><xsl:copy-of select="$xsd-match-node"/></NODE>
<MIN><xsl:value-of select="$xsd-match-node/@minOccurs"/></MIN> 
...

XML:
----
- <NODE xmlns:xs="http://www.w3.org/2001/XMLSchema";>
        <xs:element name="company" type="xs:string" minOccurs="1" /> 
  </NODE>
  <MIN xmlns:xs="http://www.w3.org/2001/XMLSchema"; /> <<-------- Why is
there no '1'???

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>