Subject: [xsl] problem with html form From: Marcio Lopes <marcio_ulliana@xxxxxxxxx> Date: Tue, 27 Aug 2002 08:39:38 -0700 (PDT) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT to summarise an XSLT, Hunsberger, Peter | Thread | Re: [xsl] problem with html form, J.Pietschmann |
[xsl] XSLT to summarise an XSLT, Macaulay,Malcolm (US | Date | Re: [xsl] <xsl:apply-templates sele, David Carlisle |
Month |