Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - getElemementsByTagName [Thread Next] Re: getElemementsByTagNameTo: NULL Date: 5/3/2007 2:16:00 PM
Raj wrote:
> Set varNode =
> xmldom.getElementsByTagName("Tags/Block/Tag[TagSetName='tblock' and
> TagDefName='fax&ph']")
>
> is not retrieving the node containing fax&ph (& is internally stored as
> & in the xml file)
Use the method selectNodes, not getElementsByTagName. And if you are
using MSXML 3 then make sure you call
xmldom.setProperty "SelectionLanguage", "XPath"
first before you use selectNodes.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
