But won't <xsp:expr>fName</xsp:expr> replace the markup again to &lt, etc.?

Regards,
Roger

----- Original Message -----
From: "Luca Morandini" <[EMAIL PROTECTED]>
To: "Cocoon-users" <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 5:27 AM
Subject: RE: [c1] Using Markup Symbols from a Database Field?


> 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
>                [EMAIL PROTECTED]
>  http://utenti.tripod.it/lmorandini/index.html
>  ---------------------------------------------
>
> >
> > > -----Original Message-----
> > > From: Derek Hohls [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, November 26, 2001 11:04 AM
> > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > 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
> > >
> > > >>> [EMAIL PROTECTED] 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
> > >               [EMAIL PROTECTED]
> > > http://utenti.tripod.it/lmorandini/index.html
> > > ---------------------------------------------
> > >
> > >
> > > > -----Original Message-----
> > > > From: Derek Hohls [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, November 26, 2001 10:34 AM
> > > > To: [EMAIL PROTECTED]
> > > > 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: <[EMAIL PROTECTED]>
> > > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > 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: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > >
> > >
>
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>



---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to