You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Richard Schottdorf <sc...@screenwave.de> on 2005/11/24 16:11:20 UTC
Using Multiple Stylesheets for the Same Content
Hi,
I used Sol's instructions of Using Multiple Stylesheets for the Same Content
As soon as I am done with my changes for the authoring mode I will get the
following error:
The reference to entity "xsl" must end with the ';' delimiter.
In live mode I get a blank page.
I am using lenya 1.2.4 with jetty on linux.
Someone any suggestions?
Greetings
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Using Multiple Stylesheets for the Same Content
Posted by so...@gmail.com.
On 11/24/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> Ahoy Sol,
> I just tested your suggestions and came to the following solution:
> The correct way would be:
> {$root}/{$url}
>
> Thanx and greetings
> Richard
Thank you. I updated the instructions.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
AW: Using Multiple Stylesheets for the Same Content
Posted by Richard Schottdorf <sc...@screenwave.de>.
Ahoy Sol,
I just tested your suggestions and came to the following solution:
The correct way would be:
{$root}/{$url}
Thanx and greetings
Richard
-----Ursprüngliche Nachricht-----
Von: solprovider@gmail.com [mailto:solprovider@gmail.com]
Gesendet: Donnerstag, 24. November 2005 17:22
An: user@lenya.apache.org
Betreff: Re: Using Multiple Stylesheets for the Same Content
On 11/24/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> No pipeline matched request:
> uri-parameter/sattler/doctype/live/Aktuelles/Aktuelles/Messearchiv.html
>
> this only happens when I try to use the link from a submenupage!
ISSUE: The URL must either be absolute or relative.
Absolute: /sattler/live/Aktuelles/Messearchiv.html
Relative: Messearchiv.html
{$url} = Aktuelles/Messearchiv.html (no beginning slash)
so it is relative to the current page, so the path appears twice ->
/sattler/live/Aktuelles/Aktuelles/Messearchiv.html
Adding a slash:
/{$url} = /Aktuelles/Messearchiv.html
loses the pubname and the area.
You might use:
{$root}{$url}
I need to check how the default pub sets the parameters and update the
instructions.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Using Multiple Stylesheets for the Same Content
Posted by so...@gmail.com.
On 11/24/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> No pipeline matched request:
> uri-parameter/sattler/doctype/live/Aktuelles/Aktuelles/Messearchiv.html
>
> this only happens when I try to use the link from a submenupage!
ISSUE: The URL must either be absolute or relative.
Absolute: /sattler/live/Aktuelles/Messearchiv.html
Relative: Messearchiv.html
{$url} = Aktuelles/Messearchiv.html (no beginning slash)
so it is relative to the current page, so the path appears twice ->
/sattler/live/Aktuelles/Aktuelles/Messearchiv.html
Adding a slash:
/{$url} = /Aktuelles/Messearchiv.html
loses the pubname and the area.
You might use:
{$root}{$url}
I need to check how the default pub sets the parameters and update the
instructions.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
AW: Using Multiple Stylesheets for the Same Content
Posted by Richard Schottdorf <sc...@screenwave.de>.
Hi Sol,
now I get the next error:
No pipeline matched request:
uri-parameter/sattler/doctype/live/Unternehmen/Unternehmen/Wegbeschreibung.h
tml
Greetings
Richard
-----Ursprüngliche Nachricht-----
Von: solprovider@gmail.com [mailto:solprovider@gmail.com]
Gesendet: Donnerstag, 24. November 2005 16:24
An: user@lenya.apache.org
Betreff: Re: Using Multiple Stylesheets for the Same Content
On 11/24/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> As soon as I am done with my changes for the authoring mode I will get the
> following error:
> The reference to entity "xsl" must end with the ';' delimiter.
This error:
The reference to entity "???" must end with the ';' delimiter.
always means you have an ampersand in your XSL that is not being
translated properly, so you have
&xsl
in the code where you need
&xsl
Step 5 may need to be translated. Try:
<A HREF="{$url}?lenya.usecase=xsl&xsl={DifferentXSLT}">
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
AW: Using Multiple Stylesheets for the Same Content
Posted by Richard Schottdorf <sc...@screenwave.de>.
And again,
No pipeline matched request:
uri-parameter/sattler/doctype/live/Aktuelles/Aktuelles/Messearchiv.html
this only happens when I try to use the link from a submenupage!
Greetings Richard
-----Ursprüngliche Nachricht-----
Von: solprovider@gmail.com [mailto:solprovider@gmail.com]
Gesendet: Donnerstag, 24. November 2005 16:24
An: user@lenya.apache.org
Betreff: Re: Using Multiple Stylesheets for the Same Content
On 11/24/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> As soon as I am done with my changes for the authoring mode I will get the
> following error:
> The reference to entity "xsl" must end with the ';' delimiter.
This error:
The reference to entity "???" must end with the ';' delimiter.
always means you have an ampersand in your XSL that is not being
translated properly, so you have
&xsl
in the code where you need
&xsl
Step 5 may need to be translated. Try:
<A HREF="{$url}?lenya.usecase=xsl&xsl={DifferentXSLT}">
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Using Multiple Stylesheets for the Same Content
Posted by so...@gmail.com.
On 11/24/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> As soon as I am done with my changes for the authoring mode I will get the
> following error:
> The reference to entity "xsl" must end with the ';' delimiter.
This error:
The reference to entity "???" must end with the ';' delimiter.
always means you have an ampersand in your XSL that is not being
translated properly, so you have
&xsl
in the code where you need
&xsl
Step 5 may need to be translated. Try:
<A HREF="{$url}?lenya.usecase=xsl&xsl={DifferentXSLT}">
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org