|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: collapsable / expandable tree in XSL
[Mael Guillemot] > I went through the archive mails on "disable-output-escaping" > and the majority of posts deal with how to insert html > abreviations like <, ' instead of < , '. So I tried > different ways: > => <xsl:text disable-output-escaping="yes"> <![CDATA[ > <div id="CollapseMenu0Block2"> ]]> </xsl:text> ) > => using <xsl:output method="text"/> or <xsl:output > method="html"/> at the begining of the stylesheet > => <processing-instruction name="html"> <![CDATA[ <div > id="CollapseMenu0Block2"> ]]> </processing-instruction> > > but the browser still prints the tag instead of generating an > node tree and processing it You would be better off to figure out how to get your output without using d-o-e. Undoubtedly it can be done. The stylesheet has to be organized so as to create well-formed fragments (that is, complete elements). I have made collapsing trees using javascript and css, using xslt to create the nested <div> elements, and I did not have to use d-o-e to do it (my method requires the browser to have a decent DOM, though, so it only works with recent versons of IE and Mozilla-based browsers). It seems that you want to create the referenced results but not to use the referenced javascript libraries. There is therefore no reason to rely on outdated html-specific (and probably invalid) notions such as not closing div elements. Cheers, Tom P 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
|

Cart








