Re: [xsl] Attribute's default value in xsd doesn't show in xslt

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 09:22:21 -0400
Thanks for your quick reply. Can you tell my how I can modify my code to
turn validation on? I am using xalan from the command line, not through
the Java API.

Thanks.

EL

>-- Original Message --
>Date: Thu, 29 May 2003 09:51:06 +0200
>From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
>To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>Subject: Re: [xsl] Attribute's default value in xsd doesn't show in xslt
>Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>
>
>Eran Hammer-Lahav wrote:
>
>> Can someone please explain to me how come the default value I have set
>in
>> abc.xsd doesn't get into the abc.xslt? If I understand it correctly,
I
>should
>> get a result text file of 'bbbbb' but it comes out empty. If I use abc2.xml
>> I get 'aaaaa' which shows the example works but not the default value.
>
>Make sure the schema is used by the parser, e.g. turn on validation.
>-- 
>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