I am looking for documentation on the XML parser in ItextSharp, I heard there was a dtd years ago but this seems to be defunt. Does anyone know where I can find out all the valid tags and references?
I am using ItextSharp with Spark
Thanks
When in doubt, use the source. Poking around in my copy of the current iText source, I see that the only SimpleXMLDocHandler
available is HTMLWorker
.
And if you look at the source for HtmlTags.cs, you'll see all the tag and attribute constants HTMLWorker
uses.
It's not exactly comprehensive, but is going to be getting some Enhancement in the immediate future.
I don't see a 4.1.2 tag, but there's one for 4.1.6 in the iTextSharp project on SF. It shows ITextHandler using a bunch of constants from ElementTag
in HandleStartingTags()
. It also uses ElementFactory to build the various supported tags. Looking at the source for each function will tell you which attributes it supports.