You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ingo Bruell <ib...@gmx.de> on 2001/03/08 16:26:42 UTC

Re: Cocoon2 and Jetty

Hi Andreas,

on Friday, March 09, 2001, um 12:30:50 AM, you wrote:

AN> Has anyone succesfully installed Cocoon 1.8.x or Cocoon2 from CVS with Jetty
AN> 3.0.x ?

Yes,  it works for me. I am using JBoss + Jetty 3.0.3 and Cocoon 1.8.2
with JDK1.3.0_01.

so long


Ingo Bruell

---
<ib...@gmx.de>
<In...@epost.de>
<ICQ# 40377720>
Oldenburg    PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
Germany      PGP-Public-Key available at pgpkeys.mit.edu



---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Failure to render embedded links

Posted by Bruce Altner <ba...@hq.nasa.gov>.
Thanks for the reply. Yes, I did see these. None of them does the job.

I think the biggest problem is that the '<' character is forbidden in 
character strings (but not '>', strangely) so whenever I do the 
substitution things croak.

Bruce

At 01:24 AM 03/09/2001 +0100, you wrote:
>Hi Bruce,
>
>did you try a solution with the xsl-functions
>contains(), substring_before(), substring_after() and / or translate() ?
>
>See Michael Kay - XSLT Programmer's Reference p 527
>
>Hope it helps.
>
>- Chris
>
>
> > -----Original Message-----
> > From: Bruce Altner [mailto:baltner@hq.nasa.gov]
> > Sent: Donnerstag, 8. Marz 2001 17:18
> > To: cocoon-users@xml.apache.org
> > Subject: Failure to render embedded links
> >
> >
> > I've banged my head against this one long enough and am now
> > asking for help.
> >
> > The data I'm capturing in one of my XML elements has embedded HTML markup
> > in it, e.g., <a href="..."</a> for hyperlinks. This is necessary since
> > these links don't always occur in the same place and it's impossible to
> > break them out into separate <url></url> elements. Using Cocoon
> > this works
> > fine using the XSLT construct <xsl:copy-of select="..."> rather than
> > <xsl:value-of select="..."> and results in active links in the
> > transformed
> > page. Great.
> >
> > However, in the servlet I'm using to edit the content all of the content
> > between "<" and ">" is dropped, so I switched to using  &lt; for "<" and
> > &gt; for ">".  The editing servlet works fine but now the
> > Cocoon-processed
> > HTML page shows the markup, not the links.
> >
> > I simply want to replace all the &lt;'s with '<' and &gt;'s with '>' so
> > that my hypertext links will
> > display correctly in the transformed output. So next I wrote and tested a
> > java class to make these substitutions,  calling it as an Xalan extension
> > function. This class file does what it's supposed to do outside
> > of the xsl
> > file but it fails when I try to do the above replacement in the
> > xsl file. I
> > have tried CDATA, defining variables, etc, but nothing
> > works. Any ideas? Should I try a different parser or xslt processor?
> >
> > Thanks,
> > Bruce
> >
> >
> > ---------------------------------------------------------------------
> > 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: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Failure to render embedded links

Posted by Christof Schneider <Ch...@gmx.de>.
Hi Bruce,

did you try a solution with the xsl-functions
contains(), substring_before(), substring_after() and / or translate() ?

See Michael Kay - XSLT Programmer's Reference p 527

Hope it helps.

- Chris


> -----Original Message-----
> From: Bruce Altner [mailto:baltner@hq.nasa.gov]
> Sent: Donnerstag, 8. Marz 2001 17:18
> To: cocoon-users@xml.apache.org
> Subject: Failure to render embedded links
>
>
> I've banged my head against this one long enough and am now
> asking for help.
>
> The data I'm capturing in one of my XML elements has embedded HTML markup
> in it, e.g., <a href="..."</a> for hyperlinks. This is necessary since
> these links don't always occur in the same place and it's impossible to
> break them out into separate <url></url> elements. Using Cocoon
> this works
> fine using the XSLT construct <xsl:copy-of select="..."> rather than
> <xsl:value-of select="..."> and results in active links in the
> transformed
> page. Great.
>
> However, in the servlet I'm using to edit the content all of the content
> between "<" and ">" is dropped, so I switched to using  &lt; for "<" and
> &gt; for ">".  The editing servlet works fine but now the
> Cocoon-processed
> HTML page shows the markup, not the links.
>
> I simply want to replace all the &lt;'s with '<' and &gt;'s with '>' so
> that my hypertext links will
> display correctly in the transformed output. So next I wrote and tested a
> java class to make these substitutions,  calling it as an Xalan extension
> function. This class file does what it's supposed to do outside
> of the xsl
> file but it fails when I try to do the above replacement in the
> xsl file. I
> have tried CDATA, defining variables, etc, but nothing
> works. Any ideas? Should I try a different parser or xslt processor?
>
> Thanks,
> Bruce
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Failure to render embedded links

Posted by Bruce Altner <ba...@hq.nasa.gov>.
I've banged my head against this one long enough and am now asking for help.

The data I'm capturing in one of my XML elements has embedded HTML markup 
in it, e.g., <a href="..."</a> for hyperlinks. This is necessary since 
these links don't always occur in the same place and it's impossible to 
break them out into separate <url></url> elements. Using Cocoon this works 
fine using the XSLT construct <xsl:copy-of select="..."> rather than 
<xsl:value-of select="..."> and results in active links in the transformed 
page. Great.

However, in the servlet I'm using to edit the content all of the content 
between "<" and ">" is dropped, so I switched to using  &lt; for "<" and 
&gt; for ">".  The editing servlet works fine but now the Cocoon-processed 
HTML page shows the markup, not the links.

I simply want to replace all the &lt;'s with '<' and &gt;'s with '>' so 
that my hypertext links will
display correctly in the transformed output. So next I wrote and tested a 
java class to make these substitutions,  calling it as an Xalan extension 
function. This class file does what it's supposed to do outside of the xsl 
file but it fails when I try to do the above replacement in the xsl file. I 
have tried CDATA, defining variables, etc, but nothing
works. Any ideas? Should I try a different parser or xslt processor?

Thanks,
Bruce


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>