This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: How to insert an entity via XSL
- From: Paul Grosso <pgrosso at arbortext dot com>
- To: Rasmussen Claus-CCLR001 <claus dot rasmussen at motorola dot com>,"'docbook-apps at lists dot oasis-open dot org'" <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 21 Aug 2002 09:42:58 -0500
- Subject: Re: DOCBOOK-APPS: How to insert an entity via XSL
At 16:18 2002 08 21 +0200, Rasmussen Claus-CCLR001 wrote:
>Hi folks,
>
>I'm using ArborText Epic with our custom DTD to create XML files. Instead of inserting file system references to graphics it takes all paths and create entities for each of those. These entities are then used to identify the graphics.
This doesn't make sense to me. Epic is happy to use file paths
if your graphic element is set up to use file paths. It only
uses entity references if your graphic element uses entity
references.
What does the declaration of your graphic element look like?
>So, I'm writing some XSL, but I can only get the entity _names_ from the elements. How do I insert the value of the entity in the output stream.
Since DocBook's graphic elements allow either a file path or
an entity name, the DocBook stylesheets have an example of
how to solve this problem. Look at them and search for
unparsed-entity-uri(@entityref).
paul