This article is one of a series. See All about Features! for more.
Tips for editing Features
Features are defined using XML. You can use any editor, but likely candidates include Notepad, Visual Studio, SharePoint Designer and any other XML editor. To edit XML with some form of Intellisense requires an XML schema. SharePoint supplies one named WSS.XSD and it can be found in:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss.xsd
The wss.xsd schema defines: Feature, Elements, List, Project and Solution.
In many XML editors you register the schema in the editor and then list the schema in the XML tag:
<Feature xmlns="http://schemas.microsoft.com/sharepoint/">
</Feature>
In Visual Studio you can enter the path to the schema file in the Schemas property of the document. Once the editor knows the schema you should get syntax help from your XML editor.
Back to All about Features! for more.
No comments:
Post a Comment