OK, its Friday afternoon and I need to get this done:
The following xml needs to be transformed:
<?xml version="1.0" encoding="UTF-8"?>
<ProfiledSettings>
<PropertySet File="properties.txt">
<Property Name="scheduler.time">19h30</Property>
</PropertySet>
<PropertySet File="properties2.txt">
<Property Name="inclusions.filters" />
<Property Name="inclusions" />
</PropertySet>
</ProfiledSettings>
to this:
<?xml version="1.0" encoding="UTF-8"?>
<ProfiledSettings>
<PropertySet File="properties.txt">
<Property Name="scheduler.time">19</Property>
</PropertySet>
<PropertySet File="properties2.txt">
<Property Name="inclusions.filters" />
<Property Name="inclusions" />
</PropertySet>
</ProfiledSettings>
Notice that the '19h30' changed to '19'.
My xslt is not so good, but I know it should be simple.
What should the XSLT document look like to do this transform?