[Home] [By Thread] [By Date] [Recent Entries]
Hi agian,
Tempore 21:54:07, die 08/06/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Jacquo Johnson <genxgeek@xxxxxxxxx>: I guess I'm still scratching my head as to why the the second predicate (CodeId) is needed:
Suppose a variable $foo contains just the 'bar' element of this input XML document: <root> <test/> <foo/> <bar/> </root> <xsl:value-of select="boolean($foo/preceding::test)"/> will return true , though the $foo variable didn't contain any 'test' elements. Hence the required predicate in my previously posted solution. Also, I wanted to fit another question in here since you have been so helpful if I could please. I have a perl application that calls two stored procs, each returning multiple result sets. Current I concatenate the multiple result sets from each stored proc into one xml document. Worst case the xml document can get up to 300k in size. Currently, I'm using Xalan to run a stylesheet on that document but I'm wondering if 300k is too big of an xml document for Xalan to transform. So, my question is should I break it up into two parts (two xml documents one from each stored proc call) or are there any limitations with xslt and the size of anxml source document in relation to performance?
regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) B+N&N9N;N.N:N?N?N= N5N9N=N1N9 N<N1N;N;N?N= N7 ON9N;ON;N1N;N?N=B; - NN;N5ON2N?ON;N?O
|

Cart



