[xsl] Command Line

Subject: [xsl] Command Line
From: Byomokesh Sahoo <sahoo.byomokesh@xxxxxxxxx>
Date: Mon, 18 Jan 2010 17:56:29 +0530
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