Hi Valerie
 [email protected] is probably the wrong mailing list for such questions as 
we really help with using OOo as an application here. However I think 
[email protected] is where the XML experts "live". Do not forget to 
subscribe to those mailing lists by going to http://xml.openoffice.org -> 
"Mailing lists" 


On Thursday 24 March 2005 15:14, Valerie Nyre wrote:
> Hello Mr. DuCharme
>
>
> Thanks for your quick reply -
>
>
> I am not quite sure if using CDATA is in all cases "cludgy", perhaps it
> is. So I am very happy if you can give some advice.
>
>
> We want to produce xml files to be transformed by Maven the xdoc-plugin
> to HTML. It requires particular xml tags. Maven even recommends using
> CDATA to allow programmers to enter text that should not be interpreted
> as XML.
>
>
> Editing these xml files using a text editor is one option. The
> programmers who want to show their coding examples just cut and paste
> them into an element with a CDATA section. As our web administrator
> recommended this to prevent the web server components from interpreting
> the embedded code.
>
>
> I thought of offering OpenOffice documents as templates which will be
> transformed (exported) to the Maven xdocs format. But this is what I
> get:
>
> <p>Here is a coding example </p>
> <source><![CDATA[
>
> coding example &lt; &gt; $%&amp;/()= coding example $%&amp;/()= coding
> example $%&amp;/()=
>
> ]]></source>
>
>
> I am looking for a solution, because I want to propogate using
> OpenOffice in our company. Depending on the skill levels required I need
> to know whether or not to ask for a Java programmer.
>
> Some ideas:
>
> 1.
> Enhance OpenOffice to enable the stylesheet element <xsl:output> to use
> the attribute cdata-section-elements - so that text can be passed thru
> without changes.
>
>
> 2.
> Find another element in OpenOffice which normal users can easily edit.
> (It is hard enough to convince users to actually "use" the paragraph
> styles) Is there some useful mechanism in OpenOffice to enter
> passthru-coding, which will not be converted to escaped text?
>
>
> 3.
> Try to intercept how the Writer converts certain paragraph styles to XML
> and prevent character escaping
>
>
> 4.
> Write a post-processing script that scans elements and replaces data -
> which is probably what I will do.
>
>
>
> I am very interested to hear your ideas and want to thank you for taking
> the time to read and respond.
>
>
> Sincerly,
>
>
> Valerie Nyre
>
> Valerie Nyre wrote:
> > Hello out there !
> >
> > As an ordinary user of Openoffice i am defining a simple XSLT-stylesheet
> > to export an Openoffice Text Document.
> >
> > I want to wrap text of the element "text:p" with the attribute
> > "text:style-name='PreformattedText'" into a CDATA-section. The problem I
> > cannot solve at the moment is: to  prevent the OO-Writer from escaping
> > special characters (such as < and > with the entities "&lt;" and "&gt;")
> >
> > What skills are necessary - and at which point must I define this
> > behaviour in OpenOffice ?
> >
> > Thanks for any helpful hints
> >
> > Valerie Nyre
> >
> > H�usern, Black Forest, Germany
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
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]

Reply via email to