Collectives on Stack Overflow. Learn more. Asked 8 years, 4 months ago. Active 5 years, 11 months ago. Viewed 16k times. I am achieving this using the following: File1. Add a comment. Active Oldest Votes. Ian Roberts Ian Roberts k 15 15 gold badges silver badges bronze badges.
A variation of the original question uses a file called "index. How would one achieve the intended result with this new variation? Ian - Your example worked for me. The concept of a "node set" was the piece I was missing. Thank you. When you get an answer that solves your problem it's good manners to accept the answer by clicking on the tick mark to the left.
Please provide valid XML. Forgot to add quotes. Check again — user Sorry, it is still malformed. You need to specify an attribute name, e. Sorry, I edited again to be valid.
Someone just edited reverted my change. How do u prevent that here? Though I reverted to be valid again. Add a comment. Active Oldest Votes. Navin Rawat Navin Rawat 3, 1 1 gold badge 17 17 silver badges 28 28 bronze badges.
Your code works but only thing was that Xml. Can you modify your code so that I will accept your answer. Get certified by completing a course today! If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:. CreateObject "Microsoft. Write xmlDoc. Count 'Eliminate button elements in the form if instr 1,Request.
This query requests the value element that is 'the child of a field element that has an id attribute which matches 'the current key value in the Form Collection.
When there is a match - 'set the text property equal to the value of the current field in the 'Form Collection. MapPath "tool.
0コメント