  | |  | Counting in xslt | Counting in xslt 2003-04-16 - By Good Dan-dgood01
Hi Joe, I'm not sure what you mean by folding the values? I just had an idea that I could write a stylesheet to create an intermediate xml doc with all values of @(protected) in lowercase and then apply my existing stylesheet to the intermediate xml doc. A bit extreme but I've got to meet a deadline for this. Thanks, Dan
-----Original Message----- From: Joseph Kesselman [mailto:keshlam@(protected)] Sent: 16 April 2003 14:00 To: xalan-j-users@(protected) Subject: Re: Counting in xslt
Classic solution would be to fold the values to a single case before comparing them. I'm having trouble accessing the spec right now, but there's probably something in the XSLT function library which would accomplish this...
______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "may'ron DaroQbe'chugh vaj bIrIQbej" ("Put down the squeezebox and nobody gets hurt.")
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META content="MSHTML 5.50.4919.2200" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=848074015-16042003>Hi Joe,</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=848074015-16042003>I'm not sure what you mean by folding the values?</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=848074015-16042003>I just had an idea that I could write a stylesheet to create an intermediate xml doc with all values of @(protected) in lowercase and then apply my existing stylesheet to the intermediate xml doc. A bit extreme but I've got to meet a deadline for this.</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=848074015-16042003></SPAN></FONT> </DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=848074015-16042003>Thanks,</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=848074015-16042003>Dan</SPAN></FONT></DIV> <BLOCKQUOTE> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Joseph Kesselman [mailto:keshlam@(protected)]<BR><B>Sent:</B> 16 April 2003 14:00<BR><B>To:</B> xalan-j-users@(protected)<BR><B>Subject:</B> Re: Counting in xslt<BR><BR></FONT></DIV><BR><FONT face=sans-serif size=2>Classic solution would be to fold the values to a single case before comparing them. I'm having trouble accessing the spec right now, but there's probably something in the XSLT function library which would accomplish this...</FONT> <BR><FONT face=sans-serif size=2><BR>______________________________________<BR>Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. <BR>"may'ron DaroQbe'chugh vaj bIrIQbej" ("Put down the squeezebox and nobody gets hurt.")<BR></BLOCKQUOTE></FONT></BODY></HTML>
|
|
 |