Namespace Example

Microsoft® Provisioning Framework (MPF) uses namespaces to associate providers and procedures with the Configuration Database. The following example shows a namespace named New Namespace that has one procedure, New Request.

<namespace name="New Namespace" 
  <procedure name="New Request" type="write" access="public">
	<execute namespace="Test Namespace" procedure="Write Request">
	<forEach name="organization" root="data" 
	<before source="organization" destination="executeData">
		<xsl:template match="organization[@type='primary']">
			<xsl:value-of select="@name"/>
		<xsl:template match="organization[@type='secondary']">
			<xsl:value-of select="@name"/>
	<after source="executeData" destination="data" 
		destinationPath="orgSignup" mode="merge"/>

In the procedure definition:

See Also

Developing Custom Namespaces, Registering Namespaces in MPF, XML Schema for Namespaces

Up Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.