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

RE: undeclared namespace error

Subject: RE: undeclared namespace error
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 22 Mar 2005 20:03:38 -0000
xsl is an undeclared namespace
A well hidden typo:

xslns:xsl="http://www.w3.org/1999/XSL/Transform"
^^^^^

Your fingers have obviously learned to type "xsl" without engaging brain...

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



> -----Original Message-----
> From: Dan Chandler [mailto:daniel.chandler@xxxxxxxxx] 
> Sent: 22 March 2005 19:53
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  undeclared namespace error
> 
> Hi all,
> 
> I am working on a ,net application that displays an XML file.  I have
> an XSLT file that is supposed to format the XML file into a table.
> The following is the xslt file:
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> <xsl:stylesheet version="1.0" 
> xslns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:template match="NewDataSet">
>        <xsl:for-each select="LogEntry">
>                <TR>
>                        <TD><xsl:value-of 
> select="client"></xsl:value-of></TD>
>                        <TD><xsl:value-of 
> select="process"></xsl:value-of></TD>
>                        <TD><xsl:value-of 
> select="TDS"></xsl:value-of></TD>
>                        <TD><xsl:value-of
> select="ProcessType"></xsl:value-of></TD>
>                        <TD><xsl:value-of 
> select="FileSize"></xsl:value-of></TD>
>                        <TD><xsl:value-of 
> select="Success"></xsl:value-of></TD>
>                        <TD><xsl:value-of 
> select="Message"></xsl:value-of></TD>
>                </TR>
>        </xsl:for-each>
> </xsl:template>
> </stylesheet>
> 
> I am betting I have several problems in there, but the one I am stuck
> on right now is when i try to run the application I get the error:
> 
> "'xsl' is an undeclared namespace. Line 2, position 2."
> 
> I've looked online and it seems like this error has something to do
> with the stylesheet declaration line, but I can't quite figure out
> what I am doing wrong.  Anyone help is appreciated.  Thanx.
> 
> Dan

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.