Hey team! I have a dependency on a legacy version of princexml (12.5)
According to the documentation, generated content features should be available in this version but I can't seem to make it work.
From the docs here: https://www.princexml.com/doc/12/doc-refs/#prop-content
I see: "The content property can be used to insert text and other content into the original document."
In the generated content docs here: https://www.princexml.com/doc/12/doc-prince/#gen-content
I see: the url(url) function, returning the text content at the given URL,
That's exactly what i want to be able to do. Include the contents of a remote file into my PDF. The way I'm attempting to do this is as follows:
<html>
<head>
<style>
h1 { content: url(http://domain/file) }
</style>
</head>
<body>
<h1> Test </h1>
</body>
</html>
This doesn't work. Am I doing this wrong? Is there some commandline argument I need to be adding when doing the conversion?
Thanks!
According to the documentation, generated content features should be available in this version but I can't seem to make it work.
From the docs here: https://www.princexml.com/doc/12/doc-refs/#prop-content
I see: "The content property can be used to insert text and other content into the original document."
In the generated content docs here: https://www.princexml.com/doc/12/doc-prince/#gen-content
I see: the url(url) function, returning the text content at the given URL,
That's exactly what i want to be able to do. Include the contents of a remote file into my PDF. The way I'm attempting to do this is as follows:
<html>
<head>
<style>
h1 { content: url(http://domain/file) }
</style>
</head>
<body>
<h1> Test </h1>
</body>
</html>
This doesn't work. Am I doing this wrong? Is there some commandline argument I need to be adding when doing the conversion?
Thanks!