[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: collapsable / expandable tree in XSL

Subject: Re: collapsable / expandable tree in XSL
From: Mael Guillemot <Mael.Guillemot@xxxxxxxx>
Date: Tue, 11 Mar 2003 17:51:56 +0100
mael guillemot
Hi Jarno,

I agree with you: The XSLT engine in the browser is perfectly correct.

I went through the archive mails on "disable-output-escaping" and the majority of posts deal with how to insert html abreviations like &lt;,  &apos; 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 (simple ex. http://www.idiap.ch/~guillemo/JAVASCRIPT/dynapi/docs/examples/TEST.xml against http://www.idiap.ch/~guillemo/JAVASCRIPT/dynapi/docs/examples/collapsemenu1.html)

Any idea is welcome, thanks a lot,

Maël


Jarno.Elovirta@xxxxxxxxx wrote:

> Hi,
>
> > The problem is one <DIV> tag which does not end. I use <xsl:value-of
> > select="$div0"/> where div0  is &lt;div
> > id="CollapseMenu0Block0"&gt; But
> >
> > the browser prints it instead of process it. The author of the
>
> The XSLT engine in the browser is perfectly correct in not creating an element node, because what you're asking is a text. See the XSLT FAQ on disable-output-escapeing and rewrite the stylesheet to generate a *node tree* instead of text that is start end end tags.
>
> Cheers,
>
> Jarno - Velvet Acid Christ: Malfunction (Destructive mix by Funker Vogt)
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.