Extra attributes in content.xml dropped

Graeme Pyle <[email protected]> Sun, 26 Jun 2005 03:12:13 +0200
Newsgroups gmane.comp.openoffice.devel.xml
Message-ID <[email protected]>
Hi folks,

I'd like to add extra XML attributes to some of the elements in the 
content.xml file (in a seperate namespace), but I find that if I do so 
and then open+save the doc in OpenOffice, my additional attributes are lost.

I mean to do something like this

<table:table-row graeme:repeat="items as item" ...

This is basically an indication to my software to repeat the "table-row" 
element as many times as there are elements in variable "items", using 
"item" as the looping variable (same as Zope's ZPT concept - 
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixC.stx).

Is there any way I can change this behaviour? Surely OOo should not drop 
attributes it doesn't understand?

Or perhaps someone can suggest a better way to achieve my goal? I want 
to merge row-data into an OOo doc?

Cheers,
Graeme




-- 
Graeme Pyle

Raspberry Solutions

  Email: [email protected]
   Cell: 083 415 1642
Office: (011) 447 5396
    Web: www.raspberry.co.za