[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

resolving IDREF in XSLT

Subject: resolving IDREF in XSLT
From: "Maik Stührenberg" <maik.stuehrenberg@xxxxxx>
Date: Thu, 4 Oct 2001 20:05:01 +0200
xslt idref
Hi everybody,
is there any way to resolve an IDREF attribute by XSLT in different files? The problem is this: I have two Elements: abbrevation and longform, saved in a file called abbr_file.xml. This file is called per entity reference from
the master file, called main.xml. In this master file's dtd is the
element abbrevation defined as following:
<!ELEMENT abbrevation (%text;)*>
<!ATTLIST abbrevation 
  longform IDREF #REQUIRED
>

The file abbr_file.xml uses another dtd-subset - abbrevations.ent
(refered with an entity in the master dtd). The element longform is
defined:
<!ELEMENT longform (%text;)*>
<!ATTLIST longform
   id ID #REQUIRED
>

My goal is to perform a translation to HTML in which the abbrevation
element is transformed to <a title="CONTENT OF LONGFORM">CONTENT OF
ABBREVATION</a>, causing to popup a tooltip with the longform. The two
problems are: the element longform is just called per reference, and
if i try to transform the main.xml file saxon won't use the
abbr_file.xml. The second is: how do I link the two elements in
different files to get the information of element longform?
If anyone could help I would be very thankful.
Thanks a lot for answering.
Maik Stührenberg

______________________________________________________________________________
Ferienklick.de - Urlaub ist schoen!
Hier geht's zum Traumstrand: http://ferienklick.de/?PP=2-5-100-105-13


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.