On 24.10.2006 16:58 ashok _ wrote

> I have run into problems with the XSLT transforms into the required
> format.... is there a better way to do this...something other than
> using custom styles...?

I would recommend you grab "OASIS OpenDocument Essentials" from
http://books.evc-cit.info/odbook/book.html

and the OpenDocument specs themselfes:
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office

In the latter you can find the

        Heading Level

        The text:outline-level attribute associated with the heading    
        element determines the level
        of the heading, starting with 1. Headings without a level
        attribute are

and the text:display-outline-level

        6.3.8 Declaring Sequence Variables
        
        Sequence variables are used to number items within an
        OpenDocument text document.
        Sequence variables are most commonly used for sequential
        numbering. However, expression
        formulas can be included in sequence fields to support more     
        advanced sequences. See section

        • text:display-outline-level
        See following section Outline Level for information about this  
        attribute.

As for XSLT there is very nice documentation at: http://zvon.org
http://www.dpawson.co.uk/xsl is full of XSL-T wonders. Very nice site!
http://www.w3schools.com/xsl has also a nice and easy documentation.
Or http://www.topxml.com/xsl/

They describe how you could do sub-string matching on your heading-names
with a little bit of programmatic sequencic sequencing in your XSL-T, if
the outline-level attributes do not fit your needs.

> I was also wondering if there was a way to force openoffice to save
> its output as nested hierarchial xml....?

As far as I know the way described in the specs is the way OOo does do
all the outlining of hirarchies.

-- 
Bye,
Andreas M.

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

Reply via email to