|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Directory listing, as xml file
Andrew Welch wrote:
Some code is here:
<xsl:param name='dir' select='"null"' as="xs:string"/> Needed type to help java 1.6 sort out 'string' from 'uri' parameter type <xsl:template match="/" name='root'>
<xsl:if test="$dir= 'null'">
<xsl:message terminate='yes'>
No input directory, quitting
</xsl:message>
</xsl:if>
<xsl:for-each select="$files">
<xsl:if test="contains(.,'.xml')">
<xsl:message>
file is <xsl:value-of select="."/>
</xsl:message>
</xsl:if>
</xsl:for-each></xsl:template> Thanks Andrew regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








