This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
problem with html form
- From: Marcio Lopes <marcio_ulliana at yahoo dot com>
- To: XSL-List at lists dot mulberrytech dot com
- Date: Tue, 27 Aug 2002 08:39:38 -0700 (PDT)
- Subject: [xsl] problem with html form
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
I need some help in XSLT.
I am working with java:
transformador = fator.newTransformer( new
StreamSource(stylesheet));
transformador.transform( new StreamSource(sourceId),
new StreamResult(System.out));
I want to generate a HTML from a XML document.
The HTML contain a form inside and it is almost ready.
But I have a problem.
I would like to know if is possible to pass the
content of my element
<droga></droga> (ex:<droga>português</droga>,
<droga>tricíclicos</droga>) to
the field "value" of the input tag (<input
type"hidden" name="nome" value="português">) whithout
passing "portugu&ecierc;s" that I obtain after the
transformation.
<xsl:template match="listaInter">
.
.
.
<xsl:for-each select="inter">
.
.
.
<input type="hidden" name="droga"
value="{droga}"> </input>
<xsl:template/>
I have troubles with all words that have accents:
´,^,~ .
Is there some function in XSLT that can do it for me?
Or is there another way to do it?
Thanks for helping.
Marcio.
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list