<?xml version='1.0' encoding='UTF-8'?>

<Properties version="4.1">
	<Property name="xslt.base64Zipped">true</Property>
	<Property name="xslt.ignoreInput">false</Property>
	<Property name="xslt.params" type="List" />
	<Property name="xslt.saveAtServer">true</Property>
	<Property name="xslt.source">&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;user>&lt;id>10196&lt;/id>&lt;displayName>James Smith&lt;/displayName>&lt;loginName>root&lt;/loginName>&lt;name>James Smith&lt;/name>&lt;eMailAddress>smith@example.com&lt;/eMailAddress>&lt;active>true&lt;/active>&lt;locale>de_DE&lt;/locale>&lt;language>de&lt;/language>&lt;country>DE&lt;/country>&lt;organizations>&lt;organization>&lt;id>14005&lt;/id>&lt;displayName>Publication Framework&lt;/displayName>&lt;name>Publication Framework&lt;/name>&lt;createdOn>2016-01-21T09:35:31.728Z&lt;/createdOn>&lt;createdByUser>&lt;id>10196&lt;/id>&lt;displayName>James Smith&lt;/displayName>&lt;/createdByUser>&lt;lastUpdatedOn>2016-01-21T09:35:31.728Z&lt;/lastUpdatedOn>&lt;lastUpdatedByUser>&lt;id>10196&lt;/id>&lt;displayName>James Smith&lt;/displayName>&lt;/lastUpdatedByUser>&lt;/organization>&lt;/organizations>&lt;roles>&lt;role>EPM Admin&lt;/role>&lt;role>Power User&lt;/role>&lt;role>User&lt;/role>&lt;role>EPM Superuser&lt;/role>&lt;role>EPM Integration&lt;/role>&lt;role>EPM User&lt;/role>&lt;role>Administrator&lt;/role>&lt;role>VAM-administrator&lt;/role>&lt;role>vpp-administrator&lt;/role>&lt;/roles>&lt;createdOn>2016-01-21T09:35:31.728Z&lt;/createdOn>&lt;createdByUser>&lt;id>10196&lt;/id>&lt;displayName>James Smith&lt;/displayName>&lt;/createdByUser>&lt;lastUpdatedOn>2016-01-21T09:35:31.728Z&lt;/lastUpdatedOn>&lt;lastUpdatedByUser>&lt;id>10196&lt;/id>&lt;displayName>James Smith&lt;/displayName>&lt;/lastUpdatedByUser>&lt;permissions>&lt;permission>&lt;module>api&lt;/module>&lt;context>organization&lt;/context>&lt;method>getConfiguration&lt;/method>&lt;/permission>&lt;permission>&lt;module>api&lt;/module>&lt;context>organization&lt;/context>&lt;method>setConfiguration&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>asset&lt;/context>&lt;method>create&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>asset&lt;/context>&lt;method>update&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>asset&lt;/context>&lt;method>delete&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>asset&lt;/context>&lt;method>getActionAttributes&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>asset&lt;/context>&lt;method>executeAction&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>asset&lt;/context>&lt;method>get&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>asset&lt;/context>&lt;method>query&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>person&lt;/context>&lt;method>create&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>person&lt;/context>&lt;method>update&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>person&lt;/context>&lt;method>delete&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>person&lt;/context>&lt;method>get&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>person&lt;/context>&lt;method>query&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>query&lt;/context>&lt;method>create&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>query&lt;/context>&lt;method>update&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>query&lt;/context>&lt;method>delete&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>query&lt;/context>&lt;method>get&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>query&lt;/context>&lt;method>query&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>template&lt;/context>&lt;method>create&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>template&lt;/context>&lt;method>update&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>template&lt;/context>&lt;method>delete&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>template&lt;/context>&lt;method>setImage&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>template&lt;/context>&lt;method>getImage&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>template&lt;/context>&lt;method>get&lt;/method>&lt;/permission>&lt;permission>&lt;module>am&lt;/module>&lt;context>template&lt;/context>&lt;method>query&lt;/method>&lt;/permission>&lt;/permissions>&lt;/user></Property>
	<Property name="xslt.sourceVariables" type="Map">
		<Property name="ISWorkflowName">VAM_api_main_userToDB</Property>
		<Property name="ISServerName">dev02.virtimo.net</Property>
		<Property name="ISInvokingWorkflow">VAM_api_main_attachUser</Property>
		<Property name="var.log" type="XmlDocument">&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;log>&lt;entries/>&lt;/log></Property>
		<Property name="ISModuleId">349872</Property>
		<Property name="ISGlobalProcessId">2240243</Property>
		<Property name="var.datastream" type="InternalDocument" documentSize="3696">H4sIAAAAAAAA/+2XW2/TMBTHv0rU99ZJx8Y2eR4FNmlIg0pbeeAFefEhs0js4EvX8ulxLmVNUw9pjd94aX0u/h3n/E+iBF+uijxagtJciotRMolHEYhUMi6yi9Hi/np8Orok2GpQBHNGkjg5O8HIrTDjuszp+jMtgHxyPzq6K7h5xGg7gHOZcVEvlZQGo2cbi97O2oPhlvJ8xpgCrYmuIu9gRYsyh0kqC4w6cUxTw5dAjLKAUWu4qinNgTD4/vGqqllbOKciszSr/M65MXAqrTBqTarUzRpLlVHBf1Pj+qK7ZtOIN3F83G/E3D7kPK3TomvlPE9S/dxpiXghselAqoAaYF8EmcbJyThOxtPkPj47Pzo+P0omb6en39xJ/+Zs0t+vF6+WCe0wcqrNomT/PEU3b3vbQafZw0FdCdCOQErm0P6Rq/ltNGMFFxjVduOdyydQUQXruHuOavedLUHZfZEbYSBTddVerIeqD8G1cfmyG/k6ux1Tb3RZlvujqL3M/wPS5zjFCq51Mw7PBsGFZNY1j5Yco3bt7nmn48qQ7Smq7v7Giwswj5KRDMwHKX7wzG4UbwMYbRcYpph+fbGiX4tqx+sXaVQMgra1HEHQDHIIhHYSz9Kq3TNjFH+wBnSQOrCC1MGbWqGuJAj3lwW1Pozs0vS+kR9iGn3sIcbRxx5iHn3sg2X0gQfQsUWEkNGDHkJFD3oIET3ogzX0cAeQ0IB7ka5bGkJFP30IIf30IbT0091j8aZwnwqh+Fl4fij0SxO5Zbg3MlR/Q/4By+q4RXAOAAA=</Property>
		<Property name="ISUserName">VAM</Property>
		<Property name="ISInvokingModule">VAM_api_wfc_userToDB</Property>
		<Property name="ISCurrentTime">1453368931780</Property>
		<Property name="ISProcessId">2240243</Property>
		<Property name="var.session" type="XmlDocument">&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;session>&lt;configuration>&lt;api> 
    &lt;database> 
      &lt;uri>jdbc:oracle:thin:@dev02.virtimo.net:1521:xe&lt;/uri>  
      &lt;user> 
        &lt;loginName>VPP_API&lt;/loginName>  
        &lt;password>VPP_API&lt;/password> 
      &lt;/user>  
      &lt;default> 
        &lt;alertTimeout>20&lt;/alertTimeout>  
        &lt;queryTimeout>60&lt;/queryTimeout> 
      &lt;/default> 
    &lt;/database>  
    &lt;entity> 
      &lt;validate>true&lt;/validate> 
    &lt;/entity>  
    &lt;response> 
      &lt;debuggingInformation>true&lt;/debuggingInformation>  
      &lt;format>false&lt;/format>  
      &lt;validate>true&lt;/validate> 
    &lt;/response>  
    &lt;user> 
      &lt;maxAge>-P0DT1H5M0S&lt;/maxAge>  
    &lt;/user>&lt;technicalUser> 
      &lt;loginName>sys&lt;/loginName> 
    &lt;/technicalUser>&lt;alerting> 
      &lt;recipient> 
        &lt;eMailAddress>kaufhold@virtimo.de &lt;/eMailAddress> 
      &lt;/recipient>&lt;mail> 
      &lt;host>smtp.googlemail.com&lt;/host>  
      &lt;sender> 
        &lt;eMailAddress>jochen@virtimo.net &lt;/eMailAddress> 
      &lt;/sender>  
      &lt;debuggingInformation>true&lt;/debuggingInformation> 
    &lt;/mail> 
    &lt;/alerting>&lt;backend>&lt;imNICHT>&lt;url>https://localhost:7080/im/1/rest/&lt;/url>&lt;/imNICHT>&lt;/backend> 
  &lt;/api>&lt;am> 
      
    &lt;database> 
      &lt;uri>jdbc:oracle:thin:@dev02.virtimo.net:1521:xe&lt;/uri>  
      &lt;user> 
        &lt;loginName>VPP_AM&lt;/loginName>  
        &lt;password>VPP_AM&lt;/password> 
      &lt;/user>  
      &lt;default> 
        &lt;alertTimeout>20&lt;/alertTimeout>  
        &lt;queryTimeout>60&lt;/queryTimeout> 
      &lt;/default> 
    &lt;/database>  
    &lt;entity> 
      &lt;validate>true&lt;/validate> 
    &lt;/entity>  
      
      
    &lt;technicalUser> 
      &lt;loginName>sys&lt;/loginName> 
    &lt;/technicalUser>
      
      
     
  &lt;/am>&lt;userGroupName>VAM&lt;/userGroupName>&lt;/configuration>&lt;startTimestamp>1453368931157&lt;/startTimestamp>&lt;/session></Property>
		<Property name="ISModuleName">VAM_api_empty</Property>
	</Property>
	<Property name="xslt.stylesheet" type="XmlDocument">&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:local="local:local" exclude-result-prefixes="#all" version="2.0">&lt;xsl:function name="local:dateTimeDB">&lt;xsl:param name="var.dateTime"/>&lt;xsl:value-of select="format-dateTime(adjust-dateTime-to-timezone($var.dateTime, xs:dayTimeDuration(&amp;quot;PT0H&amp;quot;)), &amp;quot;[Y0001]-[M01]-[D01] [H01]:[m01]:[s01].[f001]&amp;quot;)"/>&lt;/xsl:function>
  &lt;xsl:output method="xml" encoding="UTF-8"/>
  &lt;xsl:template match="/*">&lt;queries>&lt;query type="updateOrInsert">&lt;tables>&lt;table>&lt;tableNames>&lt;tableName>USERS&lt;/tableName>&lt;/tableNames>&lt;fields>&lt;field>&lt;fieldName>ID&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="id"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>DISPLAYNAME&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="if (name != '') then name else id"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>NAME&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="name"/&gt;&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>LOGINNAME&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="loginName"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>EMAILADDRESS&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="eMailAddress"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>LOCALE&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="locale"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>LANGUAGE&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="language"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>COUNTRY&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="country"/>&lt;/fieldValue>&lt;/field>&lt;field skip="update">&lt;fieldName>CREATEDON&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="local:dateTimeDB(current-dateTime())"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>LASTUPDATEDON&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="local:dateTimeDB(current-dateTime())"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>ACTIVE&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="if (active = 'true') then '1' else '0'"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>CTXDUMMY&lt;/fieldName>&lt;fieldValue> &lt;/fieldValue>&lt;/field>&lt;/fields>&lt;conditions>&lt;condition>&lt;leftValue>ID&lt;/leftValue>&lt;operation>=&lt;/operation>&lt;rightValue isValue="true">&lt;xsl:value-of select="id"/>&lt;/rightValue>&lt;/condition>&lt;/conditions>&lt;/table>&lt;/tables>
          
        &lt;/query>&lt;xsl:for-each select="organizations/organization">&lt;query type="updateOrInsert">&lt;tables>&lt;table>&lt;tableNames>&lt;tableName>ORGANIZATIONS&lt;/tableName>&lt;/tableNames>&lt;fields>&lt;field>&lt;fieldName>ID&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="id"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;xsl:attribute name="skip" select="'update'"/>&lt;fieldName>DISPLAYNAME&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="if (name != '') then name else id"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;xsl:attribute name="skip" select="'update'"/>&lt;fieldName>NAME&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="name"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;xsl:attribute name="skip" select="'update'"/>&lt;fieldValue>1&lt;/fieldValue>&lt;fieldName>ACTIVE&lt;/fieldName>&lt;/field>&lt;field skip="update">&lt;fieldName>CREATEDON&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="local:dateTimeDB(current-dateTime())"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>LASTUPDATEDON&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="local:dateTimeDB(current-dateTime())"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>CTXDUMMY&lt;/fieldName>&lt;fieldValue> &lt;/fieldValue>&lt;/field>&lt;/fields>&lt;conditions>&lt;condition>&lt;leftValue>ID&lt;/leftValue>&lt;operation>=&lt;/operation>&lt;rightValue isValue="true">&lt;xsl:value-of select="id"/>&lt;/rightValue>&lt;/condition>&lt;/conditions>&lt;/table>&lt;/tables>
          
        &lt;/query>&lt;/xsl:for-each>&lt;xsl:variable name="var.userId" select="id"/>&lt;query type="delete">&lt;tables>&lt;table>&lt;tableNames>&lt;tableName>USE_ORGANIZATIONS&lt;/tableName>&lt;/tableNames>&lt;conditions>&lt;condition>&lt;leftValue>USERID&lt;/leftValue>&lt;operation>=&lt;/operation>&lt;rightValue isValue="true">&lt;xsl:value-of select="$var.userId"/>&lt;/rightValue>&lt;/condition>&lt;/conditions>&lt;/table>&lt;/tables>&lt;/query>&lt;xsl:for-each select="organizations/organization">&lt;query type="insert">&lt;tables>&lt;table>&lt;tableNames>&lt;tableName>USE_ORGANIZATIONS&lt;/tableName>&lt;/tableNames>&lt;fields>&lt;field>&lt;fieldName>USERID&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="$var.userId"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>ORGANIZATIONID&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="id"/> &lt;/fieldValue>&lt;/field>&lt;/fields>&lt;/table>&lt;/tables>
          
        &lt;/query>&lt;/xsl:for-each>&lt;query type="delete">&lt;tables>&lt;table>&lt;tableNames>&lt;tableName>USE_ROLES&lt;/tableName>&lt;/tableNames>&lt;conditions>&lt;condition>&lt;leftValue>USERID&lt;/leftValue>&lt;operation>=&lt;/operation>&lt;rightValue isValue="true">&lt;xsl:value-of select="$var.userId"/>&lt;/rightValue>&lt;/condition>&lt;/conditions>&lt;/table>&lt;/tables>&lt;/query>&lt;xsl:for-each select="roles/role">&lt;query type="insert">&lt;tables>&lt;table>&lt;tableNames>&lt;tableName>USE_ROLES&lt;/tableName>&lt;/tableNames>&lt;fields>&lt;field>&lt;fieldName>USERID&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="$var.userId"/>&lt;/fieldValue>&lt;/field>&lt;field>&lt;fieldName>ROLE&lt;/fieldName>&lt;fieldValue>&lt;xsl:value-of select="."/>&lt;/fieldValue>&lt;/field>&lt;/fields>&lt;/table>&lt;/tables>
          
        &lt;/query>&lt;/xsl:for-each>
      
      
      
      
    &lt;/queries>
  &lt;/xsl:template>
&lt;/xsl:stylesheet></Property>
	<Property name="xslt.target"></Property>
	<Property name="xslt.transformer">net.sf.saxon.TransformerFactoryImpl</Property>
</Properties>