Hello,
I am trying to convert a document created in MS Word 2003 saved and saved as xml. Can DynamicPDF take this XML and create a PDF that looks like the document created in Word.
Here is a sample doc created in word.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><?mso-application progid="Word.Document"?><w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:ns0="http://www.AvailSoftware.com/EasyName" w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"><o:DocumentProperties><o:Title>Hello My Name is Jared Egbert</o:Title><o:Author>Jared A Egbert</o:Author><o:LastAuthor>Jared A Egbert</o:LastAuthor><o:Revision>2</o:Revision><o:TotalTime>2</o:TotalTime><o:Created>2005-12-02T00:01:00Z</o:Created><o:LastSaved>2005-12-02T00:01:00Z</o:LastSaved><o:Pages>1</o:Pages><o:Words>5</o:Words><o:Characters>31</o:Characters><o:Company>Avail Software</o:Company><o:Lines>1 </o:Lines><o:Paragraphs>1</o:Paragraphs><o:CharactersWithSpaces>35 </o:CharactersWithSpaces><o:Version>11.5604</o:Version></o:DocumentProperties><w:fonts><w:defaultFonts w:ascii="Times New Roman" w:fareast="Times New Roman" w:h-ansi="Times New Roman" w:cs="Times New Roman" /></w:fonts><w:styles><w:versionOfBuiltInStylenames w:val="4" /><w:latentStyles w:defLockedState="off" w:latentStyleCount="156" /><w:style w:type="paragraph" w:default="on" w:styleId="Normal"><w:name w:val="Normal" /><w:rsid w:val="00F260D8" /><w:rPr><wx:font wx:val="Times New Roman" /><w:sz w:val="24" /><w:sz-cs w:val="24" /><w:lang w:val="EN-US" w:fareast="EN-US" w:bidi="AR-SA" /></w:rPr></w:style><w:style w:type="character" w:default="on" w:styleId="DefaultParagraphFont"><w:name w:val="Default Paragraph Font" /><w:semiHidden /></w:style><w:style w:type="table" w:default="on" w:styleId="TableNormal"><w:name w:val="Normal Table" /><wx:uiName wx:val="Table Normal" /><w:semiHidden /><w:rPr><wx:font wx:val="Times New Roman" /></w:rPr><w:tblPr><w:tblInd w:w="0" w:type="dxa" /><w:tblCellMar><w:top w:w="0" w:type="dxa" /><w:left w:w="108" w:type="dxa" /><w:bottom w:w="0" w:type="dxa" /><w:right w:w="108" w:type="dxa" /></w:tblCellMar></w:tblPr></w:style><w:style w:type="list" w:default="on" w:styleId="NoList"><w:name w:val="No List" /><w:semiHidden /></w:style></w:styles><w:shapeDefaults><o:shapedefaults v:ext="edit" spidmax="3074" /><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1" /></o:shapelayout></w:shapeDefaults><w:docPr><w:view w:val="print" /><w:zoom w:val="best-fit" w:percent="95" /><w:dontDisplayPageBoundaries /><w:doNotEmbedSystemFonts /><w:proofState w:spelling="clean" w:grammar="clean" /><w:attachedTemplate w:val="" /><w:defaultTabStop w:val="720" /><w:characterSpacingControl w:val="DontCompress" /><w:optimizeForBrowser /><w:validateAgainstSchema /><w:saveInvalidXML w:val="off" /><w:ignoreMixedContent w:val="off" /><w:alwaysShowPlaceholderText w:val="off" /><w:compat><w:dontAllowFieldEndSelect /><w:useWord2002TableStyleRules /></w:compat></w:docPr><w:body><wx:sect><w:p><w:r><w:t>Hello My Name is </w:t></w:r><ns0:NAME><ns0:FIRSTNAME><w:r><w:t>Bryan</w:t></w:r></ns0:FIRSTNAME><w:r><w:t></w:t></w:r><ns0:LASTNAME><w:r><w:t>Mc Entire</w:t></w:r></ns0:LASTNAME></ns0:NAME></w:p><w:sectPr><w:pgSz w:w="12240" w:h="15840" /><w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="720" w:footer="720" w:gutter="0" /><w:cols w:space="720" /><w:docGrid w:line-pitch="360" /></w:sectPr></wx:sect></w:body></w:wordDocument>
Word XML to PDF
Re: Word XML to PDF
Support · Dec 5, 2005Hello,
We do not have anything built into our product that is going to read the XML data and convert it to a PDF file. It is possible to read the data out of the XML file using the framework's XmlTextReader, and then create a PDF out of that text.
Take a look at the Simple XML Report example that is downloaded with the evaluation version. Click here to download
the evaluation version.
Thanks,
ceTe Software Support Team
Re: Word XML to PDF
Forum member · Dec 5, 2005My problem is this. We want to be able to provide an interface for a customer to create template documents with complex formatting that can be populated dynamically and produced as a PDF doc from our server.
I found in MS-Word 2003 that I can create an XML Schema that will give a Customer the ability to create a document, format the document as they please, then use the Schema I provide to them to set up the document as a template.
I can then replace the fields designated in the template with values from our database.
(Here is where you come in) Once the file as been populated with the values from the database, I need to produce the resulting xml document as a PDF for the customer.
My question is if I can’t use word do you offer a product or products that will meet these requirements?
I saw the simple XML Report and It looks like I will have to write code to format the data from my end. I need something that can read the XML and format the data with out having to code it myself.
Re: Word XML to PDF
Support · Dec 5, 2005We do not have a product that would allow you to automatically format a PDF document based on a given XML document. Using our Generator product you would need to parse through your XML file and then create the PDF document as desired according to the information parsed from the XML file.
Thanks,
ceTe Software Support Team