Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 6758 invoked by uid 500); 17 Mar 2002 02:15:45 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 6747 invoked from network); 17 Mar 2002 02:15:44 -0000 Message-ID: <3C93F885.5050103@wyona.org> Date: Sat, 16 Mar 2002 20:59:33 -0500 From: Michael Wechner User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: SGML comments and XSL References: <1016328363.27494.27.camel@molly> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In your "last" XSLT you can use ..... or do I misunderstand you?! All the best Michael Corey Jewett wrote: > New cocoon user. Apologies if this is documented somewhere, but I can't > find it. > > I'm attempting to use XSL to translate XML documents, basically I'm > 'skinning' the XML content with a variety of layout templates (XSL). The > current output format is HTML/XHTML. > > I did a simple test and it worked great. However I ran into a kink when > I upgraded the template to a full blown layout. I'm using CSS and > JavaScript, which customarily are escaped using the standard SGML > comments . Since XML is SGML they're also obviously XML > comments, and as such are being (properly) stripped out of the template > and hence out of my output. > > I tried embedding the comments in CDATA sections, but then they were > translated to character escapes. I then tried embedding escaped > characters < and > as in '<!-- -->'. Also to no avail. > > I did some searching through the list archives and found ways to embed > comments in XSP, but not XSL. Is there a simple solution, other than > switching to XSP? > > Thanks much for any help and pointers. > > Corey > > > Pipeline Snippet: > > > > > > > > > Document Snippet: > > Page Title > >

Stuff and whatnot.

>
>
> > XSL snippets: (cropped for clarity) > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > version="1.0"> > > > > <xsl:value-of select="title"/> > > > > > > > marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" > onload="loadnav();init();"> > > ... > > ... > > > > > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: