FOSI Equivalent?
Here is my custom XSL-FO and I am wondering how I can convert this for display in editor with FOSI
I really just want to pull the TLMLinkend from the web-call and return it to the editor display. The two bold variables are my web-path and result and I display the value in the PDF with xsl:value-of select.
<!--Gentext template for Context: Graphic-->
<xsl:template match="Graphic" mode="expand-gentext" priority="0">
<xsl:variable name="url" select="concat('http://lynms457s/classes/private/getTLMResolution/?pubid=', /OM-Standard-Exmark/PubMeta/@PubID, '&elementid=', @ID,'&t=',generate-id())"></xsl:variable>
<xsl:variable name="TLMLinkend" select='substring-before(document($url)/*/Data,".")'></xsl:variable>
<xsl:copy>
<xsl:attribute name="_gte:Gentext-Expanded">y</xsl:attribute>
<xsl:apply-templates mode="expand-gentext" select="@*"></xsl:apply-templates>
<xsl:if test="not(@_gte:id)"
<xsl:attribute name="_gte:id">
<xsl:value-of select="'_g_'"/>
<xsl:value-of select="generate-id(.)"/>
</xsl:attribute>
</xsl:if>
<xsl:apply-templates mode="expand-gentext" select="* | text() | processing-instruction()"> </xsl:apply-templates>
</xsl:copy>
<!--Unconditional AddAfter-->
<xsl:if test="not(@_gte:Gentext-Expanded)">
<_gte:Must-Expand-Gentext></_gte:Must-Expand-Gentext>
<_sfe:BeforeOrAfterText>
<_ufe:FontRightJust>
<!--<xsl:value-of select="@Fileref"/>-->
<xsl:value-of select="$TLMLinkend"/>
</_ufe:FontRightJust>
</_sfe:BeforeOrAfterText>
</xsl:if>
</xsl:template>
Thanks in advance!

