On Tuesday 12 March 2002 21:56, Matt Sergeant wrote:
> At the moment you get a syntax error if you go:
>
>   <xsp:comment>
>    <p>
>     Some stuff I wanted to have as a HTML comment in the output...
>    </p>
>   </xsp:comment>
>
> Which seems broken to me. Perhaps my expectations are too high, but I want
> that to do:
>
>   <!--
>    <p>
>     Some stuff....
>    </p>
>   -->
>
> Now in order to do that I have to turn all the elements into text, which
> may be beyond the scope of things here. What do people think?

I wouldn't expect the above to occur. My basis for that is that xsl:comment 
will use the _string value_ of its content to produce a comment. Thus, in 
XSLT, your example would produce

   <!--
    Some stuff....
  -->

I would probably expect XSP to behave in a similar manner. This, however, is 
just a data point about XSLT, and I don't really mind either way :-)

-- 
_______________________________________________________________________
Robin Berjon <[EMAIL PROTECTED]> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
-----------------------------------------------------------------------
The computer can't tell you the emotional story.  It can give you the
exact mathematical design, but what's missing is the eyebrows. 
-- Frank Zappa


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to