RE: [xsl] problem with d-o-e in attribute

Subject: RE: [xsl] problem with d-o-e in attribute
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Sun, 25 Apr 2004 01:53:30 +0200
> -----Original Message-----
> From: phdrix [mailto:pdrix@xxxxxxxxxxxx]
> 
> >>No, I must find a mean to obtain :
> >>
> >><foo bar="&apos;bar&apos;"/>
> >>
> >>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('&amp;','apos;bar','&amp;','apos;')}" />

Hope this helps!

Cheers,

Andreas

Current Thread