Ho questo file xml:
se ciclo di for in questo modo:codice:<?xml version="1.0" encoding="ISO-8859-1"?> <catalog> <categories> <category code="VT"><![CDATA[OGGETTOA]]></category> <category code="VTRT"><![CDATA[OGGETTOB]]></category> <category code="VFG"><![CDATA[OGGETTOC]]></category> <category code="VDF"><![CDATA[OGGETTOD]]></category> <category code="VSD"><![CDATA[OGGETTOE]]></category> ... ...
ottengo a schermo una risposta del genere:codice:for each itm in oXmlDoc.documentElement.selectNodes("//catalog/categories/category") set tmp = itm.selectSingleNode("//catalog/categories") response.Write(tmp.Text & " ") next
invece vorrei avere come risultato:codice:OGGETTOA OGGETTOB OGGETTOC OGGETTOD OGGETTOE OGGETTOA OGGETTOB OGGETTOC OGGETTOD OGGETTOE OGGETTOA OGGETTOB OGGETTOC OGGETTOD OGGETTOE OGGETTOA OGGETTOB OGGETTOC OGGETTOD OGGETTOE .... per quanti sono i "category"
codice:OGGETTOA OGGETTOB OGGETTOC OGGETTOD OGGETTOE

Rispondi quotando