cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "OD" ...@feersumendjinns.com>
Subject Re: how to avoid '/' ?
Date Mon, 02 Oct 2000 12:06:27 GMT
Hi,

I don't know if this will solve your problem but you could try:

--XSL--

<xsl:template match="input">
<ENTRY NAME="{title}"><ACTION  TASK="GO"
DEST="test.xml"></ACTION></ENTRY>
<BR/>
</xsl:template>

--Result--
<ENTRY NAME="test"><ACTION TASK="GO" DEST="test.xml"></ACTION></ENTRY>
<BR>

Um I think this question should have been asked on cocoon-users really...

Corey O'Donovan

----- Original Message -----
From: Stephane Mouchel Vichard (Japan) <smouchel@ludiwap.co.jp>
To: <cocoon-dev@xml.apache.org>
Sent: Monday, October 02, 2000 12:29 PM
Subject: how to avoid '/' ?


> Hi everybody,
>
> I would like to use cocoon with HDML langage for japanese telephone,
> but I met problems with page formatting. Indeed, Cocoon put systematically
> the caracter '/' at the end of the elements it is not able to recognize (I
> use HTMLFormatter).
>
> Here an exemple:
> --------- XML FILE ------------------------------
> <input>
>     <title>test</title>
> </input>
>
> --------- XSL FILE -----------------------------
> <xsl:template match="input">
>    <ENTRY NAME="{title}"><ACTION  TASK="GO"
> DEST="test.xml"/></ENTRY>
> <BR/>
> </xsl:template>
>
> --------- RESULT -----------------------------
> <ENTRY NAME="test"><ACTION TASK="GO" DEST="test.xml"/></ENTRY>
> <BR>
> (I don't want the last '/' at the end of the ACTION element because
> telephones refused this syntax).
>
>
> Does anybody know how to solve this problem ?
>
> Thanks,
> Stephane


Mime
View raw message