Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] using collection()

From: "Michael Kay" <mike@------------>
To:
Date: 7/1/2006 1:57:00 AM
collection() is defined in the specs in a fairly abstract way, recognizing
that different implementations will have different concepts of a collection,
particularly in an XML database environment. The Saxon implementation has
moved on considerably since the book was written, and up-to-date information
can be found at
http://www.saxonica.com/documentation/functions/intro/fn_collection.html

(It can now, anyway. I was embarrassed to discover that the documentation
there wasn't up to date, but this is now fixed.)

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Marijan Madunic [mailto:mmadunic@xxxxxxxxxxxxxxxxxxx] 
> Sent: 30 June 2006 15:13
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] using collection()
> 
> In an earlier post I read with interest Michael Kay saying using the
> collection() to mass validate a set of documents. This piqued 
> my interest and went into my 2 WROX books written by M.K. 
> himself to read up on this function. No real examples but I 
> think I get it, please correct me if I'm wrong.
> 
> I could do a for-each that will parse a set of docs of 
> unknown filenames (size inconsequential) and lets say return 
> the value/copy of the second node and the documents name into 
> a result-document. If this is true then I can toss out my ANT 
> build to run through a directory and output a well-formed XML 
> doc that contains the names of the XML files. A 2 step 
> process turned into inline. I've needed to do this on many 
> occasions and always wanted to do it inline.
> 
> Please tell me it's true
> 
> Marijan Madunic
> Have XSLT Will Transform
> hajduk@xxxxxxxx
> 
> The following signature will only be valid till Tuesday July 4
> 
> =============================
> 
> Marijan (Mario) Madunic
> XML/XSL Developer, Product Group
> 
> Business Objects
> 910 Mainland Street
> 
> Vancouver Canada
> 
> Tel: 604 974 2904
> 
> Marijan.Madunic@xxxxxxxxxxxxxxxxxxx
> www.businessobjects.com 
> 
> 
> STRICTLY PERSONAL AND CONFIDENTIAL. This email may contain 
> confidential and proprietary material for the sole use of the 
> intended recipient. Any review or distribution by others is 
> strictly prohibited. If you are not the intended recipient 
> please contact the sender and delete all copies.


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