Home Forums General XMetaL Discussion Display Default Image Reply To: Display Default Image

rnv

Reply to: Display Default Image

Thank you very much for the detailed reply. really appreciate.

I manaed to use SetRenderedContent method to replace the reference to a pdf document with a reference to a default jpg. The problem is with this method the XML file is updated. which I do not want. maybe i did something wrong but what i want is that xmetal only displays the default image and not update the xml itself.

I tried to update the CSS file using CSS :before or :after property.  Some graphics are jpg and some are PDF. Only in case of PDF I want to display the default image. I tried to use attribute selector to identify all graphic elements that has file reference ending with 'pdf'. But looks like XMetal does not support it. e.g.
  graphic[fileref$=”pdf”]
If i specify the whold file name then it works.
    graphic[fileref$=”mydoc.pdf”]
but it is not a solution since there are many different pdf documents.

Did i do something wrong?

regards,
raju

Reply

Products
Downloads
Support