cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Sylvain.The...@swisscom.com>
Subject RE: XMLForm: how to display a text
Date Tue, 25 Mar 2003 12:28:54 GMT
OK, thanks.

And about HTML link?
If I want to insert a HTML link (href) in my view? 
Is there something that already exists?

Regards
Sylvain

-----Message d'origine-----
De: Stefan Klein [mailto:sklein@zipi.fi.upm.es]
Date: mardi, 25. mars 2003 12:19
À: cocoon-users@xml.apache.org
Objet: Re: XMLForm: how to display a text


No, what Richard says is just to include your own tag in the form, for
example <text>my text</text> o <justtext>my text</justtext>, just
call it
how you like.

The XMLFormTransformer will ignore the element and just pass it through. You
can then catch it in your XSL (for example in xmlform2html.xsl, if you're
using that one) and transform it to whatever you like.
I think you can even use the "xf" prefix, is to say <xf:text>my
text</xf:text> and the transformer will still just pass it through.

A change in the tranformer is not required.
Stefan

------------------
AGAINST THE WAR!


----- Original Message -----
From: <Sylvain.Thevoz@swisscom.com>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, March 25, 2003 8:56 AM
Subject: RE: XMLForm: how to display a text


Yes, I think.

What you said is that I should modify the XMLFormTransformer to add my own
element?

I thought that maybe something already exists.

Regards
Sylvain


-----Message d'origine-----
De: Ryan Hoegg [mailto:rhoegg@isisnetworks.net]
Date: lundi, 24. mars 2003 14:09
À: cocoon-users@xml.apache.org
Objet: Re: XMLForm: how to display a text


You could just include it in your own element like <paragraph>.  Then
the XMLFormTransformer will ignore it I think.

--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net

Sylvain.Thevoz@swisscom.com wrote:

>Hello,
>
>Is there a way to display a simple text in XMLForm views?
>
>Someting like <xf:text>my text</xf:text>...
>


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


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



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


---------------------------------------------------------------------
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