[opencms-dev] XML Content: Binary Data Type

Sebastian Himberger sebastian.himberger at gmx.de
Tue Jun 17 11:01:51 CEST 2008


Hi Peter,

you could also develop your own A_CmsXmlContentValue to store encoded
binary data. Maybe you have to implement a widget too.. this could
result in quite a bit of work. AFAIK there's no out of the box feature
in OpenCms.

best regards,
Sebastian

Georgi Naplatanov schrieb:
> Hello, Peter.
>
> In case the binary data is stored into a xml file it will be more
> complex to access this data.
>
> The only possible workaround is to store file name of binary file into
> xml file like pictures of news example/module which comes with OpenCms.
>
> Best regards
> Georgi
>
> Peter Birchmeier wrote:
>   
>> Hi all,
>>
>> I'm wondering whether OpenCms provides support for binary data in XML 
>> content. The thing is, I'm thinking about storing binary data like JPG 
>> pictures inside a XML document. I am aware of the fact that XML is not 
>> the ideal carrier for binary data. However, I see clear advantages. Data 
>> which belong only to one particular XML document could be stored 
>> coherently at one place. I accept all the circumstances caused by the 
>> handling of coding and decoding (base64 or whatever mechanism is used) 
>> of binary data inside XML.
>>
>> I rather don't suppose that there is a widget for binary data inside 
>> XML... which could sway me to develop a widget by myself.
>>
>> kind regards,
>> Peter
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>     
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>   




More information about the opencms-dev mailing list