<?xml version="1.0" encoding="UTF-8"?>
<versions>
  <!--
      Description   This file defines sample mapping of form item attributes in the formitems.xml
      Copyright     Copyright (c) SAP AD 2003
      Author        KM
      Version       1.0 2003-02-07

	With a simlar xml file in /etc/xmlforms root folder
	properties and options of the XML Forms Builder formitems.xml
	configuration file, used and stored with older projects,
	can be mapped to the new version of the values.

	The new values are automatically substituted if an
	project with no or an older version is load.

	!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
	IMPORTANT NOTE: To get this file load by the XML Fomrs Builder
	rename it from versioning_samle.xml to versioning.xml!

	If this file is present in the /etc/xmlforms
	folder, loading time of the XML Forms Builder may 
	slow down. Rename this file back to versioning_sample.xml
	if no conversion is necessary or conversion of all 
	old projects has been completed!
	!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


	XML Syntax explanations:

	- Root tag is <versions>
	- In the <global> section mappings to perform on 
	  all items of the formitems.xml can be defined
	- Individual modifications are enclosed with xml
	  tags labeled with the item (control) name concerned
	  (e.g. <XFLabel> ... </XFLabel>, <XFTextField> ... </XFTextField>)
	- Attribute and property modifications can be specified 
	  with the <attribute> and <property> tags. They can 
	  contain multiple <version> tags, identifying different
	  values for different versions. In addition a <noversion>
	  tag may be used to identify the value used for projects
	  without a version tag.
	- Option modifications are specified with the <options> tag.
	  Here the property must be specified using a <parent> tag.
	  Values and texts are identified using the <value> and <text> grouping

	Ex. to change all sapTxt option properties to urTxtStd, the XFLabel's
	header property from "true" to "yes" and the XFTextField's property
	name from "style" to "appearence"

	<versions>
	  <global>
	    </option>
     		<value>
	        <noversion>sapTxt</noversion>
     		  <version v="6.0">urTxtStd</version>
	      </value>
      	<text>
	        <noversion>sapTxt</noversion>
	        <version v="6.0">urTxtStd</version>
	      </text>
	    </option>
	  </globals>

	  <XFLabel>
	    <option>
	      <value>
	        <noversion>true</noversion>
	        <version v="6.0">yes</version>
	      </value>
	      <text>
	        <noversion>true</noversion>
	        <version v="6.0">yes</version>
	      </text>
		<parent>header</parent>
	    </option>
	  </XFLabel>

	  <XFTextField>
	    <property>
      	<noversion>style</noversion>
	      <version v="6.0">appearence</version>
	    </property>
	  </XFTextField>
	</versions>


  -->

  <global>

    <!--
		Modification History:

		EP 6.0, 2003-02-07, m.hans@sap.com

			EP 6.0 switches to unified rendering where
			the names of the style classes have changed, 
			we need to change the places where explicit style classes are used
			NOTE: the mapping only provides legal new default styles. 
			Redesign for existing projects is still necessary!
    -->

    <!--
		sapGrpBdyBoxBgColor -> urGrpBdyBoxBgColor
    -->
    <option>
     	<value>
        <noversion>sapGrpBdyBoxBgColor</noversion>
     	  <version v="6.0">urGrpBdyBoxBgColor</version>
      </value>
      <text>
        <noversion>sapGrpBdyBoxBgColor</noversion>
        <version v="6.0">urGrpBdyBoxBgColor</version>
      </text>
    </option>

    <!--
		sapETbvStd -> urGrpBdyBoxBgColor
    -->
    <option>
     	<value>
        <noversion>sapETbvStd</noversion>
     	  <version v="6.0">urGrpBdyBoxBgColor</version>
      </value>
      <text>
        <noversion>sapETbvStd</noversion>
        <version v="6.0">urGrpBdyBoxBgColor</version>
      </text>
    </option>

    <!--
		sapTxtLbl -> urTxtLbl
    -->
    <option>
     	<value>
        <noversion>sapTxtLbl</noversion>
     	  <version v="6.0">urTxtLbl</version>
      </value>
      <text>
        <noversion>sapTxtLbl</noversion>
        <version v="6.0">urTxtLbl</version>
      </text>
    </option>

    <!--
		sapTxt -> urTxtStd
    -->
    <option>
     	<value>
        <noversion>sapTxt</noversion>
     	  <version v="6.0">urTxtStd</version>
      </value>
      <text>
        <noversion>sapTxt</noversion>
        <version v="6.0">urTxtStd</version>
      </text>
    </option>

    <!--
		sapLnk -> urLnk
    -->
    <option>
     	<value>
        <noversion>sapLnk</noversion>
     	  <version v="6.0">urLnk</version>
      </value>
      <text>
        <noversion>sapLnk</noversion>
        <version v="6.0">urLnk</version>
      </text>
    </option>

    <!--
		sapTxtLeg -> urTxtLeg
    -->
    <option>
     	<value>
        <noversion>sapTxtLeg</noversion>
     	  <version v="6.0">urTxtLeg</version>
      </value>
      <text>
        <noversion>sapTxtLeg</noversion>
        <version v="6.0">urTxtLeg</version>
      </text>
    </option>

    <!--
		sapTxtH1 -> urTxtH1
    -->
    <option>
      <value>
        <noversion>sapTxtH1</noversion>
        <version v="6.0">urTxtH1</version>
      </value>
      <text>
        <noversion>sapTxtH1</noversion>
        <version v="6.0">urTxtH1</version>
      </text>
    </option>

    <!--
		sapTxtH2 -> urTxtH2
    -->
    <option>
      <value>
        <noversion>sapTxtH2</noversion>
        <version v="6.0">urTxtH2</version>
      </value>
      <text>
        <noversion>sapTxtH2</noversion>
        <version v="6.0">urTxtH2</version>
      </text>
    </option>

    <!--
		sapTxtH3-> urTxtH3
    -->
    <option>
      <value>
        <noversion>sapTxtH3</noversion>
        <version v="6.0">urTxtH3</version>
      </value>
      <text>
        <noversion>sapTxtH3</noversion>
        <version v="6.0">urTxtH1</version>
      </text>
    </option>

    <!--
		sapBtnSml-> urBtnSml
    -->
    <option>
      <value>
        <noversion>sapBtnSml</noversion>
        <version v="6.0">urBtnSml</version>
      </value>
      <text>
        <noversion>sapBtnSml</noversion>
        <version v="6.0">urBtnSml</version>
      </text>
    </option>

    <!--
		sapBtn -> urBtnStd
    -->
    <option>
      <value>
        <noversion>sapBtn</noversion>
        <version v="6.0">urBtnStd</version>
      </value>
      <text>
        <noversion>sapBtn</noversion>
        <version v="6.0">urBtnStd</version>
      </text>
    </option>

    <!--
		sapEdfTxtEnbl -> urEdfTxtEnbl, XFTextField
    -->
    <option>
      <value>
        <noversion>sapEdfTxtEnbl</noversion>
        <version v="6.0">urEdfTxtEnbl</version>
      </value>
      <text>
        <noversion>sapEdfTxtEnbl</noversion>
        <version v="6.0">urEdfTxtEnbl</version>
      </text>
    </option>

    <!--
		sapGrpWhlBox (used in News and FAQs) -> urEdfTxtEnbl 
    -->
    <option>
     	<value>
        <noversion>sapGrpWhlBox</noversion>
     	  <version v="6.0">urEdfTxtEnbl</version>
      </value>
      <text>
        <noversion>sapGrpWhlBox</noversion>
        <version v="6.0">urEdfTxtEnbl</version>
      </text>
    </option>

    <!--
		sapTedWhl -> urTedWhl, XFTextArea, HTMLEditor
    -->
    <option>
      <value>
        <noversion>sapTedWhl</noversion>
        <version v="6.0">urTedWhl</version>
      </value>
      <text>
        <noversion>sapTedWhl</noversion>
        <version v="6.0">urTedWhl</version>
      </text>
    </option>

  </global>

</versions>
