0
RSSフィードを解析して表示しています。ASP Classicにある特定のノードで項目をアルファベット順に並べ替えたいと思います。Parsin - ASPの多次元配列またはオブジェクトリストのny値またはプロパティを並べ替える
私は2つだけを必要なときに辞書オブジェクトにタイトルとリンクを追加が私のために働いていた。これを行うための最善の方法は何か、LNAME」ノードでitemListのをソートする必要がある
Set xmlDOM = Server.CreateObject("MSXML2.DOMDocument")
xmlDOM.async = False
xmlDOM.setProperty "ServerHTTPRequest", True
xmlDOM.Load("http://myfeedhere.xml")
Set itemList = xmlDOM.getElementsByTagName("item")
''# Then I am getting the values of each node this way:
For Each item in itemList
For Each child in item.childNodes
Select case lcase(child.nodeName)
case "title"
title = child.text
case "link"
link = child.text
case "fname"
fname = child.text
case "lname"
lname = child.text
case "media:content"
media = child.getAttribute("url")
End Select
next
キーの配列にクイックソートを呼び出してそれに応じて出力します。さらに、姓が重複しないようにする必要があります。
は、編集AnthonyWJonesいただきありがとうございます、 – Alex