web stats
Mirth Community - View Single Post - Creating RTF File from Mirth !!!!!!!!!!!!!!!!!!!!!!!
View Single Post
  #5  
Old 02-25-2010, 09:52 PM
srini,chillara srini,chillara is offline
Mirth Newb
 
Join Date: Dec 2008
Posts: 11
srini,chillara
Default Html To RTF

I tried what you have suggested and am getting the following error.

Any thoughts?

Thanks

<!-- error starts here -->
ERROR-401: Document connector error
ERROR MESSAGE: Error writing document
ExceptionConverter: org.xml.sax.SAXParseException: Open quote is expected for attribute "dir" associated with an element type "DIV".
at org.apache.xerces.util.ErrorHandlerWrapper.createS AXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalEr ror(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportErro r(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportErro r(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError (Unknown Source)
at org.apache.xerces.impl.XMLScanner.scanAttributeVal ue(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanAttribute(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser .parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.lowagie.text.html.HtmlParser.go(Unknown Source)
...

<!-- error ends here -->

<!-- Html formatted text -->
<style type="text/css">\.br\ @page { }\.br\ table { border-collapse:collapse; border-spacing:0; empty-cells:show }\.br\ td, th { vertical-align:top; font-size:12pt;}\.br\ h1, h2, h3, h4, h5, h6 { clear:both }\.br\ ol, ul { margin:0; padding:0;}\.br\ li { list-style: none; margin:0; padding:0;}\.br\ <!-- "li span.odfLiEnd" - IE 7 issue-->\.br\ li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }\.br\ span.footnodeNumber { padding-right:1em; }\.br\ span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }\.br\ * { margin:0;}\.br\ .P10_borderStart { font-size:11pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; padding-left:0in; padding-right:0in; padding-top:0.0138in; border-left-style:none; border-right-style:none; border-top-width:0.0351cm; border-top-style:solid; border-top-color:#000000; border-bottom-style:none; }\.br\ .P10 { font-size:11pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; padding-left:0in; padding-right:0in; border-left-style:none; border-right-style:none; border-top-style:none; border-bottom-style:none; }\.br\ .P10_borderEnd { font-size:11pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; padding-left:0in; padding-right:0in; padding-bottom:0.0138in; border-left-style:none; border-right-style:none; border-bottom-width:0.0351cm; border-bottom-style:solid; border-bottom-color:#000000; border-top-style:none;}\.br\ .P11_borderStart { font-size:12pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; padding-left:0in; padding-right:0in; padding-top:0.0138in; border-left-style:none; border-right-style:none; border-top-width:0.0351cm; border-top-style:solid; border-top-color:#000000; font-weight:bold; border-bottom-style:none; }\.br\ .P11 { font-size:12pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; padding-left:0in; padding-right:0in; border-left-style:none; border-right-style:none; font-weight:bold; border-top-style:none; border-bottom-style:none; }\.br\ .P11_borderEnd { font-size:12pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; padding-left:0in; padding-right:0in; padding-bottom:0.0138in; border-left-style:none; border-right-style:none; border-bottom-width:0.0351cm; border-bottom-style:solid; border-bottom-color:#000000; font-weight:bold; border-top-style:none;}\.br\ .P4 { font-size:11pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; }\.br\ .P5 { font-size:11pt; margin-left:0in; margin-right:0in; text-align:right ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; }\.br\ .P6 { font-size:11pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; }\.br\ .P7 { font-size:8pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; }\.br\ .P9_borderStart { font-size:12pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; padding-left:0in; padding-right:0in; padding-top:0.0138in; border-left-style:none; border-right-style:none; border-top-width:0.0351cm; border-top-style:solid; border-top-color:#000000; border-bottom-style:none; }\.br\ .P9 { font-size:12pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; padding-left:0in; padding-right:0in; border-left-style:none; border-right-style:none; border-top-style:none; border-bottom-style:none; }\.br\ .P9_borderEnd { font-size:12pt; margin-left:0in; margin-right:0in; text-align:left ! important; text-indent:0in; font-family:Courier New; vertical-align:top; writing-modeage; padding-left:0in; padding-right:0in; padding-bottom:0.0138in; border-left-style:none; border-right-style:none; border-bottom-width:0.0351cm; border-bottom-style:solid; border-bottom-color:#000000; border-top-style:none;}\.br\ .T1 { font-size:11pt; font-weight:bold; }\.br\ .T2 { font-size:11pt; }\.br\ <!-- ODF styles with no properties representable as CSS -->\.br\ { }\.br\ </style><DIV dir=ltr style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0.5in 1in; BORDER-TOP-STYLE: none; PADDING-TOP: 0in; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none; max-width: 8.5in">
\.br\<P class=P11_borderStart>
\.br\<P class=P9><SPAN class=T1>CC</SPAN><SPAN class=T2>: &nbsp;</SPAN><SPAN class=T2><SPAN class=T2>Dr. Tim demes</SPAN></P>
\.br\<P class=P10_borderEnd>
\.br\<P class=P4>&nbsp;</P>
\.br\<P class=P4>DIAGNOSES:</P>
\.br\<P class=P4>1. &nbsp;Subgaleal hematoma.</P>
\.br\<P class=P4>2. &nbsp;Coumadin toxicity.</P>
\.br\<P class=P4>3. &nbsp;History of cerebrovascular accident.</P>
\.br\<P class=P4>4. &nbsp;Hyperlipidemia. </P>
\.br\<P class=P4>&nbsp;</P>
\.br\<P class=P4>DISCHARGE MEDICATIONS: The patient is to continue Crestor 10 mg p.o. daily, Seroquel p.r.n. Regarding Coumadin, the patient is not to take Coumadin tonight or tomorrow night and resume 5 mg on Thursday night. </P>
\.br\<P class=P4>&nbsp;</P>
\.br\<P class=P4>The patient is to follow up with PT and INR this Thursday or Friday to Dr. Temes, depending on the patient's convenienceand the weather. </P>
\.br\<P class=P4>&nbsp;</P>
\.br\<P class=P4>HOSPITAL COURSE: Briefly, to summarize hospital stay, the patient was admitted early this morning after a fall, likely a vasovagal dizziness with a resulting hematoma in the back of her head. The patient was on Coumadin with an INR of 6.2, was admitted for observation per Neurology's recommendation, was seen by Dr. Gade, I left my cell number. The patient will be discharged home. Family is here at bedside and will take her home.</P>
\.br\<P class=P4>&nbsp;</P>
\.br\<P class=P4>&nbsp;</P><table style="margin-left:auto;margin-right:auto;border-collapse:separate;border-spacing:4px;padding:0" border="0" cellspacing="4">\.br\<tr><td style="font-weight:bold;" colspan="2">Εlεcτronically Signed βy&nbsp;&nbsp;</td></tr><tr>\.br\<td>John Mayer, M.D.</td><td>02/22/2010 16:54</td></tr><tr><td colspan="2" style="font-size:small;">dd1dfd0e-9430-4d33-a284-129b137c2459</td></tr></table>
\.br\<P class=P6>&nbsp;</P>
\.br\<P class=P7>BS/Osi/228452/jf/0/02/10/2010 08:20:31</P>
\.br\<P class=P7>D: &nbsp;02/09/2010 20:01:11<SPAN style="POSITION: absolute">T: &nbsp;02/10/2010 08:20:31</SPAN></P>
\.br\<P class=P7>PHC Job#: 155467/OSi Job# 6085992/Doc ID: 5044808</P></DIV></SPAN>||||||S
Reply With Quote