[opencms-dev] Content of a XML field
siegfried.puchbauer at gmail.com
Wed Oct 19 18:21:34 CEST 2005
I think what you need is <cms:contentshow element="XMLFIELDNAME" />... If
this field is a vfsfile (a pic or sth else) you should use
<cms:link><cms:contentshow element="XMLFIELDNAME" /></cms:link> in the src
attribute of your img-tag
<cms:contentload ... >
<img src="<cms:link><cms:contentshow element="theimage"/></cms:link>"
2005/10/17, Inmaculada Piquero Buedo <inpibu at hotmail.com>:
> I´ve created a XML file, with its JSP and XSD file.
> I´d like to know which cms tag should I use to get the "content" of an XML
> As example, in my XSD I have an image, if I use one of the following
> sentences, I get the path, not the image itself:
> <cms:include file="uno.html" element="Image" /> or
> <cms:include property="template-elements" element="Imagen" />
> The string I get in the screen is something like this:
> /sites/default/ … /change_properties.JPG -> The path of the image
> but I´d like to get the picture.
> What sentence could I use?
> I´ve been looking information about the JSP taglib, but I haven´t find
> anything. I´ve read something about "cms:content", but I´m not sure of how
> to use it.
> Thanks in advance.
> Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu
> ocio con MSN Entretenimiento. http://entretenimiento.msn.es/
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opencms-dev