Order XML response

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vacuno
    New Member
    • Jul 2007
    • 6

    Order XML response

    I can order from a to z a XML response? Exist something like

    set nodeProv = xmlDom.document Element.selectN odes("REGION[@ID = """&sel_region& """]/PROVINCIA/CIUDAD/COMUNA[@ID = """&sel_comuna& """]/order by ::PROVINCIA")

    Look at end of code in order by.

    Thanks in advance
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    http://www.thescripts. com/forum/thread178495.ht ml

    This shows how to get a SortedList by using attribute values of the nodes.
    You can change it to use child values (eg PROVINCIA) by changing the Attributes function to use ChildNodes()[0] instead.

    Comment

    Working...