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

Re: 'Templates' in XML Schema?

  • From: Kohsuke KAWAGUCHI <kohsukekawaguchi@y...>
  • To: "Zehavi, Gil" <Gil_Zehavi@i...>
  • Date: Mon, 06 Aug 2001 11:06:14 -0700

templates in xml

> I have in my instance document many elements that have an attribute that
> recieves an integer value. This integer value should be validated to be in a
> certain range (different range for each element). I know I can define in the
> XML schema a validation element for each element (and the attribute) using
> the minInclusive and maxInclusive. What I want to know is whether I can
> define in the schema some kind of a template that can get the minInclusive
> and maxInclusive as parameters (so for each element I can only specify the
> min and max values instead of writing the whole definition of complexType
> that contains attribute that is a simpleType with min and max values, and so
> on)?

Define your template XML, then write an XSLT and convert it to XML

E-Mail: kohsukekawaguchi@y...


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.
First Name
Last Name
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.