Subject: Re: [xsl] How to select a namespaced attribute? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 27 Dec 2002 15:51:15 -0500 |
<xsl:value-of select="//Services/@key"/> ... and Saxon 6.5.2 and msxsl come up with nothing.
If I substitute @src:key, then I get an error for an undeclared namespace.
How can I select the value of the src:key attribute correctly?
</xsl:template> </xsl:stylesheet>
T:\ftemp>saxon vic.xml vic.xsl <?xml version="1.0" encoding="utf-8"?>2 T:\ftemp>
-- Upcoming hands-on in-depth XSLT/XPath and/or XSL-FO: - North America: Feb 3 - Feb 7,2003
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-10-1 Practical Formatting Using XSL-FO Next conference training: 2003-03-03,06
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to select a namespaced at, Vic Gar | Thread | Re: [xsl] How to select a namespace, Dimitre Novatchev |
[xsl] How to select a namespaced at, Vic Gar | Date | [xsl] summing 5 largest nodes, Todd Binder |
Month |