Home › Forums › General XMetaL Discussion › Display Default Image › Reply To: Display Default Image
Reply to: Display Default Image
March 29, 2012 at 2:12 pmGreat!!
Thank you very much… works without problem if the url of the pdf file is absolute (c:\pdficon.jpg).
However if, the url is relative (pdficon.jpg) then it does not work. our xml document has Processing Instruction for the path of the graphic and the XML document contains only the name of the graphic file. If the xml document contains graphic fileref as 'pdficon.jgp' it works without problem. but if the fileref is like that in the method you provided it does not work.
any idea why? if the fileref must be absolute in macro how can i read processing instruction value?
graphic PI: the path for the graphics is relative, therefore we cannot provide absolute url in the macro.
regards,
rnv