OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] A Question about name spaces..

[ Lists Home | Date Index | Thread Index ]
  • To: Chiusano Joseph <chiusano_joseph@bah.com>, xml-dev@lists.xml.org
  • Subject: RE: [xml-dev] A Question about name spaces..
  • From: Brian OBrien <bobrien18@yahoo.com>
  • Date: Sat, 5 Mar 2005 22:54:46 -0500 (EST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=1daPFEVTflWQAtkcCu+9uZVMH9e7ytsftcVEJXfwLb5RqXMFybA7cilcC71ho2sk47RkCs7rfhaJrdfPV3R6TN0SfHQt+jZYfj0HIM2DYkNf+j+FRJ9nPmBST2uUw1ZssLiIJ7H3Vde1cd71NyPAqpK9pL/XnEX9JbnnbH6BztQ= ;
  • In-reply-to: 6667

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@bah.com> 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@yahoo.com] 
> > Sent: Saturday, March 05, 2005 7:05 PM
> > To: xml-dev@lists.xml.org
> > Subject: [xml-dev] 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS