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

stylesheets for links

Subject: stylesheets for links
From: Catherine Goodall <Catherine_Goodall@xxxxxxxxx>
Date: Mon, 10 May 1999 01:30:26 -0400
stylesheets for links
Hi,
I've got a working stylesheet, thanks to the help I received last week. I'm
having a problem generating links, though. My XML document, a TEI-style
transcription of a printed text, has anchor elements where footnotes are
indicated in the original (i.e. where an asterisk appears) whose corresp=
values point to note elements with corresponding id= values in another part
of the doc. I wanted to do something like:
<xsl:template match="anchor[@id='foo']">
<A href="TEI.2/text/hyperDiv/note[@id='foo']" target="blank">*</A>
</xsl:template>

Ideally, I don't want to wind up making separate docs out of each note, or
changing the doc itself (to add A elements). But even if I did, I can't
find a way to read the id value and insert it into the path, since
<xsl:value-of> is an element and href= is an attribute. I also don't want
to define a separate  template for each note, but I haven't found an
operator that will let me quote back a value. Am I missing something
obvious here? Can anyone help me?
For reference, the files can be found at:
http://www.stg.brown.edu/~goodall/gottsched.01briefe.xml
and [same directory]/trial-style.xsl

Thanks!
Cathy



 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.