Jump to content

Recommended Posts

Posted

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...

Posted

i have already created my database with autoit and sqlite its verry hard for me now to recode every thing in php plus im a verry big fan of autoit.

of course i could regenerate the xml every time i modify the list of products

  • 2 weeks later...
Posted (edited)

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

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
  • Recently Browsing   0 members

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