Thanks Bruno for the reply.
1. We have not written any Custom dtd/xsd. We were using the iText dtd and the tags mentioned in it. So we are using paragraphs, phrases, tables, rows, cells.. will all this code be useless now?
2. Can you give me more details of the book so that I can check if we have got it in library? any online link you have?
Regards,
Leena
bruno <[EMAIL PROTECTED]> wrote:
bruno <[EMAIL PROTECTED]> wrote:
Leena Kulkarni wrote:
> Did not know of the schema. We used the DTD.
With Schema I meant the selection of tags and attributes,
not an xsd.
> Anyways, if that is obsolete,
Custom iText tags and attributes are obsolete in general.
> 1. what should be our DOCTYPE definition now?
Any custom DTD or XSD you have defined yourself.
> 2. Can we use the xmls anymore as the input?
I have written a book full of examples that use XML as input.
So YES you can use XML as input, but you should not use custom iText
tags/attributes.
> We have & character in the xml in data that we send to the parser.
OK
<>> It is giving exception - org.xml.sax.SAXParseException:
> The entity name must immediately follow the '&' in the entity reference.
> How can we avoid it?
That's a standard exception. You may not use '&' in an XML string.
You need to use & (the same goes for some < and > )
That's general XML knowledge.
> We tried setting the encoding of the InputScource object we
> created from xmlString. But it is not working.
This has nothing to do with encoding; everything with entities.
br,
Bruno
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
