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

RE: Unknown error in Xpath

Subject: RE: Unknown error in Xpath
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 2 Sep 2003 20:42:04 +0100
unknown error in xpath
When the XSLT processor can't tell you anything better than "Unknown
error", then it's time to try it on a different processor. If nothing
else, you're likely to get better diagnostics.

There's nothing wrong with your xsl:variable, though the trailing "/."
is redundant.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Vivek Shinde
> Sent: 02 September 2003 19:03
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Unknown error in Xpath
> 
> 
> Team,
> I have a xsl stylesheet that has a template with following statements:
> 
> <xsl:stylesheet 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
> 	<xsl:output method="html"/>
> 	<xsl:template match="/newsletter">
> ..
> ..
> ..
> <xsl:variable name="classification" 
> select="normalize-space(metadata/article-classification/.)"/>
> <xsl:if test="contains($classification,'News')">
> 
> When I run the stylesheet with an XML file, I get following error:
> 
> got an exception....Unknown error in Xpath
> ; SystemID: file:..... Line#: 365; Column#: 98
> Line 365 is the <xsl:variable....> line.
> If I run it without this statement, it runs fine. I don't see 
> any obvious error in that statement. Any clues? 
> Thanks
> Vivek
> 
> 
> 
>  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.