Subject: Re: [xsl] Embedding stylesheet documentation using other vocabularies (e.g. DocBook) From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 31 Oct 2005 14:43:17 -0500 |
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.
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Embedding stylesheet docu, bryan rasmussen | Thread | [xsl] Grouping-by appropriate value, Xasima Xirohata |
RE: [xsl] XSLT 2.0 : Deployment, Agnisys | Date | Re: [xsl] Splitting data into small, Mike Rumble |
Month |