Med xsl? <xsl:sort> brukar funka bra för mig, men jag hoppas att dina ID:n inte har värdena id5 och id29.
Vill sortera så att man får ut så att man visar data i multiRef med lägst id först, hur kan man göra detta?
<search-results xmlns:xsp="http://apache.org/xsp" xmlns:xscript="http://apache.org/xsp/xscript/1.0" xmlns:soap="http://apache.org/xsp/soap/3.0" xmlns:xsp-request="http://apache.org/xsp/request/2.0">
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<soapenv:Body>
<ns1:getAllNewsFromGroupResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:source">
<getAllNewsFromGroupReturn xsi:type="ns2:ArrayOf_tns2_News" soapenc:arrayType="ns3:News[2]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:source" xmlns:ns3="http://source" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">>
<item href="#id5"/>
<item href="#id29"/>
</getAllNewsFromGroupReturn>
</ns1:getAllNewsFromGroupResponse>
<multiRef id="id29" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:News" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns4="http://source">
<date xsi:type="ns5:string" xmlns:ns5="http://www.w3.org/2001/XMLSchema">20031203</date>
<intro xsi:type="ns6:string" xmlns:ns6="http://www.w3.org/2001/XMLSchema">Vordel is now offering a free tool for testing of security in Web Services solutions.[url]http://www.vordel.com/soapbox/[/url]</intro>
<text xsi:type="ns7:string" xmlns:ns7="http://www.w3.org/2001/XMLSchema"></text>
<title xsi:type="ns8:string" xmlns:ns8="http://www.w3.org/2001/XMLSchema">Testing tool for WS security</title>
</multiRef>
<multiRef id="id5" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns9:News" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns9="http://source" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<date xsi:type="ns10:string" xmlns:ns10="http://www.w3.org/2001/XMLSchema">20040324</date>
<intro xsi:type="ns11:string" xmlns:ns11="http://www.w3.org/2001/XMLSchema">WRQ, Inc. showed its support of Microsoft Visual Studio .NET 2003 by joining the Visual Studio Industry Partner (VSIP) program. Participating in the VSIP program enables developers to access legacy components exposed by WRQ Verastream directly through Visual Studio .NET 2003, WRQ says. In addition, WRQ Verastream will support the upcoming Microsoft Visual Studio 2005, WRQ notes.[url]http://www.ebizq.net/news/4062.html?pp=1[/url]</intro>
<text xsi:type="ns12:string" xmlns:ns12="http://www.w3.org/2001/XMLSchema"></text>
<title xsi:type="ns13:string" xmlns:ns13="http://www.w3.org/2001/XMLSchema">WRQ supports Visual Studio .NET</title>
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
</search-results>

