Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 21052 invoked from network); 8 Nov 2000 22:12:40 -0000 Received: from plan9ws1.uct.usm.maine.edu (HELO plan9ws1) (130.111.135.31) by locus.apache.org with SMTP; 8 Nov 2000 22:12:40 -0000 Received: from mcordes by plan9ws1 with local (Exim 3.16 #1 (Debian)) id 13tdSQ-0000eB-00 for ; Wed, 08 Nov 2000 17:12:38 -0500 Date: Wed, 8 Nov 2000 17:12:38 -0500 From: Matthew Cordes To: cocoon-users@xml.apache.org Subject: xsl:copy-of & taglib difficulty Message-ID: <20001108171238.A2455@plan9ws1.uct.usm.maine.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: Matthew Cordes X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello all, I'm having a bit of a problem and would appreciate any help. In my xml file I have the following: Document doc = xspParser.parse( new InputSource( new StringReader( "well formatted database data" ))); xspCurrentNode.appendChild( document.importNode( doc.getFirstChild(), true ); then in my xsl I want to display the well-formed xml as is with : The problem here is that I get this as output: Notice there is a namespace declaration within the data tag. I tried including this within my stylesheet w/o an effect. The reason I post this on the cocoon list and not an XSLT one is I hoped someone could explain why the MyTagLib prefix was appearing on the data, but the xsp prefix does not. -matt