SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: search in xml

  1. #1
    SitePoint Addict ruba's Avatar
    Join Date
    Apr 2005
    Location
    Amman -Jordan
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    search in xml

    Hi every body,
    I have an xml with 7.5m, so big..
    the file contain 25.000 user information node ..

    I want to display 50 member per page

    I dont have any idea how to solve the problem

    I have a bit knowledge in XPath, dom ...

    I use php.. please help me ..

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,424
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    If you need to search that data frequently you shouldn't use XML for storing your data. Getting the information out will require too much overhead. This is something a database is perfect for.

  3. #3
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by ruba
    I have a bit knowledge in XPath, dom ...

    I use php.. please help me ..
    Write a script to move the XML data into a real database and use that to search.

  4. #4
    SitePoint Addict ruba's Avatar
    Join Date
    Apr 2005
    Location
    Amman -Jordan
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I c ,
    Thanks you pro for your advice,,


Bookmarks

Posting Permissions

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