[opencms-dev] XML Content: Binary Data Type

Georgi Naplatanov gosho at oles.biz
Sun Jun 15 16:30:38 CEST 2008


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




More information about the opencms-dev mailing list