Vue axios got the xml file. How can I convert it to html?

problem description

xmlhtml xmlHTML

the environmental background of the problems and what methods you have tried

jsonHTML

related codes

/ / Please paste the code text below (do not replace the code with a picture)
for example, I got such a button message

<Object Type="6" Name="Native Button3" Id="4" Left="509" Top="73" Height="50" Width="100" JoinNumber="500" IsShow="1" IsLocked="0" IsSpecial="0" NormalText="123123" NormalTextSize="14" NormalTextStyle="1" NormalTextColor="-sharpFF000000" NormalTextPosition="5" NormalTextTypeface="1" NormalTextFamily="" ActiveText="123123" ActiveTextSize="14" ActiveTextStyle="1" ActiveTextColor="-sharpFFFF0000" ActiveTextPosition="5" ActiveTextTypeface="1" ActiveTextFamily="" PurposeType="1" Delay="1000" LockGroupId="0" GroupStatusId="0" IsTitle="0" IsPushDown="0" SoundId="1" UpSoundId="0" JumpPageId="0" NormalFrameWidth="0" NormalFrameColor="-sharpFFE7E7E7" NormalStartColor="-sharpFFE7E7E7" NormalCenterColor="-sharpFFCECBCE" NormalEndColor="-sharpFFBDBEBD" NormalCenterY="0.50" ActiveFrameWidth="0" ActiveFrameColor="-sharpFFFFCB29" ActiveStartColor="-sharpFFFFCB29" ActiveCenterColor="-sharpFFEF9E00" ActiveEndColor="-sharpFFEFB610" ActiveCenterY="0.75" Shape="1" RadiiX="5" RadiiY="5" isNormalImageLock="1" isActiveImageLock="1" NormalImageLocation="1" ActiveImageLocation="1" IsLocalBtn="0" AnimationDuration="5e-005" ButtonAngle="90" ButtonCount ="1" FarRadius="0" Radius="0" NearRadius="0" Direction="0">
            <NormalImage>
                <Object Type="4" Name="Image" Id="0" Left="509" Top="73" Height="50" Width="100" JoinNumber="0" IsShow="1" IsLocked="0" IsSpecial="0" ImageId="0" OutputImageId="0" ImageShowStyle="3" ImageAlpha="255" ImageStatus="0" ImageGeneral="0.000000" ImageFollowUp="0" IsAutoRotate="0" RotateDirector="0" RotatePeriod="0"/>
            </NormalImage>
            <ActiveImage>
                <Object Type="4" Name="Image" Id="0" Left="509" Top="73" Height="50" Width="100" JoinNumber="0" IsShow="1" IsLocked="0" IsSpecial="0" ImageId="0" OutputImageId="0" ImageShowStyle="3" ImageAlpha="255" ImageStatus="0" ImageGeneral="0.000000" ImageFollowUp="0" IsAutoRotate="0" RotateDirector="0" RotatePeriod="0"/>
            </ActiveImage>
</Object>

what result do you expect? What is the error message actually seen?

this looks like a self-locking button. How do I display it in html

Dec.18,2021

cannot. xml and html are two languages for different purposes, unless you write the custom parsing conversion method


directly on the page. First of all, the place where you accept XML is definitely not an ordinary HTML file. This HTML is controlled by backend XML. You just need to render Ali directly

.
Menu