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]

RE: [xsl] Saxon parser


Subject: RE: [xsl] Saxon parser
From: sara.mitchell@xxxxxxxxx
Date: Tue, 2 Jan 2001 14:59:52 -0500

Your syntax is incorrect. Ancestor is an axis that must be 
followed by ":node-type". I'm not sure exactly what you 
want to select, but it looks like you want to select and 
ancestor named Element that contains an attribute with an
value named attribute. If that is what you want to 
select, the syntax should be: 

<xsl:value-of select="ancestor:Element[@attribute]"/>

Sara

> -----Original Message-----
> From: James Piva [mailto:james.piva@xxxxxxxxxxxxxxx]
> Sent: Tuesday, January 02, 2001 11:40 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Saxon parser
> 
> 
> Hi,
> 	I'm having a problem with saxon parser.
> 	It seems that the parser does not recognize `ancestor`.
> 
> 
> 	<xsl:value-of select="ancestor(Element[@attribute])"/>
> 
> 
> 	This is normal?  Should I look for a new parser?
> 
> 
> james piva
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

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



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