cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <l.mo...@tin.it>
Subject RE: [c1] Using Markup Symbols from a Database Field?
Date Mon, 26 Nov 2001 10:27:57 GMT
 Derek,
 
just try to put the "disable-output-escaping" into the XSL which 
takes care of transforming the <value> element into HTML.
 
 Best regards,
 
 --------------------------------------------- 
                Luca Morandini 
                GIS Consultant 
               lmorandini@ieee.org 
 http://utenti.tripod.it/lmorandini/index.html 
 ---------------------------------------------
  
> 
> > -----Original Message-----
> > From: Derek Hohls [mailto:dhohls@csir.co.za]
> > Sent: Monday, November 26, 2001 11:04 AM
> > To: l.moran@tin.it; cocoon-users@xml.apache.org
> > Subject: RE: [c1] Using Markup Symbols from a Database Field?
> > 
> > 
> > Luca
> > 
> > Not sure about your syntax - the ESQL sits in a XML file (not an XSL
> > file), so I am not sure that <xsl:value-of
> > disable-output-escaping="yes"> will work there?
> > 
> > The syntax currently looks like:
> > 
> > <!-- logic section -->
> > 
> > <xsp:logic>
> > fName=<esql:get-string column="Name"/>;
> > </xsp:logic>
> > 
> > <!-- xml wrapper -->
> > 
> > <value><xsp:expr>fName</xsp:expr></value>
> > 
> > This will be transformed by a stylesheet after the XML file is
> > built...
> > 
> > Thanks
> > Derek
> > 
> > >>> l.moran@tin.it 26/11/2001 11:42:01 >>>
> > Derek,
> > 
> > what about using disable-output-escaping="yes" in your xsl:value-of ?
> > 
> > Just like in:
> > <xsl:value-of disable-output-escaping="yes"
> > 		select="//sql:rowset/*[name(.)=$dbcol]"/>
> > 
> > Anyhow, this works with SQLTransformer... no idea with ESQL.
> > 
> > 
> > Best regards,
> > 
> > --------------------------------------------- 
> >                Luca Morandini 
> >                GIS Consultant 
> >               lmorandini@ieee.org 
> > http://utenti.tripod.it/lmorandini/index.html 
> > ---------------------------------------------
> >  
> > 
> > > -----Original Message-----
> > > From: Derek Hohls [mailto:dhohls@csir.co.za] 
> > > Sent: Monday, November 26, 2001 10:34 AM
> > > To: cocoon-users@xml.apache.org 
> > > Subject: [c1] Using Markup Symbols from a Database Field?
> > > 
> > > 
> > > Does anyone know how to pass through markup symbols from a a
> > Database
> > > Field so that they do not appear in the output [HTML] file as &lt;
> > but
> > > rather function as the tags they were intended to be - e.g. so that
> > a
> > > database field with:
> > > 
> > > my name <br/> your name
> > > 
> > > appears as:
> > > 
> > > my name
> > > your name
> > > 
> > > PS Am using ESQL tags to do the the database retrieval
> > > 
> > > Thanks
> > > Derek
> > > 
> > >
> > ---------------------------------------------------------------------
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > > 
> > > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> > > 
> > 
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> > 
> > 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message