Jump to content

XML DOM Wrapper UDF Question


Blinky
 Share

Recommended Posts

Hello!

I`m doing a product database for my firm with an automatic upload of the product list in a XML format that my online shop works with.

i need help to find a way to modify a node value and ,from what i can make of it, i cant use the DOM Wrapper UDF to do this

or at least could some one provide me with a list of commands that a DOM object suports.(i`m not very good at java scripting)

i tryed the direct approach ( $objNode.nodeValue="value" ) and it doesnt work

this is a sample of the XML i`m working with , and i need to modify the value of the price tag of a specific product id

<?xml version="1.0" encoding="UTF-8"?>
<products>
<product>
  <id>1</id>
  <price>0.00</price>
</product>
<product>
  <id>2</id>
  <price>0.00</price>
  <available>1</available>
</product>
<product>
  <id>3</id>
  <price>0.00</price>
</product>
</products>

thanx in advance...

Link to comment
Share on other sites

  • 2 weeks later...

Good morning,

I think this topic is appropriate to ask a silly(?) doubt I have regarding the XML DOM wrapper:

- There is a xml file from the web which has around 11 mb, but I only want to fetch one specific node. Is it possible with the wrapper to fetch a specific node (through adding attributes to the URL), where I only download that specific node and not the entire file?

Kind regards,

Pedro

Edited by ppinto
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...