[Home] [By Thread] [By Date] [Recent Entries]
> 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...
|

Cart



