Thank you Tim, Rick, Andreas, and Stephen for your excellent replies!
Tim asked about my use case. I have two different XML vocabularies for aeronautical navigation data. I want to convert XML instances of one to equivalent XML instances of the other. Here is a tiny example of the kind of conversion needed for the aeronautical navigation data:
Both XML vocabularies specify data about magnetic variation, such as the magnetic variation at an airport. Here is an XML instance from one vocabulary:
<MAG_VAR>W014404</MAG_VAR>
Here is the equivalent XML instance in the other vocabulary:
<magneticVariation>
<magneticVariationEWT>West</magneticVariationEWT>
<magneticVariationValue>14.7</magneticVariationValue>
</magneticVariation>
If an AI/machine learning/data analytics engine were given lots and lots of examples, would the engine be able to determine the mapping/conversion between the two representations of magnetic variation?
/Roger