How to preview locally-saved images in the XML Preview window of Studio?

Hi,

How can I do to see the images (that are saved in a folder of my Desktop) of my XML source file in the XML Preview window of Studio?

The English source XML file contains Facebook posts and local links to images. The XML source file has a stylesheet.xsl and I created a customized XML file type in Studio.

Thank you in advance for your help on this.

Best regards,

Carla

Parents Reply
  • Hi  

    That took me a lot longer than I thought it might but I eventually sorted it out:

    I have attached all the files I used and the sdlftsettings file.  I will add that even when I got to this stage it still failed at first and I was also slightly frustrated by then because I couldn't see why I got a "couldn't find the central directory error message" whenever I previewed.  Out of desperation I redid the images you gave me as they were the only thing I had no validation of... and when I resized them it worked!  So I think there must be an issue we need to address relating to the size of the images used in the stylesheet preview because in one of my attempts I did resize the images using a command in the stylesheet with a different way to tackle it closer to your initial effort, but that still gave me an error.

    I also tried using these smaller images in your stylesheet but that also failed... although I think it may be just a simple path issue that you may be able to find now you know it should work.  I have attached the one that eventually worked for me so hopefully you can use this as a model for your task.

    FB.zip

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children