Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] loop timing and result-document flush

From: "Colin Adams" <colinpauladams@----------->
To:
Date: 5/2/2007 2:19:00 PM
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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent