This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Saxon parser


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@ndexsystems.com]
> Sent: Tuesday, January 02, 2001 11:40 AM
> To: xsl-list@lists.mulberrytech.com
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]