Hi,

> How can I insert content of file.xml into textarea?
You can use the cinclude Transformer:
http://cocoon.apache.org/2.1/userdocs/transformers/cinclude-transformer.html

something like this:

bar.xml:
<html>
<body>
<textarea>
  <cinclude:include src="foo.xml"/>
</textarea>
</body>
</html>

sitemap:
<map:match pattern="bar">
  <map:read src="bar.xml">
  <map:transform type="cinclude"/>
  <map:transform src="stylesheets/page/simple-page2html.xsl"/>
  <map:serialize type="html"/>
</map:match>


-- 
* best regards
* Jens Maukisch              
* http://www.maukisch.net


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

Reply via email to