forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject RE: Question: adding formatting for 'xml' conent of source element
Date Tue, 10 Jun 2003 08:02:24 GMT
Mikael Sitruk wrote:
> David hi
> 
> The <source><![CDATA[ - is not working, since the element inside are not
> interpreted as element!
> For example:
> <source><![CDATA[
> <function name="AA">
> dsdsd
> </function>
> ]]>
> </source>
> 
> In XSL: 
> <xsl:template match="source">
> <xsl:value-of select="function"/>
> </xsl:template>
> 
> This will return nothing since the XML processor doesn't understand the
> CDATA content as XML but as string.


I understand now, thanks.

This is just a wild guess, but i wonder if the Chaperon parser will be of help.
See the examples in cocoon-2.1 and the documentation at chaperon.sf.net
Chaperon is shipped with Forrest - i think that the cwiki pipelines use it.

--David



Mime
View raw message