Is it possible to create/export xml file with camera positions, rotations and other

Hi, client wants xml file, same as the one from Context Capture.
Is it possible to modify RC to handle this, or do I need to do some scripting?

Example below:

<?xml version="1.0" encoding="utf-8"?>
<SpatialReferenceSystems>

    <SRS>

        <Id>0</Id>

        <Name>Local coordinate system (meters)</Name>

        <Definition>Local:unit=meter</Definition>

    </SRS>

</SpatialReferenceSystems>

<Block>

    <Name>Panorama_1</Name>

    <Description>Panorama images (2023-11-17 09:42:04)</Description>

    <SRSId>0</SRSId>

    <Photogroups>

        <Photogroup>

            <Name>Panorama A</Name>

            <ImageDimensions>

                <Width>14140</Width>

                <Height>7070</Height>

            </ImageDimensions>

            <CameraModelType>Perspective</CameraModelType>

            <CameraModelBand>Visible</CameraModelBand>

            <FocalLength>-1.0778617973108942e+17</FocalLength>

            <SensorSize>13.2</SensorSize>

            <FieldOfView>360.0</FieldOfView>

            <CameraOrientation>XRightYDown</CameraOrientation>

            <PrincipalPoint>

                <x>0.0</x>

                <y>0.0</y>

            </PrincipalPoint>

            <Distortion>

                <K1>0.0</K1>

                <K2>0.0</K2>

                <K3>0.0</K3>

                <P1>0.0</P1>

                <P2>0.0</P2>

            </Distortion>

            <AspectRatio>1</AspectRatio>

            <Skew>0</Skew>

            <Photo>

                <Id>6363636</Id>

                <ImagePath>xxxxxxxxxxxxxxxx</ImagePath>

                <Component>1</Component>

                <Pose>

                    <Rotation>

                        <M_00>-0.989587919685493</M_00>

                        <M_01>0.1432951493712893</M_01>

                        <M_02>-0.013499977007331843</M_02>

                        <M_10>-0.013619308346190847</M_10>

                        <M_11>0.00014809825762306724</M_11>

                        <M_12>0.999907241951511</M_12>

                        <M_20>-0.14328385691594842</M_20>

                        <M_21>-0.9896799877907839</M_21>

                        <M_22>-0.0018050245771308072</M_22>

                        <Accurate>true</Accurate>

                    </Rotation>

                    <Center>

                        <x>45.618161</x>

                        <y>-29.117389</y>

                        <z>-2.019877</z>

                        <Accurate>true</Accurate>

                    </Center>

                    <Metadata>

                        <SRSId>0</SRSId>

                        <Rotation>

                            <M_00>-0.989587919685493</M_00>

                            <M_01>0.1432951493712893</M_01>

                            <M_02>-0.013499977007331843</M_02>

                            <M_10>-0.013619308346190847</M_10>

                            <M_11>0.00014809825762306724</M_11>

                            <M_12>0.999907241951511</M_12>

                            <M_20>-0.14328385691594842</M_20>

                            <M_21>-0.9896799877907839</M_21>

                            <M_22>-0.0018050245771308072</M_22>

                            <Accurate>true</Accurate>

                        </Rotation>

                        <Center>

                            <x>45.618161</x>

                            <y>-29.117389</y>

                            <z>-2.019877</z>

                            <Accurate>true</Accurate>

                        </Center>

                    </Metadata>

                </Pose>

                <NearDepth>0</NearDepth>

                <MedianDepth>0</MedianDepth>

                <FarDepth>0</FarDepth>

                <ExifData>

                    <FieldOfView>360.0</FieldOfView>

                    <FocalLength>-1.0778617973108942e+17</FocalLength>

                    <FocalLength35mmEq>0.0</FocalLength35mmEq>

                    <Make>SONY-DUMMY</Make>

                    <Model>DSC-RX100M</Model>

                    <DateTimeOriginal>2022-01-25T13:56:58</DateTimeOriginal>

                </ExifData>

                <ColorModel>

                    <Blockwise>0,0.25538023139243676,0.44330828189737836,0.8426804092227418,0.7478712827384977,1,0,0.25692131102613935,0.4418079897003319,0.7813587867263065,0.7422881104768339,1,0,0.26231444690973554,0.4385068861944387,0.7456601634969258,0.7518290694372075,1</Blockwise>

                </ColorModel>

            </Photo>