AnsweredAssumed Answered

Can images be placed into a report template?

Question asked by ksadrak on May 6, 2019
Latest reply on May 7, 2019 by xzheng-esristaff

I want to add an image (header image) to my report output... something like this:

 

<?xml version="1.0" encoding="utf-16"?>

<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="4.0" encoding="utf-16" indent="yes"/>

<!-- ******************************* -->
<!-- TEMPLATE:/ -->
<!-- ******************************* -->
<xsl:template match="/">
<HTML>
<BODY>
<h2><img src="http://www.mysite.org/myimage.png"/></h2>
<DIV style="margin:.15in 0.15in 0.75in 0.15in">
<xsl:apply-templates select="REPORT"/>

 

The report doesn't generate, I know it is the image tag because I can remove it and the report is generated.  Was this tag never supported?  Am I doing something wrong?

Outcomes