Re: problems with xt:mkdir

Subject: Re: problems with xt:mkdir
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Nov 1999 23:19:42 -0500
At 99/11/16 20:41 -0500, Richard Lander wrote:
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 haven't tried this, but have you tried assigning the value to a variable and then just not using the variable's value?


BTW, looking at http://www.jclark.com/xml/xt.html I don't see documentation for a function called "mkdir" ... where does one find the details for this (and others?).

I hope the above helps.

................... Ken


-- G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) Web site: XSL/XML/DSSSL/SGML services, training, libraries, products. Practical Transformation Using XSLT and XPath ISBN 1-894049-02-0 Next instructor-led training: 1999-12-05/06, 1999-12-07, - 2000-02-27/28, 2000-05-11/12, 2000-05-15


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



Current Thread