XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
saif ghassanSubject: The prefix 'xmlns' cann't be bound to any namespace explicity
Author: saif ghassan
Date: 04 Jul 2005 03:04 AM
I have this mesage appearing to me with this XSLt file codes below

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xmlns="http://www.w3.org/2000/xmlns/">
<xsl:template match="/">
<html>
<body>
<form method="post" action="TestDealer.asp">
<h2>Tool Information (edit):</h2>
<table border="0">
<xsl:for-each select="Personal/Name/Name_Field">
<tr>
<td>
<xsl:value-of select="@id"/>
</td>
<td>
<input type="text">
<xsl:attribute name="id">
<xsl:value-of select="@id" />
</xsl:attribute>
<xsl:attribute name="name">
<xsl:value-of select="@id" />
</xsl:attribute>
<xsl:attribute name="value">
<xsl:value-of select="value" />
</xsl:attribute>
</input>
</td>
</tr>
</xsl:for-each>
</table>
<br />
<input type="submit" id="btn_sub" name="btn_sub" value="Submit" />
<input type="reset" id="btn_res" name="btn_res" value="Reset" />
</form>
</body>
</html>
</xsl:template>

<xsl:template match="@xmlns:xsi">

</xsl:template>

<xsl:template match="@xmlns:xsi">

</xsl:template>

<xsl:template match="@xmlns:xsi">

</xsl:template>

<xsl:template match="@xmlns:xsi">

</xsl:template>

<xsl:template match="@xmlns:xsi">

</xsl:template>

<xsl:template match="@xsi:noNamespaceSchemaLocation">

</xsl:template>
</xsl:stylesheet>





So please can you help me?

Posttop
Alberto MassariSubject: The prefix 'xmlns' cann't be bound to any namespace explicity
Author: Alberto Massari
Date: 06 Jul 2005 08:07 AM
Hi Saif,
the "xmlns" prefix is predefined in XML, and cannot be declared. Just remove the xmlns:xmlns="...." declaration.

Alberto

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.