For example, if we have a file looking like this:
<?xml version="1.0" encoding="utf-8"?>
<Cars>
<Audi>
<PlateNumber>9488</PlateNumber>
<Color>blue</Color>
</Audi>
<BMW>
<PlateNumber>12345</PlateNumber>
<Color>red</Color>
</BMW>
</Cars>
Where the elements inside the element Cars
can have any name, but they always have the same child nodes, PlateNumber
and Color
. Is something like this possible to define in a schema?