RE: [xsl] Command Line

Subject: RE: [xsl] Command Line
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 18 Jan 2010 12:38:14 -0000
Information on the Saxon command line is here:

http://www.saxonica.com/documentation/using-xsl/commandline.html

Product-specific questions are best asked on a product-specific forum: for
Saxon that's the saxon-help list or forum accessible via the Saxon page on
Sourceforge.net.

If you still have problems, please say exactly what you are doing, what the
result is, and how this differs from the desired result. Saying that you
have a problem is not useful unless you say what the problem is.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

 

> -----Original Message-----
> From: Byomokesh Sahoo [mailto:sahoo.byomokesh@xxxxxxxxx] 
> Sent: 18 January 2010 12:26
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Command Line
> 
> Hi,
> 
> I am facing problem to run my XSL in command prompt. I want 
> get all file name (from one directory) to write a new xml file.
> 
> Example.
> 
> d:\byomokesh\
>                         1.html
>                         2.html
>                         3.html
> 
> 
> My XSL
> 
> <xsl:template match="/">
> <filename><xsl:value-of select="tokenize(document-uri(.), 
> '/')[last()]"/></filename> </xsl:template>
> 
> 
> Neet Output
> 
> new.xml
> <filename>1.html</filename>
> <filename>2.html</filename>
> <filename>3.html</filename>
> 
> 
> But i am confuse how i will run in command prompt to get right ouput.
> 
> I am using Saxon9-2-0-3j
> 
> Thanks
> Byomokesh

Current Thread