[opencms-dev] contentloop and nested xml content

Alexander Kandzior alex at opencms.org
Wed Jun 1 09:49:51 CEST 2005


Bernd,

There is of course a "native" XML content API which you can use to access
the XML content in scriptlet code. This is the API which is e.g. used by the
<contentloop> tag implementation.

The best documentation for this is the JavaDocs of the
org.opencms.xml.content packages, plus the Junit test located in
test/org.opencms.xml.content. Have a look on the TestCmsXmlContentWithVfs
class there.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Bernd Wolfsegger
> Sent: Tuesday, May 31, 2005 6:57 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] contentloop and nested xml content
> 
> Hi all,
> 
> well o.k. it's only possible to get hands on nested content 
> via the contentloop tag.
> But there is a problem. I have a nested contentdefinition 
> which itself has multiple occurences in the parent content 
> definition. How can I access a specific occurence of this 
> multiple occurences and its nested content?
> the contentloop tag does not work with an index like the 
> contentshow tag.
> 
> Does anybody know how to get at such structured content (no 
> workaround) ? :)
> 
> Kind regards, Bernd
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list