About the processing instructions: I overlooked that possibility when I wrote some XML2PDF applications. I have to make reports with some text and some tables from a database. I don't know in advance the amount of rows in a table. So I have to parse my XML twice: the first time to replace some <tabledata />-tag in my original XML with actual table data. I could have worked with a processing instruction containing an SQL statement instead of a <tabledata /> tag.
Yes, for that type of import, I agree with you. For this, I think a tag/element is a better approach...At least for my needs.
I've also had troubles with the limitation of the DocListener. Maybe we can deprecate those classes and start anew with your ideas.
I think they serve different purposes. One is for general purpose output for a single input. I am specifically looking at PDF-only output. That's why I am thinking a related/subclass of the existing architecture just extended seems like a good approach. We'll see how it pans out...
As for SVG, I will have to study it. I don't think it will be difficult, but it will probably be a lot of work.
I've done a few SVG parsers already. Since it uses the same imaging model as PDF, it's not that hard. There are a few things that are tricky, but at least well defined. And there are good projects, like Batik, out there to learn from.
Another nice feature would be the possibility to parse a CSS into a TagMap object.
I've been thinking about CSS stuff - but for a future project...
LDR -- --------------------------------------------------------------------------- Leonard Rosenthol <mailto:[EMAIL PROTECTED]> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-629-3700 (voice) 215-629-0789 (fax)
------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
