|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Where is the attribute?
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/ > -----Original Message----- > From: Robert Soesemann [mailto:rsoesemann@xxxxxxxxxxx] > Sent: 17 December 2004 16:13 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Where is the attribute? > > 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'???
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








