Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: advice on xmlns requested [Thread Next] 2 and only 2 level nested anonymous elementsTo: xmlschema-dev@--.--- Date: 7/29/2004 7:53:00 PM Hi, Do any of you know an elegant way in XML Schema to declare 2 and only 2 level nested anonymous elements, which the second level elements must have a "xs:ID" type attribute? For example: <xf:instance> <my:paper xmlns:my="http://test.org"> <my:author_name id="author_name"/> <my:paper_title id="paper_title"/> </my:paper> </xf:instance> Within xf:instance, there must be 2 level nested elements and I don't know elements name, like my:paper, my:author_name, my:paper_title. In addition, the second level elements my:author_name and my:paper_title must have attribute id whose type is xsd:ID. Your advice and an example or reference would be much appreciated! Thanks, - Yankui From nobody@w... Thu Jul 29 19:13:49 2004 Return-Path: < | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
