|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Dumb questions from a newbie
Ivan,
You can get around the d-o-e if you return a node-set i.e.
{
var tdom = new ActiveXObject("MSXML2.FreeThreadedDOMDocument");
var od = tdom.createNode(1, 'myDAO', '');
...
while (!rs.EOF){
var row = tdom.createNode(1, 'row', '');
row = od.appendChild(row);
for (var fPos = 0; fPos < rs.fields.count; fPos++){
row.setAttribute(rs.fields(fPos).name,
rs.fields(fPos).value);
}
rs.MoveNext;
}
return od.selectNodes("*");
}
It also means that you can use the result of a query as a full xslt
node-set in a variable/apply-templates/for-each et al.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








