[EMAIL PROTECTED] wrote: > Hello, > > as I just read in the book “iText in action” that > there is no schema or DTD for the XML, iText is able > to process, right?
That is still correct. > Has anyone created a schema for himself? I've asked this question myself ;-) > Or is there any kind of great example XML, containing > most of the allowed tags? In previous iText versions, you had to go to every separate 'basic building block' and look for the constructor that takes a Properties object as parameter. As a first step in the direction of better XML support, I deprecated all those constructors and created a (not yet documented) class ElementFactory in the package com.lowagie.text.factories In that class you'll find an indication of all the objects that are supported and which attributes are taken into account. There's still a lot of work to be done in that area, but it could already be a help if you plan on writing a dtd or xsd file. br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
