anyone know why......
i can't seem to use a variable for the filename when calling the xmldocument.load method.
if i explicitly type in the file like so: xmldocument.load("d:/xmlfiles/december.xml") it works fine and i can parse the xml nodes.
but....if i try assigning a variable for the filename...like so:
myfile = "d:/xmlfiles/december.xml" and then:
xmldocument.load(myfile) i get errors
if i response.write out myfile and cut and paste it into the method call it works.
i even tried appending double quotes at the beginning and end of the variable but it still won't work.
does anyone know how to use a variable filename for this method call?
threeo
i can't seem to use a variable for the filename when calling the xmldocument.load method.
if i explicitly type in the file like so: xmldocument.load("d:/xmlfiles/december.xml") it works fine and i can parse the xml nodes.
but....if i try assigning a variable for the filename...like so:
myfile = "d:/xmlfiles/december.xml" and then:
xmldocument.load(myfile) i get errors
if i response.write out myfile and cut and paste it into the method call it works.
i even tried appending double quotes at the beginning and end of the variable but it still won't work.
does anyone know how to use a variable filename for this method call?
threeo