[Home] [By Thread] [By Date] [Recent Entries]

  • From: Kohsuke KAWAGUCHI <kohsukekawaguchi@y...>
  • To: Martin Gudgin <marting@d...>
  • Date: Sun, 20 May 2001 12:39:01 -0700


> So what would you do with the following XML document?
> 
> <p:book xmlns:p='urn:x1'>
>   <p:title>The Hobbit</p:title>
>   <p:genre>Fantasy</p:genre>
>   <p:author>
>     <p:title>Dr</p:title>
>     <p:familyName>Tolkien</p:familyName>
>   </p:author>
> </p:book>
> 
> All the elements are namespace qualified. How do you distinguish between the
> two title elements?

I suppose the following instance obeys the "unqualified-local" doctrine.

<p:book>
  <title />
  <genre/>
  <author>
    <title/>
    <familyName/>
  </author>
</p:book>

Then how do you distinguish between the two title elements?


regards,
----------------------
K.Kawaguchi
E-Mail: kohsukekawaguchi@y...


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member