Paradox Convention 2003 Paradox and XML
⇐ First ← Prev. ↑ Up Next → Last ⇒

Importing with MSXML (2)

  1. First, load MSXML4:
      var oDOM OleAuto ; this will be our DOM instance for the document
        endVar
        
      oDOM.open ("Msxml2.DOMDocument.4.0")
      oDOM.async = False
  2. Now load the document:
       oDOM.load ("http://www.riff.org/rssfeed.php")
  3. That's all folks ! Just 4 lines of code ! Do not forget to check the results, though...
  4. MSXML also provides a SAX API, which can be more efficient for on-the-fly transformations during loading, but the DOM API is simpler to grasp for XML beginners.

© 2003 Frédéric G. MARAND - OSInet