Hmm - an off the cuff suggestion is to pass the oXMLDOC to your DOMSource(...) instead of getting the document element.
Also, double-check which template match you have: you have '/xml' in your sXSL code, but '/' in your documentation above. Also, the foo shows up in the output because of the 'default' XSL rule that copies through text nodes; you can override this with: <xsl:template match="text()" /> ===== - Shane <eof aka="mailto:[EMAIL PROTECTED]" .sig="Du sublime au ridicule il n'y a qu'un pas." /> __________________________________________________ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/
