xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Where is the attribute?


Subject: RE: [xsl] Where is the attribute?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 17 Dec 2004 17:17:23 -0000

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: [xsl] 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'???


Current Thread
Keywords
xsl
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor