🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #120

Re: Problem with Entities and and XSL

#120
From: Ian_Proudfoot
Date: Tue, 17 Feb 2009 22:54
19 lines
1369 bytes
Hi Michael,

It's not clear if you are using the XSLT as part of the FrameMaker import/export process, to generate HTML, or some other process. However, the answer is the same in each case...

Use the xpath function unparsed-entity-uri() to return the URI of the referenced graphic file.

This could be used within your XSLT as follows when the context node is the symbol element: <xsl:value-of select="unparsed-entity-uri(@boardno)"/>.
Just use the result to populate the relevant attribute in the output document for example in HTML:
<img href="{unparsed-entity-uri(@boardno)}">

I hope this what you were looking for.

Best regards
Ian

Ian Proudfoot
iTP-X

Adobe Community Expert
Technical Details
Message-ID: <59b7f79e.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
References: <59b7f79e.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,5dc1d9a0d41f0405
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Ian_Proudfoot@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker.sgml
Subject: Re: Problem with Entities and and XSL
Message-ID: <59b7f79e.0@webcrossing.la2eafNXanI>
Date: Tue, 17 Feb 2009 14:54:35 -0800
References: <59b7f79e.-1@webcrossing.la2eafNXanI>
Lines: 25
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit