On Monday 21 March 2005 19:02, Enrique wrote:
> Hi,
> I am new to OOo macro programming.
> I am designing a template for enterinh exam questions and exporting them
> in a format suitable for an e-learning tools to import them.
>
> I am using XHTM or HTML export, but I have a problem with each of them
>
> a) If I use HTML export, all �,�,� etc. letters (I write in Spanish)
> become into character entities á,é etc.
> I would like to preserve the letter and use charset encoding
> (iso-8859-1) to indicate it. I do have changed it in Tool>options>HTML,
> but with no success.
>
> Is there a way to modify this behavior? not having � converted to
> á automatically?
>
> b) Exporting into XHTML does the above trick, preserving �,�,� etc. (if
> I specify iso-8859-1 in xsl), but the formatting of the text is all
> encoded with <span class="xxx" > tags, and I need plain simple <b>, <i>
> etc. It is a mess to try to change them in a macro.
>
> Again, is there an easy way to modify this?
I think that you have a least 2 options :
1) write your own post-processing script to take the XHTML and remove the
extra "spans"; or
2) change the XSLT in openoffice.org/share/xslt to ooutput what you are
expecting. This option is probably harder that the first.
--
CPH : openoffice.org contributor
Maybe your question has been answered already?
http://user-faq.openoffice.org/#FAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]