[relaxng-user] @name|name

Eric van der Vlist vdv at dyomedea.com
Mon Nov 3 20:56:18 ICT 2003

On Mon, 2003-11-03 at 20:43, David Tolpin wrote:
> Hi,
> If an element node has both ./@name and ./name, is it an error or are they combined?

If you mean a pattern element, it's an error, but you can explicitly
combine two name name classes through a "choice", for instance:


Read me on XMLhack.
Upcoming schema tutorial:
 - Philadelphia (7/12/2003)       http://makeashorterlink.com/?V28612FC5
Tutoriel XSLT:
 - Paris (25/11/2003)             http://makeashorterlink.com/?L2C623FC5
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema

More information about the relaxng-user mailing list