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

Re: generating a repeatable unique id

Subject: Re: generating a repeatable unique id
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 Jul 2001 19:34:53 +0100
Re:  generating a repeatable unique id
Jeni Tennison writes:
 > Oh, it depends on how you're doing the linking. I was imagining that
 > you were creating something an index.html document with the links in,
 > containing things like:
 > 
 >   <p><a href="doc.html#chapter1.section2.div3">...</a></p>

oh, no.  no HTML files. everything gobbed out on stdout to the client.
I have a working setup for the static transform (though your methods
for that are more elegant...)

 > But perhaps you were meaning that you wanted to only display the part
 > of the document that you were linking to? Of course in the future all
 > you'd need to do is generate:
 > 
 > <p><a href="doc.xml#xpointer(/chapter[1]/section[2]/div[3])">...</a></p>
 :-}

 > But for now I guess you would generate a link that looked something
 > like:
 > 
 > <p><a href="doc.xml?xpath=/chapter[1]/section[2]/div[3]">...</a></p>

yes, *thats* what I want

 > With some magic on the server end, you'd get an $xpath parameter in
 > your stylesheet.
 > 
 > You could step through the $xpath parameter to locate and apply
 > templates to the relevant part of the document, something like:

cool. I love it. Many thanks!

sebastian


 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.