SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot daemon's Avatar
    Join Date
    Apr 2001
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Retrive data sorted alphabeticaly from XML files

    I'm fairly new to XML, but I kind of like it.
    I'm wondering how I would go about to retrieve data
    sorted in a specific way (for example alphabetical) from a XML file.
    What I'm looking for is something like the database SQL like "SELECT * FROM user ORDER BY name".
    Do I sort when inserting into the file or when reading?
    The language I'm working with is PHP but any general ideas will be apreciated.

  2. #2
    SitePoint Member
    Join Date
    Apr 2002
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are query languages for XML ...
    unfortunately i just don`t have any name in mind ...
    anyone else?
    "To understand recursion you have to understand recursion first..."


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
  •