Subject: Re: [xsl] casting string as integer or double From: Mario Madunic <hajduk@xxxxxxxx> Date: Mon, 30 Apr 2007 15:37:10 -0700 |
David, Your method worked like a charm. I used it in the variable declaration and not the with-param. I'm storing that one away and start using it consistently. I know for a fact it is not empty and at one point I thought my context was wrong. I tested it by outputting the value of @cols as an attribute and each time a value appeared. Then I'd keep the test there and then added the called template and then the error message would appear. Alls working fine now and appreciate the help. I guess this is what happens when you listen to Wreckless Eric while coding. MM Quoting David Carlisle <davidc@xxxxxxxxx>: > > > I know that the value is not empty but a whole number. > > well unless given evidence to the contrary I'd suspect that saxon is > right and @cols is empty. Are you sure the current node is what you > think is is? > > David > > ________________________________________________________________________ > The Numerical Algorithms Group Ltd is a company registered in England > and Wales with company number 1249803. The registered office is: > Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. > > This e-mail has been scanned for all viruses by Star. The service is > powered by MessageLabs. > ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] casting string as integer, David Carlisle | Thread | RE: [xsl] casting string as integer, Michael Kay |
[xsl] Søren Buchholt Jepsen - T1785, sje | Date | Re: [xsl] Inserting the value of a , David Carlisle |
Month |