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

RE: Output XML doc with XSL doc name in comment

Subject: RE: Output XML doc with XSL doc name in comment
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Wed, 8 May 2002 09:41:11 -0700 (PDT)
output to .doc progress
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.

Sincerely,
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: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.