Louis
A
detailed description of these tags is not given here as they are standard
HTML tags. For a good reference on HTML syntax please visit:
http://www.htmlhelp.com/reference/html40/olist.html
How this script works is it takes XML and converts it into PDF.
This means that the HTML code (HTML is a subset of XML) must be 100% clean. ALL tags must be closed - including tags that normally don't need to be closed like the <BR> tag. With this script you must in this example use <BR></BR>
Here are the tags this script currently supports:
<HTML> </HTML>
<HEAD> </HEAD>
<TITLE> </TITLE>
<BODY> </BODY>
<BR> </BR>
<DIV> </DIV>
<IMG> </IMG>
(Only JPEG & PNG files are supported, and they must be in the same folder as the HTML file.)
<FONT> </FONT>
(Font colours MUST be specified in their hexadecimal values.)
<A> </A>
<NEWPAGE> </NEWPAGE>
<P> </P>
<B> </B>
<I> </I>
<HR> </HR>
<BLOCKQUOTE> </BLOCKQUOTE>
<UL> </UL>
<OL> </OL>
<LI> </LI>
This script is not able to convert HTML tables into PDF.
If you would like tables in your document, please create it in an editor like Word or FrontPage, take a screen shot of it, turn it into a graphic and insert it into your HTML source document.
If you're not sure how to do this, post here to let us know and we'll create a tutorial.
A link helpful in verifying XML code is the following:
http://www.xml.com/pub/a/tools/ruwf/check.html
http://www.htmlhelp.com/reference/html40/olist.html
How this script works is it takes XML and converts it into PDF.
This means that the HTML code (HTML is a subset of XML) must be 100% clean. ALL tags must be closed - including tags that normally don't need to be closed like the <BR> tag. With this script you must in this example use <BR></BR>
Here are the tags this script currently supports:
<HTML> </HTML>
<HEAD> </HEAD>
<TITLE> </TITLE>
<BODY> </BODY>
<BR> </BR>
<DIV> </DIV>
<IMG> </IMG>
(Only JPEG & PNG files are supported, and they must be in the same folder as the HTML file.)
<FONT> </FONT>
(Font colours MUST be specified in their hexadecimal values.)
<A> </A>
<NEWPAGE> </NEWPAGE>
<P> </P>
<B> </B>
<I> </I>
<HR> </HR>
<BLOCKQUOTE> </BLOCKQUOTE>
<UL> </UL>
<OL> </OL>
<LI> </LI>
This script is not able to convert HTML tables into PDF.
If you would like tables in your document, please create it in an editor like Word or FrontPage, take a screen shot of it, turn it into a graphic and insert it into your HTML source document.
If you're not sure how to do this, post here to let us know and we'll create a tutorial.
A link helpful in verifying XML code is the following:
http://www.xml.com/pub/a/tools/ruwf/check.html