xsl-list
[Top] [All Lists]

RE: current-group () function trouble

2005-03-10 12:20:09
I'm not Michael, but I think I can answer the question.

You need to add the following to your stylesheet element:

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

HTH

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




"Kessler, Marcy" <marcy(_dot_)kessler(_at_)hp(_dot_)com> 
03/10/2005 01:10 PM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


To
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
cc

Subject
RE: [xsl] 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--