On Thursday 23 October 2003 15:11, you wrote: > Hi Zoran, > > Zoran Vasiljevic said: > > If you don't have a vast (code) investment in nsxml, you can try the > > tdom package from http://www.tdom.org instead. > > After jumping through some hoops to get it compiled, I am trying that now. > Weird problem, though. This is my code: > > ######## > set f_xml [open [file join [ns_info pageroot] test.xml]] > set xml [read $f_xml] > close $f_xml > > set f_xsl [open [file join [ns_info pageroot] test.xsl]] > set xsl [read $f_xsl] > close $f_xsl > > dom parse $xml doc > dom parse $xsl xdoc > > ns_adp_puts [$doc xslt $xdoc] > ###### > > And this is the error: > [23/Oct/2003:14:05:52][30610.-1097802832][-conn1-] Error: > Variable is already declared in this template > while executing > "$doc xslt $xdoc" > invoked from within chunk: 0 of adp: > /usr/local/aolserver/servers/server1/pages/xml.adp > >
You mind giving us test.xml and test.xsl to look at? Cheers, Zoran -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
