[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Failing string() test fail
Subject: Re: [xsl] Failing string() test fail From: Karl Stubsjoen <kstubs@xxxxxxxxx> Date: Fri, 26 Jun 2009 08:47:43 -0700 |
OK, this is XSLT 1.0 (I should get in the habit of mentioning that) The general idea is to display a group heading with child heading and child detail below each child heading, with the following rules in place: 1) only display a group heading if 1 or more child details items occur 2) only display a child heading if 1 or more child details occur I'd say the above is typical, well, common anyhow. I have proven that my context is valid with xsl:comment(s) like <!-- YES I AM HERE --> I have dummed down the xml (see below) and written similar xpath expressions, as a sanity check. So now I am wondering what is it I could be doing wrong. I can't freely post the xml and xsl source, as this is a solution for a client. I will continue to test and experiment but am afraid that I might have to resort to a workaround. The demands on this report are pretty steep leading up to this point with left to right pivoted groupings requiring a few recursive template calls, and following::sibling types of selects. Is it possible that I have overworked the engine, found a bug? It would be my 2nd in about 5 years if I had! Karl.. On Fri, Jun 26, 2009 at 1:24 AM, Michael Kay <mike@xxxxxxxxxxxx> wrote: > > > > > What would cause a string() test to fail? > > Give us some clues: > > (a) XSLT 1.0 or 2.0? > > (b) By "fail", do you mean "throw an error", or "return false"? > > Regards, > > Michael Kay > http://www.saxonica.com/ > http://twitter.com/michaelhkay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Failing string() test fai, Michael Kay | Thread | Re: [xsl] Failing string() test fai, Karl Stubsjoen |
Re: [xsl] xsl-url -- passing xsl:va, Hermann Stamm-Wilbra | Date | [xsl] determining if 2 sequences of, Robert Koberg |
Month |