[opencms-dev] XPath for current element in contentloop?

Matthew Fremont matthew at cyclepaths.com
Tue Mar 28 01:42:34 CEST 2006


How can I obtain the XPath for the current element in a contentloop?

For example, "Model" is the name of the nested element I'm looping over, 
and the XPath for these elements should be Model[1], Model[2], etc. Is 
there a simple way to get this XPath?

I'm using OpenCms 6.2-beta.


Thanks for your assistance,

Matthew Fremont



More information about the opencms-dev mailing list