Prince creates PDF metadata from the content of the XHTML metadata elements.
The content of the <title>
element is used for the
document title, while the <meta>
element can be used to
specify the document author, subject, keywords, date, and generator
application:
XML
<html>
<head>
<title>Cooking with Cabbage</title>
<meta name="author" content="John Smith"/>
<meta name="subject" content="An interesting book about food"/>
<meta name="keywords" content="cabbage, cooking, eating"/>
<meta name="date" content="2009-04-01"/>
<meta name="generator" content="MyReportingApp"/>
</head>