[opencms-dev] CmsXmlTemplateFile

Stephan Hartmann hartmann at nads.de
Thu Nov 9 15:48:57 CET 2000


Hello,

i've got a question to the developers of opencms.

In a class extending the CmsXmlTemplate i am overwriting the getContent 
method.
I want to use this class for a construction like this:

<XMLTEMPLATE>
<TEMPLATE>
....
<ELEMENT name=“test“/>
....
</TEMPLATE>
<ELEMENTDEF name=“test“>
<CLASS> myXmlTemplateClass </CLASS>
</ELEMENTDEF>

<definitions>
some data
</definitions>

</XMLTEMPLATE>

Now, in this getContent method i want to access not only methods from the 
template returned by getOwnTemplateFile, but also methods of the 
mastertemplate in which this element is defined in to get the data 
defined in the „definitions“.

Can anybody help please?

Greetings 
Stephan Hartmann




More information about the opencms-dev mailing list