xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Federico Kolliker Frers" <ffr...@austin.apc.slb.com>
Subject Reuse string constants
Date Fri, 22 Jun 2001 16:55:35 GMT
    Is there a way to define constants in XML Schemas a reuse them in
other places.
I want to do something like this (look that in the "order" pattern I want to
reuse de "vcdef" pattern):

<simpleType name="vcdef">
  <restriction base="string">
   <pattern value="col=[\w\.]{0,8}"/>

 <simpleType name="order">
  <restriction base="string">
   <pattern value="(\w{1,10})|(vcdef([,;]vcdef)*)"/>

Thank you.


In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message