LISTING 1

<?xml version="1.0" encoding="UTF-8"?>
<request 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd"
type="update" create-oids="true">

    <portal action="locate">

		<skin action="update" active="true" objectid=
		 "Skin_A"
		 uniquename="wps.skin.mySkin1" resourceroot="My_Skin1">
			<localedata locale="en">
			     <title>Skin 1</title>
                         <description>A skin that is red</

                           description>
			</localedata>
		</skin>

		<skin action="update" active="true" objectid=
		 "Skin_B" 
		 uniquename="wps.skin.mySkin2" 
		 resourceroot="My_Skin2">
			<localedata locale="en">
			     <title>Skin 2</title>
                         <description>A skin that is blue</description>
			</localedata>
		</skin>

    </portal>
</request>

LISTING 2
<?xml version="1.0" encoding="UTF-8"?>
<request 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd"
 type="update" create-oids="true">

    <portal action="locate">

	 <skin action="locate" objectid="Skin_A" uniquename=
	 "wps.skin.mySkin1"/>
	 <skin action="locate" objectid="Skin_B" uniquename=
	 "wps.skin.mySkin2"/>

 	 <theme action="update" active="true" defaultskinref=
	  "Skin_A" 
	  objectid="Theme_Blue" uniquename="wps.theme.
	  BlueTheme" 
	  resourceroot="Theme_1">
			<localedata locale="en">
				<title>Big Blue theme</title>
			</localedata>
			<allowed-skin skin="Skin_A"
			    update="set"/>
			<allowed-skin skin="Skin_B" 
			    update="set"/>
	 </theme>

	 <theme action="update" active="true" defaultskinref=
	  "Skin_B" 
	  objectid="Theme_Green" uniquename="wps.theme.
	  GreenTheme" 
	  resourceroot="Theme_2">
			<localedata locale="en">
				<title>Big Green Theme</title>
			</localedata>
			<allowed-skin skin="Skin_B" 
			    update="set"/>
	 </theme>

    </portal>
</request>


LISTING 3

<?xml version="1.0" encoding="UTF-8"?>
<request
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd"
 type="update"
 create-oids="true">

    <portal action="locate">

     <web-app action="update" active="true" 
	  uid="com.yourco.portlet.PortletAlpha">
        <url>file:///$server_root$/installableApps/
		 PortletAlpha.war</url>
        <portlet-app action="update" active="true" 
		 uid="com.yourco.portlet.PortletAlpha.1">
            <portlet action="update" active="true" 
			 objectid="Portlet_Alpha" 
			 name="Portlet_Alpha Application">
            </portlet>
        </portlet-app>
      </web-app>

     <web-app action="update" active="true"
	  uid="com.yourco.portlet.PortletBravo">
        <url>file:///$server_root$/installableApps/
		 PortletBravo.war</url>
        <portlet-app action="update" active="true" 
		 uid="com.yourco.portlet.PortletBravo.1">
            <portlet action="update" active="true" 
			 objectid="Portlet_Bravo" 
			 name="Portlet_Bravo Application">
            </portlet>
        </portlet-app>
      </web-app>

     <web-app action="update" active="true"
	  uid="com.yourco.portlet.PortletCharlie">
        <url>file:///$server_root$/installableApps/
		 PortletCharlie.war</url>
        <portlet-app action="update" active="true" 
		 uid="com.yourco.portlet.PortletCharlie.1">

            <portlet action="update" active="true" 
			 objectid="Portlet_Charlie" 
			 name="Portlet_Charlie Application">
            </portlet>
        </portlet-app>
      </web-app>

    </portal>
</request>


LISTING 4

<?xml version="1.0" encoding="UTF-8"?>
<request
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd"
 type="update"
 create-oids="true">

    <portal action="locate">

      	 <theme action="locate" active="true" uniquename="wps.theme.BlueTheme" 
		  resourceroot="Theme_1" objectid="Theme_Blue"/>

        <web-app action="locate" active="true" 
		 uid="com.yourco.portlets.PortletCharlie">
           <url>file:///$server_root$/installableApps/
		    PortletCharlie.war</url>
           <portlet-app action="locate" active="true" 
		    uid="com.yourco.portlets.PortletCharlie.1">
                <portlet action="locate" active="true" 
				 objectid="Portlet_Charlie" name="Portlet 
				 Charlie Application">
                </portlet>
           </portlet-app>
        </web-app>

        <content-node action="locate" objectid="6_0_A 
		 Content Root" 
		 uniquename="wps.content.root"/>

        <content-node action="update" objectid="HomeTab" 
		 uniquename="wps.HomeTab" content-parentref="6_0_A 
		 Content Root" 
		 active="true" ordinal="first" allportletsallowed=
		 "true"
		 create-type="explicit" type="label" themeref=
		 "Theme_Blue">
            <supported-markup markup="html" update="set"/>
            <localedata locale="en">
                <title>Home</title>
            </localedata>
	 </content-node>

        <content-node action="locate" objectid="HomeTab" 
		 uniquename="wps.HomeTab"/>

        <content-node action="update" objectid="WelcomePage" 
		 uniquename="wps.HomeTab.WelcomePage" 
		 content-parentref="HomeTab"  
		 active="true" ordinal="100" allportletsallowed=
		 "true" 
		 create-type="explicit" type="page">
            <supported-markup markup="html" update="set"/>
            <localedata locale="en">
                <title>Welcome</title>
            </localedata>
            <component action="update" active="true" 
			 objectid="container1" ordinal="-1" orientation="H" 
			 type="container" width="300">
                <portletinstance action="update" handle="" 
				 objectid="portletinstance1" portletref="Portlet_Charlie">
		   </portletinstance>
            </component>
        </content-node>

    </portal>
</request>