[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: casting string as integer or double
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. > ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|