getAttribute gets an xml element's attribute-value --
not the element's text content value; whereas g:data
attribute-values usually refer to the element's content.
also, namespace and target-country
locale issues should be considered.
// so, try:something like:
set xt = xmlDoc.getElementsByTagName("title")
set xp = xmlDoc.getElementsByTagName("g:price")
response.write(xt.item(0).tagName & "," & xt.item(0).text & "<br/>")
for i = 1 to objLst.Length
response.write(xt.item(i).tagName & "," & xt.item(i).text & "<br/>")
response.write(xp.item(i).tagName & "," & xp.item(i).text & "<br/>")
next
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Base Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---