[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: problems with xt:mkdir
Ken, Thanks for your help. I did try the variable solution, but did not get it to work. I believe that XT only evaluates variables when they are called/referenced. I now believe that the solution that I just reported doesn't work. However, I have one that does: <xsl:comment> <xsl:value-of select="xtfile:mkdir(xtfile:new(string($filepath)))"/> </xsl:comment> I am glad that you asked about the extension functions. I was starting to think that I was the only one that did not know the location of the secret 'XT tricks' area. I hope that comes closer to a solution, Richard. -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of G. Ken Holman Sent: Tuesday, November 16, 1999 11:20 PM To: xsl-list@xxxxxxxxxxxxxxxx Subject: Re: problems with xt:mkdir 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|