[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:copy-of problem with < and > chars by html output
hello, I am having a problem with the xsl:copy-of function by creating html output. I want to fill in a complete node set with content into a textarea and have problems with the < and > chars. the xml file: <interview> <forms> <form> <OneQuestOneAnswer> <question>1.1</question><tab /><text>Eine \berlieferung aus dem Shintoismus f|hrt die japanische Dynastie auf die Sonnengvttin Amaterasu zur|ck und betont damit die Funktion des Kaisers als Staatsoberhaupt und Gottheit.</text><br /><br /><question>Wie nennt man den Titel des japanischen Kaisers ?</question> <tab/><solution points="5"><valid_input>Tenno</valid_input><valid_input>tenno</valid_input></solution><points/> </OneQuestOneAnswer> ... </forms> </interview> stylesheet ... <textarea> <xsl:attribute name="rows">30</xsl:attribute> <xsl:attribute name="cols">80</xsl:attribute> <xsl:attribute name="name">forms</xsl:attribute> <xsl:copy-of select="./forms"/> </textarea> ... The output in the textarea should be: <forms> <form> <OneQuestOneAnswer> <question>1.1</question><tab /><text>Eine \berlieferung aus dem Shintoismus f|hrt die japanische Dynastie auf die Sonnengvttin Amaterasu zur|ck und betont damit die Funktion des Kaisers als Staatsoberhaupt und Gottheit.</text><br /><br /><question>Wie nennt man den Titel des japanischen Kaisers ?</question> <tab/><solution points="5"><valid_input>Tenno</valid_input><valid_input>tenno</valid_input></solution><points/> </OneQuestOneAnswer> ... </form> mozilla shows no content in the textarea; problem are the < and > chars! Thank you much, in advance, markus -- ----------------------------- Mag. Markus Hanel Rottweilerstra_e 29 A-6460 IMST 0650 - 7847941 markus.hanel@xxxxxx ----------------------------
|
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
|