[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Use of "ANY"


when to use xsd any
Sorry if this comes through twice as I'm not sure if my last post went 
through. I'm not used to having to hit "reply all" for thist list.

----

Yes, thanks for the correction. I was mistaken about DTD's "ANY" in that the 
contents of the element still has to be declared tags. I had gotten it 
confused with <xsd:any> in which the content needs only to be well-formed.

Let me rephrase:

  I'd like to use <xsd:any> to allow users to place presentation tags within 
certain elements without my specifying exactly which presentation tags they 
are allowed to use. Is this an acceptable practice?

  By "acceptable", I mean:
  1) is this explicitly prohibited or recommended by good practice?
  2) would the use of <xsd:any> be viewed as "unfinished" and thus work 
against against the schema's acceptance by some body such as OASIS?

  Furthermore, if the use of <xsd:any> in this way is not acceptable, then 
what are some acceptable uses of <xsd:any>, and what other mechanisms are 
there to allow users to extend the schema?

I-Lin Kuo
Macromedia Certified ColdFusion 5.0 Advanced Developer
Sun Certified Java 2 Programmer
Ann Arbor, MI


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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