[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Embedding stylesheet documentation using other vo
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 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
|
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
|