Using ODF Relax NG schema to generate easier XML writing classes

Jos van den Oever jos.van.den.oever at kogmbh.com
Fri Jun 10 11:49:18 BST 2011


On Friday, June 10, 2011 08:22:04 AM Jos van den Oever wrote:
> Can you think of a reason why this would not work?

I can now. The circular nature of element nesting make is harder to create 
these classes. E.g. office:document can have (at some depth) a "office:image" 
which can have an "office:document" inside.

Who can think of an elegant solution for this?

Find my first attempt attached.

Cheers,
Jos

-- 
Jos van den Oever, software architect
+49 391 25 19 15 53
074 3491911
http://kogmbh.com/legal/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ODFWriter.h.bz2
Type: application/x-bzip
Size: 25718 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20110610/48025be7/attachment.bin>


More information about the calligra-devel mailing list