xsl-list
[Top] [All Lists]

'qname' is not a valid XSLT or XPath function

2003-07-10 12:48:13
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



<Prev in Thread] Current Thread [Next in Thread>