List Info

Thread: Question on OOo string conversion to XML syntax




Question on OOo string conversion to XML syntax
user name
2007-08-17 05:16:16
Hi all,

I don't know if this is the right list, but it seems the
more suitable 
for the question.

I'm currently implementing issue 59651 [1].

In the ISO standard the issue refers to, there is some XML
stuff that 
should be streamed into the PDF using XML syntax.

What I'm looking for is:
- the code that does a simple text string conversion, for
example,  from 
'<' to '&lt;' or from '>' into '&gt;'
- the code that formats the dates and times into the form: 
'2007-08-15T00:00:00'

The best for text would a conversion that can be started
from the 
OUString class.

I think that most of it should be in xmloff module, can
someone point me 
to the code that already exists?

I can rewrite all from scratch, but it that code already
exists in OOo...

Some hints to start digging the code would be sufficient,
thanks.

-- 
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagnoacca-esse.eu
beppec56openoffice.org
[1] http://qa.openoffice.org/issues/show_bug.cgi?id=59651

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribexml.openoffice.org
For additional commands, e-mail: dev-helpxml.openoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )