Search This Blog

Saturday, February 5, 2011

Classic ASP & XML

Programmer Question

I've got the following XML and the below ASP statement is working, but I need to get a specific tag rather than response.write everything. i.e. I want to get "Document_Name", or "Document_Size".



Does anyone know how I can do this?





tes1.png
123


Test.png
123




This is the code ..



Set objHdl = objLst.item(i)

Set PropertyImages = ObjHdl.getElementsByTagName("PropertyImages")

for x = 0 to (PropertyImages.Length-1)
Set Image = PropertyImages.item(x)

response.write "Image=" & Image.text & "
"
next


Find the answer here

No comments:

Post a Comment

Related Posts with Thumbnails