On Wed, 13 Mar 2002, Robin Berjon wrote:

> 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 :-)

OK, I'll email xsp-dev and find out what Cocoon does.

-- 
<!-- Matt -->
<:->Get a smart net</:->


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

Reply via email to