Subject: RE: [xsl] Attribute's default value in xsd doesn't show in xslt From: "Eran Hammer-Lahav" <xalan@xxxxxxxxx> Date: Thu, 29 May 2003 11:42:08 -0400 |
Since the example works when an explicit attribute value is set, it means Xalan found the abc namespace. However, adding this code still doesn't yield the desired result. Default values still won't work. Any other ideas? Thanks. EL -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Oleg Tkachenko Sent: Thursday, May 29, 2003 12:16 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Eran Hammer-Lahav wrote: > I have replaced my abc.xml with the code you provided and it still doesn't > recognize the default value from the abc.xsd. Also, you wrote 'xsi:schemaLocation="abc > abc.xsd"', what is the syntax of "abc abc.xsd"? See http://www.w3.org/TR/xmlschema-0/#schemaLocation "The schemaLocation attribute contains pairs of values: The first member of each pair is the namespace for which the second member is the hint describing where to find to an appropriate schema document." Make sure abc.xsd can be found. -- Oleg Tkachenko http://www.tkachenko.com/blog Multiconn Technologies, Israel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Attribute's default value, Oleg Tkachenko | Thread | [xsl] Display XML as excel spreadsh, rajith r |
[xsl] compiling in xsl, abbouh | Date | RE: [xsl] Re: Flat -> Hierarchy ---, Lars Huttar |
Month |