title: how to get text inbetween XML tags
body: <p>i have this XML code</p>
  
  <pre><code>    &lt;Item&gt;
        &lt;modelName&gt;btype&lt;/modelName&gt;
        &lt;txdName&gt;btype&lt;/txdName&gt;
        &lt;handlingId&gt;C0met&lt;/handlingId&gt;
        &lt;gameName&gt;ROOSEVELT&lt;/gameName&gt;
        &lt;vehicleMakeName&gt;ALBANY&lt;/vehicleMakeName&gt;
        &lt;expressionDictName&gt;null&lt;/expressionDictName&gt;
        &lt;expressionName&gt;null&lt;/expressionName&gt;
        &lt;animConvRoofDictName&gt;null&lt;/animConvRoofDictName&gt;
        &lt;animConvRoofName&gt;null&lt;/animConvRoofName&gt;
        &lt;animConvRoofWindowsAffected /&gt;
        &lt;ptfxAssetName&gt;veh_car&lt;/ptfxAssetName&gt;
        &lt;audioNameHash /&gt;
        &lt;layout&gt;LAYOUT_VAN_ROOSEVELT&lt;/layout&gt;
        &lt;coverBoundOffsets&gt;ROOSEVELT_COVER_OFFSET_INFO&lt;/coverBoundOffsets&gt;
        &lt;explosionInfo&gt;EXPLOSION_INFO_DEFAULT&lt;/explosionInfo&gt;
        &lt;scenarioLayout /&gt;
        &lt;cameraName&gt;DEFAULT_FOLLOW_VEHICLE_CAMERA&lt;/cameraName&gt;
        &lt;aimCameraName&gt;DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA&lt;/aimCameraName&gt;
        &lt;bonnetCameraName&gt;VEHICLE_BONNET_CAMERA_STANDARD_LONG_EXTRA_LOW&lt;/bonnetCameraName&gt;
        &lt;vfxInfoName&gt;VFXVEHICLEINFO_CAR_GENERIC&lt;/vfxInfoName&gt;
        &lt;shouldUseCinematicViewMode value="true" /&gt;
        &lt;shouldCameraTransitionOnClimbUpDown value="false" /&gt;
        &lt;shouldCameraIgnoreExiting value="false" /&gt;
        &lt;AllowPretendOccupants value="true" /&gt;
        &lt;AllowJoyriding value="true" /&gt;
        &lt;AllowSundayDriving value="true" /&gt;
        &lt;AllowBodyColorMapping value="true" /&gt;
        &lt;wheelScale value="0.245000" /&gt;
        &lt;wheelScaleRear value="0.450700" /&gt;
        &lt;dirtLevelMin value="0.000000" /&gt;
        &lt;dirtLevelMax value="0.800000" /&gt;
        &lt;envEffScaleMin value="0.000000" /&gt;
        &lt;envEffScaleMax value="1.000000" /&gt;
        &lt;envEffScaleMin2 value="0.000000" /&gt;
        &lt;envEffScaleMax2 value="1.000000" /&gt;
        &lt;damageMapScale value="0.500000" /&gt;
        &lt;damageOffsetScale value="0.500000" /&gt;
        &lt;diffuseTint value="0x00FFFFFF" /&gt;
        &lt;steerWheelMult value="1.000000" /&gt;
        &lt;HDTextureDist value="5.000000" /&gt;
        &lt;lodDistances content="float_array"&gt;10
   25
   70
   500
  &lt;/lodDistances&gt;
        &lt;identicalModelSpawnDistance value="20" /&gt;
        &lt;maxNumOfSameColor value="10" /&gt;
        &lt;defaultBodyHealth value="1000.000000" /&gt;
        &lt;pretendOccupantsScale value="1.000000" /&gt;
        &lt;visibleSpawnDistScale value="1.000000" /&gt;
        &lt;trackerPathWidth value="2.000000" /&gt;
        &lt;weaponForceMult value="1.000000" /&gt;
        &lt;frequency value="1" /&gt;
        &lt;swankness&gt;SWANKNESS_5&lt;/swankness&gt;
        &lt;maxNum value="2" /&gt;
        &lt;flags&gt;FLAG_SPORTS FLAG_RICH_CAR FLAG_COUNT_AS_FACEBOOK_DRIVEN FLAG_EXTRAS_ALL FLAG_EXTRAS_STRONG&lt;/flags&gt;
        &lt;type&gt;VEHICLE_TYPE_CAR&lt;/type&gt;
        &lt;plateType&gt;VPT_BACK_PLATES&lt;/plateType&gt;
        &lt;vehicleClass&gt;VC_SPORT_CLASSIC&lt;/vehicleClass&gt;
        &lt;wheelType&gt;VWT_LOWRIDER&lt;/wheelType&gt;
        &lt;trailers /&gt;
        &lt;additionalTrailers /&gt;
        &lt;drivers /&gt;
        &lt;extraIncludes /&gt;
        &lt;doorsWithCollisionWhenClosed /&gt;
        &lt;driveableDoors /&gt;
        &lt;bumpersNeedToCollideWithMap value="false" /&gt;
        &lt;needsRopeTexture value="false" /&gt;
        &lt;requiredExtras /&gt;
        &lt;rewards /&gt;
        &lt;cinematicPartCamera&gt;
          &lt;Item&gt;WHEEL_FRONT_RIGHT_CAMERA&lt;/Item&gt;
          &lt;Item&gt;WHEEL_FRONT_LEFT_CAMERA&lt;/Item&gt;
          &lt;Item&gt;WHEEL_REAR_RIGHT_CAMERA&lt;/Item&gt;
          &lt;Item&gt;WHEEL_REAR_LEFT_CAMERA&lt;/Item&gt;
        &lt;/cinematicPartCamera&gt;
        &lt;NmBraceOverrideSet /&gt;
        &lt;buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" /&gt;
        &lt;buoyancySphereSizeScale value="1.000000" /&gt;
        &lt;pOverrideRagdollThreshold type="NULL" /&gt;
      &lt;/Item&gt;
  </code></pre>
  
  <p>i need to get the text between the first Item tags </p>
  
  <p>i tried using this </p>
  
  <pre><code>string s = "&lt;Item&gt;
        &lt;modelName&gt;btype&lt;/modelName&gt;
        &lt;txdName&gt;btype&lt;/txdName&gt;
        &lt;handlingId&gt;C0met&lt;/handlingId&gt;
        &lt;gameName&gt;ROOSEVELT&lt;/gameName&gt;
        &lt;vehicleMakeName&gt;ALBANY&lt;/vehicleMakeName&gt;
        &lt;expressionDictName&gt;null&lt;/expressionDictName&gt;
        &lt;expressionName&gt;null&lt;/expressionName&gt;
        &lt;animConvRoofDictName&gt;null&lt;/animConvRoofDictName&gt;
        &lt;animConvRoofName&gt;null&lt;/animConvRoofName&gt;
        &lt;animConvRoofWindowsAffected /&gt;
        &lt;ptfxAssetName&gt;veh_car&lt;/ptfxAssetName&gt;
        &lt;audioNameHash /&gt;
        &lt;layout&gt;LAYOUT_VAN_ROOSEVELT&lt;/layout&gt;
        &lt;coverBoundOffsets&gt;ROOSEVELT_COVER_OFFSET_INFO&lt;/coverBoundOffsets&gt;
        &lt;explosionInfo&gt;EXPLOSION_INFO_DEFAULT&lt;/explosionInfo&gt;
        &lt;scenarioLayout /&gt;
        &lt;cameraName&gt;DEFAULT_FOLLOW_VEHICLE_CAMERA&lt;/cameraName&gt;
        &lt;aimCameraName&gt;DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA&lt;/aimCameraName&gt;
        &lt;bonnetCameraName&gt;VEHICLE_BONNET_CAMERA_STANDARD_LONG_EXTRA_LOW&lt;/bonnetCameraName&gt;
        &lt;vfxInfoName&gt;VFXVEHICLEINFO_CAR_GENERIC&lt;/vfxInfoName&gt;
        &lt;shouldUseCinematicViewMode value="true" /&gt;
        &lt;shouldCameraTransitionOnClimbUpDown value="false" /&gt;
        &lt;shouldCameraIgnoreExiting value="false" /&gt;
        &lt;AllowPretendOccupants value="true" /&gt;
        &lt;AllowJoyriding value="true" /&gt;
        &lt;AllowSundayDriving value="true" /&gt;
        &lt;AllowBodyColorMapping value="true" /&gt;
        &lt;wheelScale value="0.245000" /&gt;
        &lt;wheelScaleRear value="0.450700" /&gt;
        &lt;dirtLevelMin value="0.000000" /&gt;
        &lt;dirtLevelMax value="0.800000" /&gt;
        &lt;envEffScaleMin value="0.000000" /&gt;
        &lt;envEffScaleMax value="1.000000" /&gt;
        &lt;envEffScaleMin2 value="0.000000" /&gt;
        &lt;envEffScaleMax2 value="1.000000" /&gt;
        &lt;damageMapScale value="0.500000" /&gt;
        &lt;damageOffsetScale value="0.500000" /&gt;
        &lt;diffuseTint value="0x00FFFFFF" /&gt;
        &lt;steerWheelMult value="1.000000" /&gt;
        &lt;HDTextureDist value="5.000000" /&gt;
        &lt;lodDistances content="float_array"&gt;10
   25
   70
   500
  &lt;/lodDistances&gt;
        &lt;identicalModelSpawnDistance value="20" /&gt;
        &lt;maxNumOfSameColor value="10" /&gt;
        &lt;defaultBodyHealth value="1000.000000" /&gt;
        &lt;pretendOccupantsScale value="1.000000" /&gt;
        &lt;visibleSpawnDistScale value="1.000000" /&gt;
        &lt;trackerPathWidth value="2.000000" /&gt;
        &lt;weaponForceMult value="1.000000" /&gt;
        &lt;frequency value="1" /&gt;
        &lt;swankness&gt;SWANKNESS_5&lt;/swankness&gt;
        &lt;maxNum value="2" /&gt;
        &lt;flags&gt;FLAG_SPORTS FLAG_RICH_CAR FLAG_COUNT_AS_FACEBOOK_DRIVEN FLAG_EXTRAS_ALL FLAG_EXTRAS_STRONG&lt;/flags&gt;
        &lt;type&gt;VEHICLE_TYPE_CAR&lt;/type&gt;
        &lt;plateType&gt;VPT_BACK_PLATES&lt;/plateType&gt;
        &lt;vehicleClass&gt;VC_SPORT_CLASSIC&lt;/vehicleClass&gt;
        &lt;wheelType&gt;VWT_LOWRIDER&lt;/wheelType&gt;
        &lt;trailers /&gt;
        &lt;additionalTrailers /&gt;
        &lt;drivers /&gt;
        &lt;extraIncludes /&gt;
        &lt;doorsWithCollisionWhenClosed /&gt;
        &lt;driveableDoors /&gt;
        &lt;bumpersNeedToCollideWithMap value="false" /&gt;
        &lt;needsRopeTexture value="false" /&gt;
        &lt;requiredExtras /&gt;
        &lt;rewards /&gt;
        &lt;cinematicPartCamera&gt;
          &lt;Item&gt;WHEEL_FRONT_RIGHT_CAMERA&lt;/Item&gt;
          &lt;Item&gt;WHEEL_FRONT_LEFT_CAMERA&lt;/Item&gt;
          &lt;Item&gt;WHEEL_REAR_RIGHT_CAMERA&lt;/Item&gt;
          &lt;Item&gt;WHEEL_REAR_LEFT_CAMERA&lt;/Item&gt;
        &lt;/cinematicPartCamera&gt;
        &lt;NmBraceOverrideSet /&gt;
        &lt;buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" /&gt;
        &lt;buoyancySphereSizeScale value="1.000000" /&gt;
        &lt;pOverrideRagdollThreshold type="NULL" /&gt;
      &lt;/Item&gt;";
  Console.WriteLine(s.Substring(s.IndexOf("&lt;Item&gt;") + "&lt;Item&gt;".Length, s.IndexOf("&lt;/Item&gt;") - s.IndexOf("&lt;Item&gt;") - "&lt;Item&gt;".Length));
  </code></pre>
  
  <p>but it give me this</p>
  
  <pre><code>    &lt;modelName&gt;btype&lt;/modelName&gt;
        &lt;txdName&gt;btype&lt;/txdName&gt;
        &lt;handlingId&gt;C0met&lt;/handlingId&gt;
        &lt;gameName&gt;ROOSEVELT&lt;/gameName&gt;
        &lt;vehicleMakeName&gt;ALBANY&lt;/vehicleMakeName&gt;
        &lt;expressionDictName&gt;null&lt;/expressionDictName&gt;
        &lt;expressionName&gt;null&lt;/expressionName&gt;
        &lt;animConvRoofDictName&gt;null&lt;/animConvRoofDictName&gt;
        &lt;animConvRoofName&gt;null&lt;/animConvRoofName&gt;
        &lt;animConvRoofWindowsAffected /&gt;
        &lt;ptfxAssetName&gt;veh_car&lt;/ptfxAssetName&gt;
        &lt;audioNameHash /&gt;
        &lt;layout&gt;LAYOUT_VAN_ROOSEVELT&lt;/layout&gt;
        &lt;coverBoundOffsets&gt;ROOSEVELT_COVER_OFFSET_INFO&lt;/coverBoundOffsets&gt;
        &lt;explosionInfo&gt;EXPLOSION_INFO_DEFAULT&lt;/explosionInfo&gt;
        &lt;scenarioLayout /&gt;
        &lt;cameraName&gt;DEFAULT_FOLLOW_VEHICLE_CAMERA&lt;/cameraName&gt;
        &lt;aimCameraName&gt;DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA&lt;/aimCameraName&gt;
        &lt;bonnetCameraName&gt;VEHICLE_BONNET_CAMERA_STANDARD_LONG_EXTRA_LOW&lt;/bonnetCameraName&gt;
        &lt;vfxInfoName&gt;VFXVEHICLEINFO_CAR_GENERIC&lt;/vfxInfoName&gt;
        &lt;shouldUseCinematicViewMode value="true" /&gt;
        &lt;shouldCameraTransitionOnClimbUpDown value="false" /&gt;
        &lt;shouldCameraIgnoreExiting value="false" /&gt;
        &lt;AllowPretendOccupants value="true" /&gt;
        &lt;AllowJoyriding value="true" /&gt;
        &lt;AllowSundayDriving value="true" /&gt;
        &lt;AllowBodyColorMapping value="true" /&gt;
        &lt;wheelScale value="0.245000" /&gt;
        &lt;wheelScaleRear value="0.450700" /&gt;
        &lt;dirtLevelMin value="0.000000" /&gt;
        &lt;dirtLevelMax value="0.800000" /&gt;
        &lt;envEffScaleMin value="0.000000" /&gt;
        &lt;envEffScaleMax value="1.000000" /&gt;
        &lt;envEffScaleMin2 value="0.000000" /&gt;
        &lt;envEffScaleMax2 value="1.000000" /&gt;
        &lt;damageMapScale value="0.500000" /&gt;
        &lt;damageOffsetScale value="0.500000" /&gt;
        &lt;diffuseTint value="0x00FFFFFF" /&gt;
        &lt;steerWheelMult value="1.000000" /&gt;
        &lt;HDTextureDist value="5.000000" /&gt;
        &lt;lodDistances content="float_array"&gt;10
   25
   70
   500
  &lt;/lodDistances&gt;
        &lt;identicalModelSpawnDistance value="20" /&gt;
        &lt;maxNumOfSameColor value="10" /&gt;
        &lt;defaultBodyHealth value="1000.000000" /&gt;
        &lt;pretendOccupantsScale value="1.000000" /&gt;
        &lt;visibleSpawnDistScale value="1.000000" /&gt;
        &lt;trackerPathWidth value="2.000000" /&gt;
        &lt;weaponForceMult value="1.000000" /&gt;
        &lt;frequency value="1" /&gt;
        &lt;swankness&gt;SWANKNESS_5&lt;/swankness&gt;
        &lt;maxNum value="2" /&gt;
        &lt;flags&gt;FLAG_SPORTS FLAG_RICH_CAR FLAG_COUNT_AS_FACEBOOK_DRIVEN FLAG_EXTRAS_ALL FLAG_EXTRAS_STRONG&lt;/flags&gt;
        &lt;type&gt;VEHICLE_TYPE_CAR&lt;/type&gt;
        &lt;plateType&gt;VPT_BACK_PLATES&lt;/plateType&gt;
        &lt;vehicleClass&gt;VC_SPORT_CLASSIC&lt;/vehicleClass&gt;
        &lt;wheelType&gt;VWT_LOWRIDER&lt;/wheelType&gt;
        &lt;trailers /&gt;
        &lt;additionalTrailers /&gt;
        &lt;drivers /&gt;
        &lt;extraIncludes /&gt;
        &lt;doorsWithCollisionWhenClosed /&gt;
        &lt;driveableDoors /&gt;
        &lt;bumpersNeedToCollideWithMap value="false" /&gt;
        &lt;needsRopeTexture value="false" /&gt;
        &lt;requiredExtras /&gt;
        &lt;rewards /&gt;
        &lt;cinematicPartCamera&gt;    
          &lt;Item&gt;WHEEL_FRONT_RIGHT_CAMERA 
  </code></pre>
  
  <p>i question is how do i get the it to get the text between the first   tags so it give me all the text</p>