I am experimenting with making a new template, and managed to set up a working Planets template a la Ryan Cramer's discussion at https://processwire.com/docs/tutorials/hello-worlds/
However, I have tried to get this to work with my own code, but get an XML parsing error:
<html>
<head>
<title><?php echo $page->title; ?></title>
</head>
<body>
<h1><?php echo $page->person_name; ?></h1>
<h2>Manuscript: <?php echo $page->library; ?></h2>
<p><?php echo $page->manuscript; ?></p>
<p>Reference <?php echo $page->reference; ?></p>
<p><?php echo $page->note; ?></p>
</body>
</html>
There's no white space at the end of my code. I thought it could be something wrong with the processwire code, but the Planets example worked for me. I have checked, and tripple-checked my field names. Any thoughts?