[opencms-dev] Content access in OpenCMS
Olli Aro
olli_aro at yahoo.co.uk
Thu Mar 27 18:58:38 CET 2003
cms.readFile(String uri) gives you the CmsFile object. However this is the
control file, but you can get the content xml with combining the classes
CmsXmlControlFile,
CmsElementDefinitionCollection,CmsElementDefinition,CmsXmlTemplateFile...
Olli
> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org
> [mailto:owner-opencms-dev at www.opencms.org]On Behalf Of ambiesense at gmx.de
> Sent: 27 March 2003 17:40
> To: opencms-dev at www.opencms.org
> Subject: [opencms-dev] Content access in OpenCMS
>
>
> Hi,
>
> how can I easily access a certain content (i.e. a XML file) in OpenCMS's
> VFS, when I have the position (i.e. /Test/myExample.xml).
>
> Is CmsFile the right class to do that? Is seems very complicated to build
> such an Object. Is there an easier way for which I only need the
> position in
> the VFS - maybe a factory ?
>
> cheers
> Ralf
>
> --
> +++ GMX - Mail, Messaging & more http://www.gmx.net +++
> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
>
More information about the opencms-dev
mailing list