Doch... Genauso w�rd ichs machen... Durchrattern...
Das ganze vorher in ein disconnected recordset packen... Das geht schon
relativ schnell...
Etwa so: (pseudocode)
DOM.xml="<root/>"
For each row in RS
set node = DOM.getNode("/root")
for each col in row
if not node.existSubNode(col) then
node.createSubNode(col)
end if
set node = node.getSubNode(col)
next
next
Claudius
> Hallo Hallo,
>
> ich hab auch noch ein kleines SQL-Problem:
> Gegeben ist eine n-spaltige (Anzahl kann variieren!!)
> Tabelle, die wir folgt
> (Beispiel) Daten enth�lt
>
> kopf NULL NULL NULL
> kopf bein NULL NULL
> kopf bein knie NULL
> kopf bein knie fuss
> kopf bein knie hacken
>
>
> Daraus m�chte ich ein XML-File erstellen a la
> <kopf>
> <bein>
> <knie>
> <fuss/>
> <hacken/>
> </knie>
> </bein>
> </kopf>
> Hat da jemand eine einfache L�sung?
> Mit einem Script durchrattern, kann es ja nicht sein:
> Tabelle mit 10 Spalten und 4500 Datens�tzen = 45000 Loops
> Das muss doch einfacher bzw. wesentlich schneller gehen?
>
> gruss
>
> Frank
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~
Intrexx.BizWalker + ODBC/OLEDB-Daten = ASP-Formular
ATTACK! Download Intrexx CRM-Studio Now! http://www.intrexx.com
_______________________________________________
Database.asp mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/database.asp