How to get data out from XML file?

Discussion in 'Programming' started by balkanboy82, May 9, 2011.

  1. #1
    Hi,

    I need details of catalog I was given in xml. I need text and images from this file:

    http://www.silver.ag/publicdoc/en_complete_01_nw.xml

    How can I get this? I don't want to import everything into my ecommerce site, just need 10 or so products to add manually.

    Info is very appreciated.

    Thanks
     
    balkanboy82, May 9, 2011 IP
  2. seovcim

    seovcim Member

    Messages:
    74
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    You should be aware that this component will re-query the URL for each lookup request. Therefore if you are using this component to query a HTTP URL for an XML document, you should consider using the "Loop XPath" and "Prune path" parameters - these will help you avoid re-querying for the XML document. Also note that this component seems to make a HTTP HEAD request prior to the actual HTTP GET - if your XML document is a dynamic query (ASP/PHP/etc.),
     
    seovcim, May 9, 2011 IP
  3. rainborick

    rainborick Well-Known Member

    Messages:
    424
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #3
    It seems to me that you have two choices. You could use a script to read the XML file and extract the product information you want. If you do some searching, you should be able to easily find an XML parser script in PHP or JavaScript that you could modify as needed or write one yourself. Or, if you're not a programmer, I'd suggest you simply download the file and copy and paste whatever product information you need. I see that it's a large file, but a decent word processor should allow you to read the file as text and get whatever you need from it. Good luck!
     
    rainborick, May 9, 2011 IP
  4. balkanboy82

    balkanboy82 Well-Known Member

    Messages:
    136
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #4
    Hi, I don't understand 90% of what you said regarding to programming :)

    Can you recommend some reader for this? I am on Mac.

    I found some xml editor and this is the best I can get so far: http://cl.ly/0N3Z2b3F1j0D2U1D040z

    Your help is very appreciated.
     
    balkanboy82, May 9, 2011 IP