Re: [xml] <!ELEMET declarations
- From: Kasimier Buchcik <kbuchcik 4commerce de>
- To: "Morten W. J." <morten newtec dk>
- Cc: "xml gnome org" <xml gnome org>
- Subject: Re: [xml] <!ELEMET declarations
- Date: Mon, 30 May 2005 14:38:18 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]