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

'qname' is not a valid XSLT or XPath function

Subject: 'qname' is not a valid XSLT or XPath function
From: "Greg Johnson" <gjohnson@xxxxxxxxxxxx>
Date: Thu, 10 Jul 2003 15:48:13 -0400
not a valid qname
I'm new to XML, and I saw an example template that used the following:

<xsl:if test="not(from-preceding-siblings(*[qname(.)=context().qname(.)]))">
<h1><xsl:value-of select="qname(.)"/></h1>
</xsl:if>

This is a way for selecting distinct XML elements... I think.

Anyways, the translators in MSXML 4 and XMLSpy (Eval) don't recognize this
qname() function.
I saw something about Extensions to XLST in a FAQ, but I'm afraid that I'm
at a loss about how it all works.

If someone could either explain it to me, or point me to a good
tutorial/reference that I could read about what I'm supposed to do to get
this to work, I would appreciate it.

Greg

sorry in advance if this is already explained in the FAQ's.  I did a search
for how to get this to work and couldn't find anything good...


 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.