PDF-FromHTML - To remove o:p in PDF from HTML

Posted on Mon Aug 27 17:33:27 2007 by gurunathan
To remove o:p in PDF from HTML
I have an auto-generated HTML file, as an output from a HTML template, which contains XML tags like o:p The HTML template has some formulae in it which uses the application's data and produces the HTML output. I use a PDF transformer which reads the html file and transforms the output to PDF. While doing so, it does not recognize the o:p tag and prints the same as it is. I understand from the microsoft site that these xml tags used in HTML are understood and translated only by MS-word and I guess non-MS applications like my PDF transformer will not recognize it. I tried removing the XML part from the source HTML template but still the HTML output file has the o:p tag in it. Here are the xml code in the source html template file...Can someone help?
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <!--[if gte mso 9]><xml> <o:DocumentProperties> <o:Author>shaddad</o:Author> <o:LastAuthor>GFBN</o:LastAuthor> <o:Revision>2</o:Revision> <o:TotalTime>1475</o:TotalTime> <o:LastPrinted>2007-07-27T14:12:00Z</o:LastPrinted> <o:Created>2007-08-27T14:06:00Z</o:Created> <o:LastSaved>2007-08-27T14:06:00Z</o:LastSaved> <o:Pages>1</o:Pages> <o:Words>130</o:Words> <o:Characters>741</o:Characters> <o:Company> </o:Company> <o:Lines>6</o:Lines> <o:Paragraphs>1</o:Paragraphs> <o:CharactersWithSpaces>910</o:CharactersWithSpaces> <o:Version>9.6926</o:Version> </o:DocumentProperties> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Print</w:View> <w:Zoom>BestFit</w:Zoom> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> </w:WordDocument> </xml><![endif]-->
regards gurunathan
Write a response