[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: hyperlink
Hi Paul, > So, it appears that the <a href="#{generate-ed}"> is working fine. I > have "opened links in a new window" by right clicking the link, and > it brings up the url with a new #ID, but shows only a blank page. Does it work when you open links in the same window? If so, then I suspect that it's something to do with the fact that generate-id() can give you different IDs on different transformations, although why it would come up with a blank window rather than just giving you the top of the transformation I don't understand. Are you doing the transformation from within a script or something? Try using concat('proj', count(preceding-sibling::project)), which is guaranteed to remain the same on every transformation, and see whether that makes a difference. If not then perhaps you could post the XML and XSLT so that we could play around with it and try to work out what's going wrong. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|