Yes! Pretty good idea Derek! Pretty good! If the developers could put into Cocoon, I'll appreciate it and thank very much them for it!
Luiz On 10/19/07, Derek Hohls <[EMAIL PROTECTED]> wrote: > > "In the worst case scenario you might have to write a piece of > Java code to encode the images as an XML fragment in the same > way as the format requires... no big deal." > > Does it not make sense to add this functionality into the Cocoon core; > at least for handling common formats such as JPEG, PNG etc. This > type of encoding is going to become more widespread (if it is not > already) with the rise of OO and M$ use of XML-based encoding. > > > >>> Philippe Gauthier - INSERM SIRH <[EMAIL PROTECTED]> > 2007/10/19 10:18 AM >>> > Tobia Conforto a écrit : > > Luiz Antonio Falaguasta Barbosa wrote: > > > >> using Cocoon includes putting images into the pure XML files > >> (saved by MS Office 2003) too, right? > >> > > > > If (and only if) those file formats really are valid XML, there's > > nothing in them that Cocoon can't handle. > > > > You will have to figure out how exactly the images are embedded in the > > file (I'd wager in CData sections, but I don't have such a file handy) > > and work to obtain similar results yourself. In the worst case scenario > > you might have to write a piece of Java code to encode the images as an > > XML fragment in the same way as the format requires... no big deal. > > > > > > Tobia > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > For info here is a fragment of office xml 2003 format showing an image > encoded in base64 : > <! --------------------------------- --> > <w:pict> > <w:binData > > w:name="wordml://0300000E.png">iVBORw0KGgoAAAANSUhEUgAAALQAAAAVCAIAAABg71MuAAABvUlEQVR4nO2WwW4CIRCGOexNH8BH > > 2b5ST3ptejFpetVTX0dv8ih9AD3XNRhKBxgGZllIOl9MjCwz8zP+Cww/p5M6n5UgeAwPZ+z3rWUI > > PTKYr+v4chvHtlKEflhpvdaXpzkmZ3xvd20FCf2wOR5+zSEIPmIOIYqYQ4jCMsfX58fr2zt/Dj/W > > ziwImRc37TJrr5cQmgOkwDPWaG5V3OXUdgYzvLkzlBwr89Lt21ImLMMck/tAJbCZmwmIDj9DbJBS > > VKVeCBBrflqRrngbwhSWNR8MxuThtZKDlNK+WgM0B+ga/S9JblzBDMmo4vPbLwc6jldJ2g48xfuT > > XLt9u/DGBs8dfLCs7YbZjhVKMdfa7mCl3ThYLis81x/FYqqeR8VtX/TO4atxN/bZG8RJiAsLPiVu > > gctT3PaAOSi3BybAtrbiMuXo4MJiT3O3HI7CLHLbTt053ET8RhMvccEJRCcFy9F9n3u7xPuDi7GD > > QXnMzpe13RA2B35r80eQGmCdlELJp0Ql+CrwkAJh+Oo4LSVmjoXktt3yxxxV93ahW2JeGSiThP/J > 0xwrrTfHQ1spQj9MflDWHGt9mT5N9QjdcQdyDr1GSkjRjwAAAABJRU5ErkJggk== > </w:binData> > <v:shape id="Image3" o:spid="_x0000_i1028" > type="#_x0000_t75" style="width:135pt;height:15.75pt;visibility:visible"> > <v:imagedata src="wordml://0300000E.png" > o:title=""/> > </v:shape> > </w:pict> > <! --------------------------------- --> > > -- > Philippe Gauthier > INSERM > DRH - SIRH > Tel: 01.44.23.62.57 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- > This message is subject to the CSIR's copyright terms and conditions, > e-mail legal notice, and implemented Open Document Format (ODF) standard. > The full disclaimer details can be found at > http://www.csir.co.za/disclaimer.html. > > > This message has been scanned for viruses and dangerous content by * > MailScanner* <http://www.mailscanner.info/>, > and is believed to be clean. MailScanner thanks Transtec > Computers<http://www.transtec.co.uk/>for their support. >
