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

RE : Re: Merging attributes in one XML file with

Subject: RE : Re: Merging attributes in one XML file with node values in another (identical structure)
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Fri, 23 Jun 2006 12:45:24 +0200 (CEST)
 RE : Re:  Merging attributes in one XML file with
Dimitre Novatchev wrote:

  Hi

> It should be possible to write a higher-order function

>   item()*  zipTrees(node() tree1, node() tree2, item()* zipnodeFun(),
> item()*  ziparcFun())

> where we do not know in advance what exactly the functions
> zipnodeFun(), and ziparcFun() will be doing.

> One application is tree merging, another obvious one is tree
> differencing, yet another could produce the results of any binary
> operation (boolean, arithmetic, bit-wise, ...) on any pair of
> corresponding nodes, ..., etc. the possibilities are unlimited.

  Interesting.  But I can't see what zipTrees() is expected to do
exactly.  Could you please explain it a bit further (for example a
simple pseudo-algorithm)?  And what is the role of $zipnodeFun and
$ziparcFun?  BTW "arc" is the French word for "edge" in the graph
theory, but I'm not sure it is relevant here.

  Thanks.

  Regards,

--drkm

























	

	
		
___________________________________________________________________________ 
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire.
http://fr.mail.yahoo.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.