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

RE: current-group () function trouble

Subject: RE: current-group () function trouble
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 10 Mar 2005 23:23:14 -0000
undeclared namespace prefix xs
You need to declare the namespace

xmlns:xs="http://www.w3.org/2001/XMLSchema"

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Kessler, Marcy [mailto:marcy.kessler@xxxxxx] 
> Sent: 10 March 2005 19:10
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  current-group () function trouble
> 
> Thanks for the suggestions.
> 
> Michael -
> I think that I'm going to go with the more elegant recursive solution
> you've suggested.  It definitely strikes me as being easier to add
> levels in this way.
> 
> Amongst the many errors I'm getting in trying to implement 
> this, one of
> them is the following:
> XP0003:  Xpath syntax error at char 0 in {xs:integer}:
>   Undeclared namespace prefix {xs}
> 
> I don't understand why I'm getting that error.  In your book it says
> that xs:integer "will work whether or not your XSLT processor is
> schema-aware, and whether or not your source documents are validated
> using an XML Schema".
> 
> This XSLT is validating against a DTD.
> 
> What am I missing?
> 
> Thanks so very much for your help,
> Marcy

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.