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
  • Do you mean like this?

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="www.w3.org/.../Transform">
    <xsl:output method="html" />
    <xsl:template match="/">
    <html>
    <body>
    <table border="0">
    <tr>
    <td><h3>FaceBook Posts</h3></td>
    </tr>
    </table>
    <table border="1">
    <tr bgcolor="#009966">
    <th>Image Number</th>
    <th>Image</th>
    <th>Post</th>
    </tr>
    <xsl:for-each select="data-set/Post">
    <tr>
    <td width="5%"><b><font color="#380000" size="3"><xsl:value-of select="ImageNumber"/></font></b></td>
    <td width="40%"><xsl:apply-templates select="Image"/></td>
    <td width="60%"><font color="#0000FF" size="2"><xsl:value-of select="SourcePost"/></font></td>
    </tr>
    </xsl:for-each>
    </table>
    </body>
    </html>
    </xsl:template>
    <xsl:template match="Image">
    <img src="{.}" />
    </xsl:template>
    </xsl:stylesheet>

Children