Select to view content in your preferred language

Can images be placed into a report template?

354
1
05-06-2019 10:43 AM
KevinSadrak
New Contributor III

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?

0 Kudos
1 Reply
XiaomengZheng
Esri Contributor

Hi Kevin! Unfortunately we do not currently support image tag in the report template. Feel free to let us know if you have any other questions.

Thanks,

Meggie

0 Kudos