Hi Dave,

Dave Pawson wrote:
> 1. The spec itself is XML.
> 2. An xslt stylesheet is used to 'filter out' only those wanted
> elements, the schema.
> 3. They are then gathered into appropriate bundles.
> 
> http://www.dpawson.co.uk/xsl/sect2/documentation.html may help.

Thanks for that. I guess in the case of the ODF spec, the xslt export filter
should be simple-ish; all it has to do is write all text in style "RelaxNG"
to a new schema.rng file (as a raw text dump).

I've been googling around to find an example of how to do this, as I know
little of xslt. For example, the first schema line from the spec's
content.xml:

   <text:p text:style-name="RelaxNG">&lt;?xml version=&quot;1.0&quot;
encoding=&quot;UTF-8&quot;?&gt;</text:p>

It needs to reolve all the &lt stuff too I guess, unless XSLT export does
that automatically.

Do you (or anyone) know if the original script/stylesheet used by the ODF
spec guys is available? Or where I could start looking for a sample
style-based export filter stylesheet?

Cheers!

    Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to