This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]