[Home] [By Thread] [By Date] [Recent Entries]
So what does one pass to XPath in order
to extract an element?
Are you supposed to know what prefix is going to be
used?
--- Chiusano Joseph <chiusano_joseph@b...> wrote:
> The namespace identifiers in your 2 response
> examples are the same - the
> difference is the prefix used ("n" vs. "u"). So I
> think your question
> should be regarding why 2 different namespace
> prefixes appear.
>
> Having said that, both <response> elements in your
> example are in the
> same namespace, because their namespace prefixes are
> each associated
> with the same namespace identifier.
>
> Kind Regards,
> Joseph Chiusano
> Booz Allen Hamilton
> Strategy and Technology Consultants to the World
>
>
> > -----Original Message-----
> > From: Brian OBrien [mailto:bobrien18@y...]
> > Sent: Saturday, March 05, 2005 7:05 PM
> > To: xml-dev@l...
> > Subject: A Question about name spaces..
> >
> > If you post a soap message that uses xml
> namespaces then
> > shouldn't the response that you get back be in the
> same name space?
> >
> > ie
> >
> > <n:GetSomething xmlns:n="foobar"/>
> >
> > then shouldn't the response also be:
> >
> > <n:response xmlns:n="foobar">resp</n:response>
> > and not
> > <u:response xmlns:u="foobar">resp</u:response>
> >
> >
> >
> >
>
______________________________________________________________________
> > Post your free ad now! http://personals.yahoo.ca
> >
> >
>
-----------------------------------------------------------------
> > The xml-dev list is sponsored by XML.org
> > <http://www.xml.org>, an initiative of OASIS
> > <http://www.oasis-open.org>
> >
> > The list archives are at
> http://lists.xml.org/archives/xml-dev/
> >
> > To subscribe or unsubscribe from this list use the
> subscription
> > manager:
> <http://www.oasis-open.org/mlmanage/index.php>
> >
> >
>
>
-----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org
> <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at
> http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the
> subscription
> manager:
> <http://www.oasis-open.org/mlmanage/index.php>
>
>
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
|

Cart



