DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Seek a specific element on a XML Island

Hybrid View

  1. #1
    Memo Guest

    Seek a specific element on a XML Island


    The Displaying XML Data Islands with JavaScript sample is great.But,...

    Can you seek for a specific element instead of brows one by one (data.recorset.movenext())
    ?

    something like data.recorset.seek(x)

  2. #2
    Matthew Solnit Guest

    Re: Seek a specific element on a XML Island

    "Memo" <gnavarro@real.com> wrote in message news:3b5345a1$1@news.devx.com...
    >
    > The Displaying XML Data Islands with JavaScript sample is great.But,...
    >
    > Can you seek for a specific element instead of brows one by one

    (data.recorset.movenext())
    > ?
    >
    > something like data.recorset.seek(x)


    You can use DOMDocument.selectSingleNode() to retrieve a specific element.
    Check out the MSXML documentation for query syntax.

    -- Matthew Solnit



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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center