开发者

OpenOffice inserted xml not visible for reading (but visible in xml source)

开发者 https://www.devze.com 2023-03-19 00:45 出处:网络
I have problem with generating and inserting xml in existing document. <table:table table:template-name=\"default\">

I have problem with generating and inserting xml in existing document.

 <table:table table:template-name="default">
                <table:table-column />
                <table:table-column />
                <table:table-column />
                <table:table-row>
                  <table:table-cell>
                    <text:p>1</text:p>
                  </table:table-cell>
                  <table:table-cell>
                    <text:p>2</text:p>
                  </table:table-cell>
                  <table:table-cell>
                    <text:p>3</text:p>
                  </table:table-cell>
                </table:table-row>
</table:table>

This code i successfully inserted in document 开发者_如何学编程(and it visible in document xml) but not visible for reading. Bottom line: Inserted xml exists in source, but not visible.

xml table example taken from: http://user.services.openoffice.org/en/forum/viewtopic.php?f=10&t=28229

Note: Generated document xml is valid - no tag mismatch here.

And im using OpenOffice template document (.ott)


Sorry, my bad :) I also was using <table:list> and should first close these tags:

</text:list-item></text:list>
0

精彩评论

暂无评论...
验证码 换一张
取 消