- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Tue, 26 Feb 2002 18:32:56 +0000
- To: Oleg Tkachenko <olegt@multiconn.com>
- CC: xmlschema-dev@w3.org
Hi Oleg, > Can I restrict length of an element name in w3 schema? You mean so that you can create a schema in which people use whatever elements they like, but the names have to be below a certain length? I'm afraid that the only wildcard that's supported by XML Schema is xs:any, which only allows you to restrict the included elements by their namespace, not by the length of their name. I think that the only kinds of schema languages that would enable you to place are those based on XPath, such as Schematron. You could always include some Schematron within your XML Schema, to express the constraint. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
Received on Tuesday, 26 February 2002 13:33:01 UTC