Re: [xml-dev] XML Schemas

[ Lists Home | Date Index | Thread Index ]


> Is it even possible to put restrictions based on attributes?

XSD and DTD can't constrain the content of an element based on an
attribute. You can express this using Relax NG schema (or schematron or
several other possible technologies)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

  • References:
    • XML Schemas
      • From: Richard Lainchbury <freexe@gmail.com>



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS