[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: loop timing and result-document flush

Subject: RE: loop timing and result-document flush
From: "Colin Adams" <colinpauladams@xxxxxxxxxxx>
Date: Wed, 02 May 2007 15:19:03 +0100
RE:  loop timing and result-document flush
From: Duane Gran <dmg2n@xxxxxxxxxxxx>
XSL experts,

I have an XSL which loops over a set of elements in search of links and creates a result document for the link. In some cases there is more than one link to the same anticipated document, so I use the doc- available() to test first for its existence before creating the file. This is intended to avoid a DynamicError related to writing more than one result document to the same URI.

It won't do so.


doc-available() is supposed to return the same result throughout the life of the transformation.
It is possible for an implementation to relax the stability requirement. Saxon provides such an option I believe.


However, even that should not do what you want. You are not supposed to be able to read a document created with xsl:result-document in the same transformation.

_________________________________________________________________
Txt a lot? Get Messenger FREE on your mobile. https://livemessenger.mobile.uk.msn.com/


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.