> -----Original Message-----
From: phdrix [mailto:pdrix(_at_)objectiva(_dot_)fr]
>>No, I must find a mean to obtain :
>>
>><foo bar="'bar'"/>
>>
>>beacause in OpenOffice styles.xml file, I have such an attribute,
>>and it must be given as shown above, otherwise OpenOffice crashes
>>when it tries to load the document.
>
>Then I'd report that as a bug.
You are probably right, but I am still puzzled by tis odd problem,
and I want first to make it clear.
Hi,
As a workaround, you could try:
<foo bar="{concat('&','apos;bar','&','apos;')}" />
The problem is not how to construct the XML tree in XSLT, but how to
serialize it.
So, if the XSLT Rec says it is impossible to manage in the way I
would like, I have to report a bug to OpenOffice, and to try a work
araound in another language (eg Java).
Thanks for your help.
Regards --PhD
--
--
Philippe Drix - Objectiva
Consultant Nouvelles Technologies
Objectiva
tel : 01 47 36 60 30
cel : 06 74 78 34 97
fax : 01 47 36 61 93
http://www.objectiva.fr
21-23, rue Aristide Briand
92170 Vanves