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: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Thu, 29 May 2003 09:51:06 +0200
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



Current Thread