Hi,
I have read the documentation about xinclude, and it appears just the thing I need, but I have troubles getting it to work.
This is what I have:
main.html
file01.html
Then I run:
This results in an main.pdf with No report is available
It appears the xi:include tags are ignored.
When I add
to my main.html, it does load the file01.html file, but get msg|err|test.html:9|Entity 'nbsp' not defined error.
What am I doing wrong?
I have read the documentation about xinclude, and it appears just the thing I need, but I have troubles getting it to work.
This is what I have:
main.html
<!DOCTYPE html>
<html xmlns:xi="http://www.w3.org/2001/XInclude">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<xi:include href="file01.html">
<xi:fallback>
<p>No report is available</p>
</xi:fallback>
</xi:include>
</body>
</html>
file01.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Title</title>
</head>
<body>
<h2>Heading</h2>
<p> </p>
</body>
</html>
Then I run:
prince --server main.html
This results in an main.pdf with No report is available
It appears the xi:include tags are ignored.
When I add
<?xml version="1.0" encoding="UTF-8"?>
to my main.html, it does load the file01.html file, but get msg|err|test.html:9|Entity 'nbsp' not defined error.
What am I doing wrong?