<FONT face="Default Sans Serif, Verdana, Arial, Helvetica, sans-serif" size=2><P>I'm creating cross references to a heading and a figure. The xrefs to the headings work, but not to the figures.</P><P>In the XML file I have</P><P>&lt;body&gt;See the section &lt;heading_link target="second_heading" /&gt;.&lt;/body&gt;<BR>&lt;body&gt;See the figure &lt;figure_link target="browser_settings" /&gt;.&lt;/body&gt;<BR>...<BR>&lt;Heading1 id="second_heading"&gt;Installation&lt;/Heading1&gt;<BR>&lt;figure src="browser_settings.tif" id="browser_settings"/&gt;</P><P><BR>In the XSL file I have</P><P>&nbsp;&lt;xsl:template match="heading_link"&gt;<BR>&nbsp;&nbsp;&lt;fo:inline&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;fo:basic-link internal-destination="<A href="mailto:{@target" target=blank>{@target</A>}"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;xsl:text&gt; on page&amp;#160;&lt;/xsl:text&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;fo:page-number-citation ref-id="<A href='mailto:{@target}"/' target=blank>{@target}"/</A>&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;/fo:basic-link&gt;<BR>&nbsp;&nbsp;&lt;/fo:inline&gt;<BR>&nbsp;&lt;/xsl:template&gt;<BR></P><P>&nbsp;&lt;xsl:template match="figure_link"&gt;<BR>&nbsp;&nbsp;&lt;fo:inline&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;fo:basic-link internal-destination="<A href="mailto:{@target" target=blank>{@target</A>}"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;xsl:text&gt; on page&amp;#160;&lt;/xsl:text&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;fo:page-number-citation ref-id="<A href='mailto:{@target}"/' target=blank>{@target}"/</A>&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;/fo:basic-link&gt;<BR>&nbsp;&nbsp;&lt;/fo:inline&gt;<BR>&nbsp;&lt;/xsl:template&gt;</P><P>Result:<BR>See the section on page 3.<BR>See the figure on page ?.</P><P>Symptoms:<BR>1) The xref to the Heading1 tag generates the correct page number and hyperlink.<BR>2) The xref to the figure tag gives a question mark for a page number and a dead hyperlink.<BR>3) The engine gives the following mesasge: unresolved internal destination: 'browser_settings'</P><P>This is for an unstructured XML file (no DTD).</P><P>Suggestions?</P></FONT>-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html