xsl-list
[Top] [All Lists]

Re: undeclared namespace error

2005-03-22 15:42:09
Thanx all, I never would have found that on my own.  I have one other
question, kind of off topic but maybe someone can point me to a good
resource.  I now want to add filter and sort capabilities to the
application so the end user can filter and sort on any field.  I know
(kind of) how to do this by modifying the xslt file, but how do I do
it dynamically from within my ASP.net page?  In other words, the user
clicks on a link on my aspx page and I then need to add an xsl:sort
element to my xslt file.  Any suggestions are greatly appreciated.

Thanx again,

Dan


On Tue, 22 Mar 2005 15:07:13 -0500, Wendell Piez
<wapiez(_at_)mulberrytech(_dot_)com> wrote:
Dan,

At 02:52 PM 3/22/2005, you wrote:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xslns:xsl="http://www.w3.org/1999/XSL/Transform";>
                                ^^^^^

You have a typo: that should be xmlns:xsl (an XML namespace declaration for
the 'xsl' qualifier). As it is, it thinks this is an attribute named
"xslns:xsl", so the xsl: namespace isn't bound to that URI and your
processor doesn't know what namespace these 'xsl' elements belong to.

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>