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 40339 invoked from network); 12 Jun 2000 14:55:48 -0000 Received: from earthquake.wirestation.co.uk (194.205.186.240) by locus.apache.org with SMTP; 12 Jun 2000 14:55:48 -0000 Received: from dev1 ([194.205.186.202]) by earthquake.wirestation.co.uk (Netscape Messaging Server 4.15) with SMTP id FW1Q3500.O0N for ; Mon, 12 Jun 2000 15:40:17 +0100 From: "Lisa van Gelder" To: Subject: RE: external entities in xsl Date: Mon, 12 Jun 2000 15:57:25 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Put CDATA tags round where? If I put that round the > > ]> bit it won't recoginise the entity. -----Original Message----- From: Mark Washeim [mailto:esalon@canuck.com] Sent: 12 June 2000 15:42 To: cocoon-users@xml.apache.org Subject: Re: external entities in xsl on 12/6/00 4:36 pm, Lisa van Gelder at lisa@wirestation.co.uk wrote: > Thanks, but I still get an error message: > > org.xml.sax.SAXParseException: The markup in the document following the root > element must be well-formed. Use a approach. works well. . . > -----Original Message----- > From: Mark Washeim [mailto:esalon@canuck.com] > Sent: 12 June 2000 15:24 > To: cocoon-users@xml.apache.org > Subject: Re: external entities in xsl > > > on 12/6/00 4:12 pm, Lisa van Gelder at lisa@wirestation.co.uk wrote: > >> Is there a way to reference external entities from within an xsl page? Or > is >> there another way of including outside files (xml files, not other xsl >> pages) within an ? I've tried defining the external entities >> in the dtd of the xml page that calls the template, but I just get a "The >> entity was referenced, but not declared" error message. It won't let me >> define the entities within the xsl page itself either. Any ideas? >> >> I've read through the archive and can't see any mention of this - > apologies >> if I've missed it! >> >> thanks > > > > ]> > > then > > &ads; > > within a tag within the xsl . . . > > you can even do this with xsl stylesheets included in other xsl stylesheets > .. . . I also use this method to embed larger blocks of logic in xsp pages to > keep the java out of the xml . . . that is, I place class level methods and > member fields in a external entity and include them in a > &include;, way :) > > > >> Lisa >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org >> For additional commands, e-mail: cocoon-users-help@xml.apache.org >> > > -- > Mark (Poetaster) Washeim > > 'On the linen wrappings of certain mummified remains > found near the Etrurian coast are invaluable writings > that await translation. > > Quem colorem habet sapientia?' > > Evan S. Connell > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org > -- Mark (Poetaster) Washeim 'On the linen wrappings of certain mummified remains found near the Etrurian coast are invaluable writings that await translation. Quem colorem habet sapientia?' Evan S. Connell --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org