How does Jquery manipulate XML data

the xml format data returned by the backend through the ajax request is as follows:

var result=
<result>
    <gameResult code="95588">
        <row gmcode="AB111111"/>
        <row gmcode="AB222222"/>
        <row gmcode="AB333333"/>
        <row gmcode="AB444444"/>
        <row gmcode="AB555555"/>
        <row gmcode="AB666666"/>
    </gameResult>
</result>

how do I delete < row gmcode= "AB444444" / > and then < row / >. Are there any attributes similar to index? It"s not clear to use xml data for the first time.
get

.
var result=
<result>
    <gameResult code="95588">
        <row gmcode="AB111111"/>
        <row gmcode="AB222222"/>
        <row gmcode="AB333333"/>
    </gameResult>
</result>
Mar.29,2021

var result=
`<result>
    <gameResult code="95588">
        <row gmcode="AB111111"/>
        <row gmcode="AB222222"/>
        <row gmcode="AB333333"/>
        <row gmcode="AB444444"/>
        <row gmcode="AB555555"/>
        <row gmcode="AB666666"/>
    </gameResult>
</result>`
var $dom = $(result);
$dom.find('row[gmcode="AB333333"]').nextAll().remove();

console.log($dom)

var index = $('row[gmcode=AB444444]').index();
$('row:gt('+index+')').remove()
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e59831-45534.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e59831-45534.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?