That's exactly what I do, but then:
return incref( $xml->findnodes( '/foo' ) );
the random binary data has gone away - but nothing has replaced it.
Are you certain that 1) findnodes is returning something and 2) that your stylesheet has a template that matches those? Either of those could produce no output.
-- Robin Berjon <[EMAIL PROTECTED]> Research Engineer, Expway http://expway.fr/ 7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488