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

Re: Failing string() test fail

Subject: Re: Failing string() test fail
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Fri, 26 Jun 2009 08:47:43 -0700
Re:  Failing string() test fail
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

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.