|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Attribute's default value in xsd doesn't show in x
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: 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
|
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








