Subject: RE: [xsl] Cartesian product of sets of nodes From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 28 Aug 2009 18:42:21 +0100 |
> Hi, > > we've a variable number of sets of nodes of variable > carindinality grouped from incoming xml, > > S1, S2, S3, ... Sn > > is there a way of obtaining the cartesian product > > S1 x S2 x S3 x S4 x... Sn > I think it would be useful to explain what you mean by showing the XML input and the desired XML output. My understanding is that "cartesian product" has a mathematical meaning, and a conventional usage when talking about the relational model, and they aren't the same. One doesn't see the term used much in relation to XML. In particular, I'm not sure how you would represent a "variable number of sets of nodes" in the XPath data model, unless the nodes all happen to be in the same tree. Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Cartesian product of sets, David Carlisle | Thread | RE: [xsl] Cartesian product of sets, Bartolomeo Nicolotti |
[xsl] How to "flatten" a XML file w, reynaldo . rizzo | Date | Re: [xsl] How to "flatten" a XML fi, Martin Honnen |
Month |