- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 17 Mar 2003 08:39:07 +0000
- To: Sam Carleton <sam@linux-info.net>
- Cc: xmlschema-dev <xmlschema-dev@w3.org>
Sam Carleton <sam@linux-info.net> writes: > I have a simply Q. I have an XML document destine to be transformed > into a XHTML page. Within this XML document there is one element > named <definition> which contains XHTML that will simply be copied > from the XML to the XHTML page. How do I go about defining the > definition element so that it can contain XHTML but not any old > element? Use a wildcard with the XHTML namespace as its namespace constraint: <xs:any namespace="http://www.w3.org/1999/xhtml"/> ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Monday, 17 March 2003 03:39:10 UTC