HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › fix_base_path: multiple patterns › Re: Re: fix_base_path: multiple patterns
November 2, 2010 at 15:24
#28292
Try do define multiple nested tags with needed patterns.
<pd4ml:fix_base_path pattern="/css/" ... > <pd4ml:fix_base_path pattern="/img/" ... > <pd4ml:fix_base_path pattern="/js/" ... > Content to apply the tags to </pd4ml:fix_base_path> </pd4ml:fix_base_path> </pd4ml:fix_base_path>
On the other hand recent versions of PD4ML are able to resolve absolute web paths via ServletContext. I would recommend to add debug=”true” to <pd4ml:transform> and ispect STDOUT what it tries to load and whether the URLs are correct.
