RE: problems with xt:mkdir

Subject: RE: problems with xt:mkdir
From: "Richard Lander" <rlander@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Nov 1999 23:32:29 -0500
 Hello,

I have sinced recieved some help from a kind soul. He provided me with:

    <xsl:if test="xtfile:mkdir(xtfile:new(string($filepath)))='dummyg'">
        Can't happen because the function doesn't return strings.
    </xsl:if>

Thanks to anyone else who was thinking about the problem,

Richard.

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Richard Lander
Sent: Tuesday, November 16, 1999 8:41 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: problems with xt:mkdir


 Hello,

I successfully attempted to get XT to create a directory that is stored in a
variable. My problem is with the way by which XT (most recent version)
creates the directory. I am using:

<xsl:value-of select="xtfile:mkdir(xtfile:new(string($filepath)))"/>

<xsl:value-of creates the directory without any difficulty, but it reports
back on its success (true |false) , as you might guess. Well, I'd like a way
of creating the directory without recieving the report. I tried
xsl:apply-templates and xsl:for-each, but neither of them worked. Is there
any other XSL construct that will work?

It isn't that big of a deal, as it doesn't really cause me any problems
currently, but I would like to find a solution.

Thanks,

Richard.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread