Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting the presence of a node
Message
From
24/08/2004 17:55:51
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00935769
Message ID:
00936144
Views:
24
>I'm sorry,
>
>
>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.Length
>
Thanks, this works.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform