RE: [xsl] Output XML doc with XSL doc name in comment

Subject: RE: [xsl] Output XML doc with XSL doc name in comment
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Wed, 8 May 2002 09:41:11 -0700 (PDT)
Dear Tom S.,
I appreciate your patience.  I used the XSLT syntax that seemed
closest to my desired output.  I am still new to XSLT.

By "hardcoding" do you mean keying in the name?  I saw this done in
Kay's book (1st edition -- where he used other scripts to output a
date in the comment), but I have many stylesheets created. I wanted
something I could globally search and replace so that I would not
have to key each one.  Laziness is the mother of invention.  I am
still catching up with the long-sighted use XSLT.

Mike Ferrando
Washington, DC

p.s. What is strange is that SAXON obviously knows the file names it
is processing, so why can't I just call up that data into my output?
I guess the answer is to download the latest version.

--- TSchutzerWeissmann@xxxxxxxxxxxxxxxx wrote:
> Mike Ferrando wrote:
> >[...]
> >My clip in Note Tab Pro that runs Saxon repeats the xsl file name
> for
> >the bat file as such:
> >[...]
> oh I get it, you just want to include the filename of the
> stylesheet, not
> the content of the document itself. Aha. Your earlier mail
> suggested
> otherwise.
> Yes, telling the stylesheet its own filename via a parameter is as
> good a
> way as any; you can't access it using xslt proper, although
> depending on
> your parser there might be an extension that will. 
> Personally I don't see what's so wrong with hardcoding the filename
> into the
> stylesheet itself. 
> Regards,
> Tom Weissmann  (aka Tom Schutzer-Weissmann, i must mind those
> parameters...)
>  XSL-List info and archive: 

Do You Yahoo!?
Yahoo! Health - your guide to health and wellness

 XSL-List info and archive:

Current Thread