XML Output et:prt and et:val

Started by Mac2, March 27, 2024, 10:26:52 AM

Previous topic - Next topic

Mac2

When using -X, some tags with a numeric (rational) type:

- some tags (e.g. XMP-exif:GPSAltitude) produce both <et:prt> and <et:val>
- some tags (e.g. XMP-exif:GPSDestDistance) produce only <et:prt>.

Why is that? Is there a rule for this?
I would have expected that numeric tags always get <et:val> in addition to <et:prt>.

Phil Harvey

The rule is that et:val is only output if it is different from et:prt

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Mac2

Understood. Thank you!

Need to change some code now.