[Home] [By Thread] [By Date] [Recent Entries]

Subject: Where is the attribute?
From: "Robert Soesemann" <rsoesemann@xxxxxxxxxxx>
Date: Fri, 17 Dec 2004 17:13:05 +0100
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'???

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member