|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Engaging PDF reports with interactive graphsHi My company is looking to use the IText library to dynamically create PDF & HTML reports using an xml datasource. The xml datasource we are using is quite complex and I have found that the IText xml processing does not handle the xml we are using. Is there any addons or xml processors that you know of that can parse complex xml for the IText library ? Nicholas R. Staples Trainee Software Architect nicholas.staples@... Tel UK: +44 208 515 1469 _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.verizonbusiness.com/uk ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ |
|
|
Re: Engaging PDF reports with interactive graphs"iText In
Action" has a chapter on customized XML parsing.
Basically:
XMLParser.parse( document, pathToXML, tagMap
);
tagMap
creates a mapping from XML tags to iText elements, with attribute definitions
and so on. It maps String to XMLPeer. There's quite a bit of detail
in there, well worth the investment.
--Mark Storer #include <disclaimer>
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ |
|
|
Re: Engaging PDF reports with interactive graphsHi
I have purchased the IText book, but from what I read you were unable to map xml tags with specific attribute values to different IText elements. Correct me if I'm wrong but because the tagMap is mapping from String( xml tag name ) to IText element , there is no way to distinguish between the different xml tags depending on their attributes because the xml tag attributes are not parsed into that string name. What I am looking for is a way of parsing an xml file where i can map xml tags with specific attribute values into IText elements. For instance <?xml version="1.0" encoding="iso-8859-1"?> <document> <paragraph type="blue"> <table type="2"/> </paragraph> <paragraph type="red"> <table type="1"/> </paragraph> </document> <tagmap> <tag name="itext" alias="document" /> <tag name="paragraph" alias="paragraph" type="blue" /> <tag name="table" alias="table" type="2" />
|
| Free embeddable forum powered by Nabble | Forum Help |