[opencms-dev] test value of a field in XML content template

Tim Howland thowland at organic.com
Tue Jul 26 18:09:31 CEST 2005


Hey all- 

I'm trying to test against a boolean field in an XML content template. I
ran across Ulrich's post: 

Hi all, 

I need to check the value of a xml element of type "OpenCmsBoolean" in a

xml-content while processing: 

    ... 
    <TableOfContents>true</TableOfContents> 
    ... 

The opencms taglib allows to check for the element itself using 
<cms:contentcheck ifexists="TableOfContents">, but not for the value of
it 
(true|false). 

Any ideas? 

Thanks and regards 
Ulrich 


I'm having the same issue. Does anyone have this worked out yet? I
couldn't find anything in the list... 

Thanks! 

Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050726/f7244bb9/attachment.htm>


More information about the opencms-dev mailing list