Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Parsing an XML file with namespace

From: Steve <stephen.joung@----------.--->
To: NULL
Date: 9/22/2008 2:45:00 AM
On Sep 22, 11:03 am, Stanimir Stamenkov <s7a...@netscape.net> wrote:
> Mon, 22 Sep 2008 00:31:52 -0700 (PDT), /Steve/:
>
> > Thank you Peter, could you have a little more patience with me and
> > explain how I can instruct my processor  that gesmes equates to
> > "http://www.gesmes.org/xml/2002-08-01" and that the default namespace
> > (used for all element types that do not have a prefix) is
> > "http://www.ecb.int/vocabulary/2002-08-01/eurofxref"
>
> Have you tried to read through "Namespaces in XML"
> <http://www.w3.org/TR/xml-names>?
>
> You may find some tutorial like articles, also:
>
> http://www.google.com/search?q=namespaces+in+xml+tutorial
>
> --
> Stanimir

Hi Stanimir,

I have read through these tutorials but this is still not clear to me,
and I think from googling around that there are many people having
this problem with this particular European Central Bank XML document.
It is my understanding that the ECB document has already declared the
default namespace of elements that do not have a prefix, ie the <Cube>
elements, with the line :
<gesmes:Envelope xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01"
xmlns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref">

So how to access the <Cube> elements?

Regards, Steve.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent