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

intra document link

Subject: intra document link
From: Nikolas.Nehmer@xxxxxxxxxxx (Nikolas Nehmer)
Date: Wed, 18 Feb 2004 22:50:24 +0100
intra document
Hi, sorry it's me again.

I'm looking for a possibility of intra document links with xhtml. For
better imagination a little example: 

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../XSL/publication.xsl"?>
<Book xmlns="http://www.iese.fhg.de/Publication/Book"
xmlns:iese.Publication="http://www.iese.fhg.de/Publication"
xmlns:iese.Chapter="http://www.iese.fhg.de/Chapter"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.iese.fhg.de/Publication/Book
../XSD/book.xsd">
	<iese.Publication:title>Systemsoftware Grundlagen moderner
Betriebssysteme</iese.Publication:title>
	

<iese.Publication:date>2001-01-01</iese.Publication:date>
	
<iese.Publication:abstract>abstract...</iese.Publication:abstract>
	<iese.Publication:rating>top</iese.Publication:rating>
	
<iese.Publication:location>http://www.uni-kl.de</iese.Publication:locati
on>
	<iese.Publication:confidentiality>top
secret</iese.Publication:confidentiality>
	<iese.Publication:author
href="../../../Person/XML/person_JuergenNehmer.xml"/>
	<ISBN>3-89864-115-5</ISBN>
	<publisher>dpunkt.verlag</publisher>
	<chapters>
		<iese.Chapter:Chapter>
			<iese.Chapter:heading>Kapitel
1</iese.Chapter:heading>
	
<iese.Chapter:firstpage>1</iese.Chapter:firstpage>
	
<iese.Chapter:lastpage>15</iese.Chapter:lastpage>
		</iese.Chapter:Chapter>
		<iese.Chapter:Chapter>
			<iese.Chapter:heading>Kapitel
2</iese.Chapter:heading>
	
<iese.Chapter:firstpage>16</iese.Chapter:firstpage>
	
<iese.Chapter:lastpage>30</iese.Chapter:lastpage>
		</iese.Chapter:Chapter>
		<iese.Chapter:Chapter>
			<iese.Chapter:heading>Kapitel
3</iese.Chapter:heading>
	
<iese.Chapter:firstpage>31</iese.Chapter:firstpage>
	
<iese.Chapter:lastpage>45</iese.Chapter:lastpage>
		</iese.Chapter:Chapter>
		<iese.Chapter:Chapter>
			<iese.Chapter:heading>Kapitel
4</iese.Chapter:heading>
	
<iese.Chapter:firstpage>46</iese.Chapter:firstpage>
	
<iese.Chapter:lastpage>60</iese.Chapter:lastpage>
		</iese.Chapter:Chapter>
		<iese.Chapter:Chapter>
			<iese.Chapter:heading>Kapitel
5</iese.Chapter:heading>
	
<iese.Chapter:firstpage>61</iese.Chapter:firstpage>
	
<iese.Chapter:lastpage>75</iese.Chapter:lastpage>
		</iese.Chapter:Chapter>
	</chapters>
</Book>


All level 2 elements should be display in a table or <ul> for example
except the chapters. For each chapter I would like to create a link, for
example a href to that chapter. When you klick that link the
visualisation for that Chapter should be displayed (e.g a table again).
Creating the visualisation is not my problem, but I don't know if there
is way to build those intra document links! Are there any possibilities,
any suggestions? I frist thought about declaring an ID attribute for any
chapter but I don't know if I can point to that ID by html hrefs.

Best regards,
Nick



 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.