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

Re: referring to variables using variables?

Subject: Re: referring to variables using variables?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 13 Jan 2004 11:43:52 GMT
namespace using variable
  i changed xx in select="xx:node-set($index)/*" to xmlns and changed the 
  select function slightly to match the brackets  <xsl:for-each 
  select="document($nsindex/*[name()=$catname])/root/child::*"> . It says 
  'Namspace " does not contain any functions ', does anyone know what this 

You can leave the xx as xx: (if you prefer) but what you must do is
declare the namespace using xmlns:xx (or whatever prefix you choose)
to be the namespace for extension functions in your processors extension
namespace. 
xmlns:xx="http://exslt.org/common"
for example would enable teh use of the EXSLT node-set function on
systems that support EXSLT (saxon, xalan, libxslt, jd, and some others)
xmlns:xx="urn:schemas-microsoft-com:xslt"
would define the xx prefix to be teh microsoft extension namespace
which also has a node-set() function, this would work on msxml3 and
msxml4.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.