LOCAL loXML,loNodes,lcXML lcXML=[<?xml version="1.0" encoding="windows-1250" standalone="yes"?>]+; [<rss><channel><lastBuildDate>xx</lastBuildDate></channel></rss>] loXML=CREATEOBJECT("Microsoft.XMLDOM") loXML.Async = .F. IF !loXML.LoadXML(lcXML) && pokud se nepodaøilo nahrát soubor RETURN && vypadni ven ENDIF loXML.SetProperty("SelectionLanguage","XPath") loNodes=loXML.documentElement.selectNodes('channel/lastBuildDate') ?loNodes.Length loNodes=loXML.selectNodes('rss/channel/lastBuildDate') ?loNodes.LengthMartinJ
>>*loXML.SetProperty("SelectionLanguage","XPath") >>loNode=loXML.documentElement.selectNodes('rss/channel/lastBuildDate') >>IF loNodes.Length=0 >> * Node not exist >>ENDIF >>>