XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Hans-Peter KüchlerSubject: using XML Schema default values
Author: Hans-Peter Küchler
Date: 31 Oct 2001 06:25 AM
Hi,
when using XML-Schema with default values for attributes and/or elements, the transformation result shows no default values! The description in XML Schema Part 0, 2.2.1 Occurrence Constraints says that a "schema processor" should provide the default attributes/element values. Is the stylus XSLT processor a "schema processor"? Examples for attribute and element default values are in the ZIP file.
Hans-Peter Küchler


Applicationstylus.zip
ZIP with stylus project and files

Postnext
(Deleted User) Subject: Re: using XML Schema default values
Author: (Deleted User)
Date: 31 Oct 2001 09:57 AM
Hi Hans-Peter,

At 06:33 AM 10/31/2001 -0500, you wrote:
>From: "Hans-Peter Küchler"
>
>Hi,
>when using XML-Schema with default values for attributes and/or elements,=
>the transformation result shows no default values! The description in XML=
>Schema Part 0, 2.2.1 Occurrence Constraints says that a "schema processor"=
>should provide the default attributes/element values. Is the stylus XSLT
>processor a "schema processor"?

No, currently the Stylus XSLT processor is not a "schema processor"; it
doesn't read the XMLSchema associated with the input XML file to infer
default values (it only uses the default attribute value informations
coming from a DTD). We plan to add this functionality in the near future.

Thanks for the report,

Alberto

Postnext
Bruce WallaceSubject: Re: using XML Schema default values
Author: Bruce Wallace
Date: 11 Feb 2002 03:21 PM
Did this ever get implemented?
I have the same problem with 3.1build69k

Posttop
(Deleted User) Subject: Re: using XML Schema default values
Author: (Deleted User)
Date: 11 Feb 2002 03:51 PM
Hi Bruce,

At 15.31 11/02/2002 -0500, you wrote:
>From: "Bruce Wallace"
>
>Did this ever get implemented?

Not yet, as it is part of the upcoming XSLT 2.0 specs (see
http://www.w3.org/TR/xslt20/#xml-output ). It will be implemented when the
Stylus processor will be upgraded from XSLT 1.0 to XSLT 2.0.

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.