I use a xml file to exchange data between a client and a server. Now I need to transfer a rptdesign file from the client to the server via this xml file.
First I thought of embedding the rptdesign file as CDATA, but since the rptdesign file might contain CDATA itself this it not a good idea (nesting CDATA is not allowed, there are workarounds though):
On 11/15/2011 4:13 AM, js wrote:
> I use a xml file to exchange data between a client and a server. Now I
> need to transfer a rptdesign file from the client to the server via this
> xml file.
>
> First I thought of embedding the rptdesign file as CDATA, but since the
> rptdesign file might contain CDATA itself this it not a good idea
> (nesting CDATA is not allowed, there are workarounds though):
>
> http://www.w3schools.com/xml/xml_cdata.asp
> http://web-design.blogs.webucator.com/2010/11/20/nesting-cdata-blocks/
>
> Optionally the data can be encoded using eg. base64.
>
> Now to my question does the birt api/runtime offer any tools for
> embedding rptdesign files into eg. xml files?