You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "David Marzo (Puzzlet)" <da...@puzzlet.net> on 2005/03/18 13:07:21 UTC
Ibatis.NET Visual Studio 2003 autocomplete for xml mapped file
TIP: Autocomplete in VS 2003
Change SqlMap.xsd first line
1) Add attribute: targetNamespace=http://tempuri.org/SqlMap.xsd To
SqlMap.xsd
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace=http://tempuri.org/SqlMap.xsd >
2) Add atribute xmlns=http://tempuri.org/SqlMap.xsd when you define
sqlmaping
<sqlMap namespace="Item"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="SqlMap.xsd" atribute
xmlns=http://tempuri.org/SqlMap.xsd>
Copy SqlMap.xsd into the same direcotry you have xml mapping file.
David Marzo