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


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



---------------------------------------------------------------------
To unsubscribe, e-mail: opendocument-users-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: opendocument-users-help@lists.oasis-open.org



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