Hi,

On Mon, 2005-05-30 at 09:45 +0200, Morten W. J. wrote:

[...]

> 2. Is there a way to copule a attribute definition together with a element 
> declaration? That is,  i would like to define that element "node" must have 
> attribute "type" with a value from a enumeration, and depending on the value 
> of "type" a specific ELEMENT declaration shall be selected. For example: 

[...]

Take a look at schematron... although it's not implemented in Libxml2.
But maybe you can find someone to implement it.

http://xml.ascc.net/resource/schematron/schematron.html
http://www.schematron.com/spec.html

Regards,

Kasimier
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to