xsl-list
[Top] [All Lists]

[xsl] bat file creation based on xsl /xml

2019-01-15 11:56:16
I have a one xsl code as given below to invoke and get result, once the
command is fired the application starts and will get result immediate in
notepad:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"; xmlns:xs="
http://www.w3.org/2001/XMLSchema"; xmlns:fn="
http://www.w3.org/2005/xpath-functions"; exclude-result-prefixes="xs fn">
<xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/>
<xsl:template match="/">
<xsl:for-each select="collection('.?select=*.xml')">
<xsl:text>&#10;</xsl:text>
<xsl:value-of select="document-uri(.)"/>
</xsl:variable>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

I want to convert that command into the .bat file, so that on clicking .bat
file, my application should invoke. Our Input is in one directory. xsl code
is in same directory.


Thanks,
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>