OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

opendocument-users message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [opendocument-users] table:table required elements


Thank you Richard.

I'm fine with xslt, what bothers me is that emacs gives me an error in that minimal office document that I created by hand after opeining a flat ods file.

Jean-Christophe 

> On Feb 1, 2020, at 13:37, Richard Hopp <mail@mrhopp.com> wrote:
> 
> FYI - https://en.wikipedia.org/wiki/XSLT ' other than that I'm only a simpleminded code monkey.
> 
> 
> Sincerely,
> 
> Richard Hopp
> 
> 
> On Fri, Jan 31, 2020 at 7:50 PM Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org> wrote:
> I'm working on an xslt transformation to create a conversion/save-as action in Calc and I started by creating a basic table to see what were the minimally required elements.
> 
> The reference I use is OpenDocument-v1.2-os-part1.html
> And I edit the XML in emacs with nxml mode.
> 
> emacs keeps telling me that <table:table> has required contents and I can't find such information in the reference.
> 
> My sample table is (without the "office:document" headers):
> 
>   <office:body>
>     <office:spreadsheet>
>       <table:table>
>         <table:table-header-rows>
>           <table:table-row>
>             <table:table-cell>
>               <text:p>en</text:p>
>             </table:table-cell>
>             <table:table-cell>
>               <text:p>ja</text:p>
>             </table:table-cell>
>           </table:table-row>
>         </table:table-header-rows>
>         <table:table-rows>
>           <table:table-row>
>             <table:table-cell>
>               <text:p>%1$d Attachments</text:p>
>             </table:table-cell>
>             <table:table-cell>
>               <text:p>%1$d åãæäãããã</text:p>
>             </table:table-cell>
>           </table:table-row>
>         </table:table-rows>
>         </table:table>
>       </office:spreadsheet>
>     </office:body>
>   </office:document>
> 
> Are there any pointers regarding this issue ?
> 
> Jean-Christophe Helary
> -----------------------------------------------
> http://mac4translators.blogspot.com @brandelune


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]