| |
davidv
Posts: 3
Score: 0
Joined: 5/4/2008
Status: offline
|
hi all my first post on this board, which really means i'm a newbie :) im working on a vbscript to add printers to a pc with the same default gateway the data is in a xml form smth like this : <QryDefGate> '<DEFAULT_GATEWAY>10.201.2.1</DEFAULT_GATEWAY> '<PC>T20DXPHAS02</PC> '<PRINTER>T20PR005</PRINTER> '<DEFAULT>1</DEFAULT> '</QryDefGate> now i wanna check the file when i have the default gateway and pcname and display me the printer or printers so smth like this i thought: Set NodeList = objXMLDoc.documentElement.selectNodes("//QryTst[DEFAULT_GATEWAY='" & (strDefGate)] & "' [PC='" & UCase(strWSName) & "']/PRINTER") i searched the internet on how to select multiple fields but cant find it can somebody help me out or atleast tell me where i can find smth about this you would help me out a lot !!! thx in advance
|
|