Hello, Stanislavs.
You wrote 4 марта 2002 г., 12:49:33:
SM> the problem is strings functions appeared only in xml version 4.0
SM> :(
SM> (i'm using your xml sample)
SM> var xmlDoc = new ActiveXObject("MSXML2.DOMDocument.4.0");
SM> xmlDoc.async = false;
SM> xmlDoc.load("E:/test.xml");
SM> var str = "ar";
SM> var xp = "//item[contains(@fname, '"+str+"')]";
SM> var list = xmlDoc.selectNodes(xp);
SM> nodes which contains "ar" should be inside "list"
SM> good luck
SM> Stas
SM> -----Original Message-----
SM> From: Marat R. Abasaliyev [mailto:marat@i...]
SM> Sent: Monday, March 04, 2002 11:03 AM
SM> To: XML
SM> Subject: [xml] RE: Question: how using contains in XPath Query ?
SM> Hello !
SM> I using MSXML2.DomDocument and method SelectNodes
SM> Best regards, Marat R. Abasaliyev, mailto:marat@i...
SM> ---
SM>
SM>
SM> ---
SM>
SM>
Thank you very much !!!!!
All working !!!
Best regards, Marat R. Abasaliyev, mailto:marat@i...