xsl-list
[Top] [All Lists]

[xsl] Read directory and its contents and put it to another file

2008-10-07 06:49:38
Hi list
Have anyone an idea how to read directory. I am using saxon with xsl 2.0 and want to do it by passing arguments
java -jar saxon8.jar a.xml a.xsl tables=tables >b.htm

1. I have a table directory which have 'n' number of coded tables.
2. Second i have an xml file where tabels are called.
3. I have to pull the table from table directory and paste it into the output file.

table>dir
t1.tbl
t2.tbl
...
tn.tbl

Content of 1.tbl
<table>
...
</table>

Input
<p>xxx <span id="t1"/> yyy </p>

Output
<p>xxx <table>...</table> yyy</p>

Thanks in advance
...JSR


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--