xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Warning: The attribute axis starting at an attribute node will never select anything


Subject: [xsl] Warning: The attribute axis starting at an attribute node will never select anything
From: "Mark" <mark@xxxxxxxxxxxx>
Date: Mon, 31 Oct 2011 05:58:27 -0700

The following line:
<xsl:attribute name="title" select="concat(if (ancestor::Set/@domain eq 'cr') then ........


The code executes the "if/then/else as I expected but produces the warning: "The attribute axis starting at an attribute node will never select anything"

What is the proper way to test the value of "ancestor::Set/@domain" that avoid this warning?
Thanks,
Mark



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor