Hello,

this is a post originally made to the users list, but it went under in the 
noise and likely is more appropiate here:

please consider the following situation: 

We have an XML schema defined and files according to that schema. In MS Office 
2003 it's possible to associate a document with this schema of our own making 
and open/edit these.

It's possible to add tags and content and have Word verify and show the 
document structure and validity on the fly. 

When the document is saved, the resulting XML contains the XML tags from our 
schema, just put into a namespace. In fact, the Word XML file refers to our 
schema. The both schemas of Word and our schema can be seen as overlayed. 
It's very easy to extract the XML data document from that, and Office seems 
to allow to make "data only" saves of the XML.

Even better: In the XML SDK for Office there is a tool that accepts a Word 
file as input, and creates a transformation from our XML data files into Word 
XML documents well formatted and attaching corporate identity and stuff, 
which would allow to automate things with xsltproc.

The question I have now. Can the same be done with ODF? My research in the XML 
project documentation showed that it would not. And also that Writer would 
not even allow such tags in a different namespace to persist a open/save 
cycle. Is that a shortcoming of ODF or an implementation detail? 

And I think I saw that OOo would not have a validating XML parser, which would 
be a pre-requisite.

As we are planning to use this work flow, I want an idea, if there any chance 
or plan that oowriter could be used in the same way.

Best regards,
Kay Hayen

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

Reply via email to