[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] problem with html form
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|