Parse an XML file and convert it on PDF document.
Parse an XML content using the PHP XML parser functions then convert it on PDF document using FPDF.
For each tag XML, the parser try to instantiate the corresponding object searching it in the tag plugin directory. eg, to a tag named custom, it'll search the file xml2pdf.tag.custom.php, then it'll instantiate the class Xml2PdfTag_custom.
The tag plugins class must have the following method :
To simplify the plugin class code, you can extends your plugin class with Xml2PdfTag or Xml2PdfTextTag.
Located in /Xml2Pdf.php (line 108)
True if the tag does not be parsed.
object Pdf.
tags stack.
XML content.
Convert an hexadecimal color on RGB color.
Show an error message.
It's also the exception handler.
Constructor.
Build the document.
Parse the XML content, build the PDF document then return it.
Parse the XML content.
Parse the XML content using PHP XML parser functions.
Parse closing tags.
Call the method close() of the last tag of the tags stack.
Parse the tag content.
Call the method addContent() of the last tag of the tags stack.
Parse the opening tag.
Try to instantitate the tag plugin class.
Documentation generated on Wed, 11 Oct 2006 22:27:17 +0200 by phpDocumentor 1.3.0