[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Unable to use count function because of Namespac
Hi David, Thanks for the solution . My problem is solved, I changed my style sheet like this .. ' <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sb="http://www.readiminds.com/infra/readione/workbench/signaturebuilde r"> Thanks, Thanks & Regards, Yaswanth Kumar Ravella -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Friday, September 07, 2007 5:05 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Unable to use count function because of Namespaces... > says prefix should resolve to name space !! you need to declare the prefix in your xslt (it doesn't have to be the same prefix but does need to be the same uri) so add xmlns:sb="http://www.readiminds.com/infra/readione/workbench/signaturebuilde r" to your xsl:stylesheet. this is nothing to do with the count() function, just a basic XPath requirement that to select an eleemnt in a namespace the namespace needs to be known to the stylesheet. 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
|