Results 1 to 2 of 2

Thread: searching in xml

Hybrid View

  1. #1
    Join Date
    Dec 2010

    searching in xml

    Hi all,

    I have a xml file with this order:


    I need to select the name of site OD

    if SITE=OD then
    end if

    Here is my code, it works fine i just need to search

    HTML Code:
    Option Explicit
    Response.Buffer = True
    Dim xml
    Set xml = Server.CreateObject("Microsoft.XMLDOM")
    xml.async = False
    xml.load (Server.MapPath("page.xml"))
    Dim title, heading, paragraph,paragraph2,paragraph3,paragraph4, testHTML
    title = xml.documentElement.childNodes(0).text
    heading = xml.documentElement.childNodes(1).text
    paragraph = xml.documentElement.childNodes(2).text
    paragraph2 = xml.documentElement.childNodes(3).text
    paragraph3 = xml.documentElement.childNodes(4).text
    paragraph4 = xml.documentElement.childNodes(5).text
    testHTML = xml.documentElement.childNodes(6).text
    Set xml = Nothing
    <title><%= title %></title>
    <h3 align="center"><%= heading %></h3>
    <p align="center"><% = paragraph %></p>
    <p align="center"><% = paragraph2 %></p>
    <p align="center"><% = paragraph3 %></p>
    <p align="center"><% = paragraph4 %></p>
    <div align="center"><%= testHTML %></div>

  2. #2
    Join Date
    Oct 2012
    Determine the base URL to fetch protocol defines XML resources. Implementation offers determine http : URLs, and crawl a cocoon Apache instance published in the servile engine. Instead, may determine URI, for example: / documents / index.html, and made to crawl on a local Apache cocoon example only, either publish the applet, or in command line mode.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles