[opencms-dev] [XSD, content rendering] Beginner question - I receive "??? xyz ???" when accessing xml elements

mailinglists mailinglists at pcom.at
Wed Sep 24 17:38:15 CEST 2008


Thanks for the feedback!

Your hint and an some more api source reading did the trick ... and 
opened a new question ([locale vs. language when accessing content] 
OpenCMS does only use the language and does not handle Locales properly?)

br,
Philip

Florian Gutmann wrote:
> cms:contentcheck should be what you are looking for.
>
> Normally i read structured contents something like this:
>
> <cms:contentload collector="singleFile" param="${file}" editable="true">
> 	<cms:contentcheck ifexists="Content/Title">
> 		<h3><cms:contentshow element="Content/ Title "/></h3>
> 	</cms:contentcheck>
> </cms:contentload>
>
> --
>
> Florian
>
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von mailinglists
> Gesendet: Dienstag, 23. September 2008 19:09
> An: opencms-dev at opencms.org
> Betreff: [opencms-dev] [XSD, content rendering] Beginner question - I
> receive "??? xyz ???" when accessing xml elements
>
>   
[...]
  How to check is a content item does really contain a specific element.
[...]



More information about the opencms-dev mailing list