[opencms-dev] XmlPage

crisTian cristianlp at gmail.com
Wed Jul 6 19:11:19 CEST 2005


Hi all,
I want to iterate a folder with some xmlPages, read and compose them into a 
single file. I tried do it with the tags contentload and contentshow, but 
without success yet...

This is an example of one xmlpage that I want compose:

<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="http://www.opencms.org/dtd/6.0/xmlpage.xsd"<http://www.opencms.org/dtd/6.0/xmlpage.xsd%22>
>
<page language="de">
<element name="text1">
<links/>
<content/>
</element>
</page>
<page language="en">
<element name="text1">
<links/>
<content><![CDATA[some text]]></content>
</element>
</page>
</pages>

Some code of my "composer" look like this:

<cms:contentload collector="allInFolder" param="${opencms.uri}|xmlpage">
<cms:contentshow element="text1"/><br>
</cms:contentload>

I have one index page with the template property set to my JSP page 
(composer)...

Somebody knows what I'm doing wrong ?

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050706/ae56b86e/attachment.htm>


More information about the opencms-dev mailing list