[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Saxon parser

Subject: RE: Saxon parser
From: "James Piva" <james.piva@xxxxxxxxxxxxxxx>
Date: Tue, 2 Jan 2001 15:12:58 -0500
saxon parser
Hi again,

	when I parse with: 

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

	the parser tells me that ancestor is not declared in the namespace.
	This is my namespace declaration:

	<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:fo="http://www.w3.org/1999/XSL/Format">

	Should I have only one?

james

p.s. thanks sara

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
sara.mitchell@xxxxxxxxx
Sent: Tuesday, January 02, 2001 3:00 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: 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@xxxxxxxxxxxxxxx]
> Sent: Tuesday, January 02, 2001 11:40 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.