He returns...

Well I've finally got the application POSTing theXML and getting valid 
responses.  That took some serious _threats_(?) butI fainally got to talk 
to a programmer and he is sharp.  So to cut to the chase I have an XML 
document returned now and need to pull a value or two from it.  The 
XML::Simple looks like the right tool for something this simple but the 
examples in the documentation and my document seem to be ... different.  
:-)
   In a specific case I have one tag that I need the value from and it 
has an attribute and is a couple of levels deep in the document.  It also 
has ... what's the term ... namespaces, several in fact.  Do I need to 
specify the whole path to the tag or since it is unique in the document 
can I just use the namespace qualified tag?

Here is a snip of the document.  I need the CustomerID.

<Response "all the xmlns' are cut out"> 
   <Body>
      <CreateCustomerResponse>
         <ci:CustomerDetails>
            <ci:CustomerID Type="RegistrationNumber">2225183804</ci:CustomerID>
        .
        .
        .
</Response>


Thanks for any input,
Rod
-- 

  "Open Source Software - Sometimes you get more than you paid for..."

Reply via email to