Page 1 of 1

Xpath epressions in SVG not expanding

Posted: Mon Dec 11, 2023 8:05 pm
by davdup
Hi,
I'm trying to use the Xpath expanding feature to include metadata in a custom SVG front page that I designed. I followed the steps on the manual (https://www.oxygenxml.com/doc/versions/ ... over_pages), but I cannot get the result I want!
Xpath expression are not expanded and appear as they are written, in full text in the final result.
Yes I have the option activated for the Xpat expanding in my pdf template. Xpath expressions have been check in the merged html file and give a valid result.
What am I missing??
Thanks for the help!

Cheers

David

Re: Xpath epressions in SVG not expanding

Posted: Tue Dec 12, 2023 11:17 am
by julien_lacour
Hello,

Could you provide a sample with the SVG template and the CSS you are using?
You can share it here or you can send it to support@oxygenxml.com for analysis.

Regards,
Julien

Re: Xpath epressions in SVG not expanding

Posted: Tue Dec 12, 2023 11:31 am
by davdup
Files sent.
Thanks for the support!

David

Re: Xpath epressions in SVG not expanding

Posted: Tue Dec 12, 2023 12:03 pm
by julien_lacour
Hello David,

The file extension must be .template.svg for the processor to use it as a template. Default SVGs with classic extensions aren't processed.
You can find more details here: https://www.oxygenxml.com/doc/versions/ ... lates.html

Regards,
Julien

Re: Xpath epressions in SVG not expanding

Posted: Tue Dec 12, 2023 12:07 pm
by davdup
Ok thank you very much!
I could not see the SVG Template page, the link from the Cover Customizing page is not working... (bottom of this page: https://www.oxygenxml.com/doc/versions/ ... over_pages)
Cheers

David

Re: Xpath epressions in SVG not expanding

Posted: Tue Dec 12, 2023 12:31 pm
by julien_lacour
I've also seen the broken link on this page, we will correct it.
Thank you for the report!

Regards,
Julien