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

Re: Embedding stylesheet documentation using other vo

Subject: Re: Embedding stylesheet documentation using other vocabularies (e.g. DocBook)
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Oct 2005 14:43:17 -0500
find stylesheet
At 2005-10-21 09:13 +0200, bryan rasmussen wrote:
I'm supposing that the ability of hyperlinks to work is something
reserved for files of type xmlfile, which is set by the registry. Thus
if one had a problem with that in a file with extension .rss one could
set files with extension rss to be of type xmlfile

so in HKCR if .rss is xmlfile then ths techniue should work. however
(not 100% sure but I believe it to be so) I think this will cause the
file to be opened by internet explorer. a lot of people running some
other browser might consider that a bad thing if the ability to open
ie was set  by file extension.

Good thinking, but I believe it must already understand the ".xsl" file to be XML, otherwise, why would it be looking for the XML Stylesheet Association processing instruction at the start of the file? That IE will find stylesheet association, go and retrieve the stylesheet and then apply the stylesheet and render the transformed results, indicates to me it does understand the file to be XML. It just then deigns not to recognize hyperlinks.


Hopefully someone at Microsoft will pick up on this internally and get it addressed soon.

Thanks again, Bryan, for your ideas.

. . . . . . . . Ken

On 10/21/05, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> Here's a different twist on an old topic: documenting XSLT
> stylesheets.  But I haven't seen my technique being mentioned as done
> by others and I've been encouraged to put it in a condition to be shared.
>...
> Two big browser hassles:
>
> (1) Internet Explorer deigns ".xsl" files not to be hyperlinked, thus
> all of the generated hyperlinks cannot be browsed after dragging the
> ".xsl" file in and seeing the printed report.
>
> (2) Firefox does not implement any node-set extension, so it just
> plain doesn't work.
>
> I get around both by using saxon with the "-a" option and producing
> an HTML file that can then be browsed by either.
>
> Also, a browsing harness, or test harness, can be used to get around
> (1) ... what I do is create a 10-line XSL stylesheet that imports the
> stylesheet I want documented, but I name this short stylesheet
> ".xml", and when I drag that into Internet Explorer, lo and behold,
> the hyperlinks happen to work.


--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

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.