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
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Roger PowellSubject: Add comments in XML instance about compositors
Author: Roger Powell
Date: 18 Jan 2005 09:55 AM
This one could be implemented in seconds.

Having defined a schema containing a compositor (e.g. all, choice or sequence)
the "Documentation" contains an empty instance example with a comment
above the compositor stating its type.

When you start with an empty XML document and then associate it with that
schema, Stylus Studio provides the skeletal tag structure from the schema
but it includes all the tags from a <xsd:choice>, in just the same way it
would for any other compositor.

Why not annotate this XML instance structure with comments as you do with the documentation,
e.g. <!-- Choice --> or whatever is relevant?

Thx,

Roger Powell
Senior Lecturer, Brunel University

Posttop
Minollo I.Subject: Re: Add comments in XML instance about compositors
Author: Minollo I.
Date: 18 Jan 2005 10:10 AM
It makes a lot of sense. Thanks for the suggetion,
Minollo

 
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.