Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Q: attribute default name space [Thread Next] Re: Q: attribute default name spaceTo: NULL Date: 5/31/2004 11:48:00 AM yf110@v... (Malcolm Dew-Jones) writes: > The parser shows that mytag is in "my/default/name/space", and > > `mine:attr1' is in "my/default/name/space" > `theirs:attr1' is in "Some/one/elses/name/space". > `attr1' is not in a name space > > > Is there a "correct" way to interpret this? If by 'interpret' you mean 'associate each attribute with a namespace (or not, as the case may be)', the correct interpretation is the one you reproduce. If by 'interpret' you mean something else, like mapping into some appliction semantics, then that depends on the definitions of the elements and attributes you are using. > Which attribute should be > associated with the tag? All of the attributes should be associated with the element. All of them occur on the element's start-tag. You don't need to choose among them. I hope this helps. -C. M. Sperberg-McQueen World Wide Web Consortium / MIT CSAIL | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
