Forum How do I...?

Error while Generate a PDF from wiki site?

jeeva
Hi

I am new to this Forum.
I am trying to get a pdf from my wiki site pages ,while i enter a prince command in putty command line it shows some error,
How can i solve this error.
My Command is : $ prince -o Agent.pdf http://localhost/TestPage1/
My Error is :error: htmlParseEntityRef: expecting ';
error: htmlParseEntityRef: expecting ';'
Tag htm invalid
htmlParseStartTag: misplaced <body> tag
Tag htm invalid
Unexpecte
d end tag :
mikeday
These errors indicate problems with the document markup, although Prince may still be generating an output PDF in this case. The entity ref error relates to unescaped ampersands & in the document, which need to be escaped as &amp; in HTML and XML documents. The other errors seem to be complaining about a <htm> tag that should probably be <html>. You can check your page with the W3C validator for more info.
susanspy
Hello both,

thanks a million mikeday i had a similar issue like jeeve & your resolution did work for me instantly, i am so happy to have found this place, please do post some more informative stuff like this one.

Cheers!!!

keyword tools~search keywords
Keyword Tracking Tool~overture tool