This is my XML parameter that I set to @XMLSave parameter and send to a stored procedure
<ROOT>
<P>
<ID>123456789</ID>
<Name>admin</Name>
</P>
<Group>
<GroupCardID>14</GroupCardID>
</Group>
</ROOT>
and I try to get ID value with this command
EXEC sp_xml_preparedocument @idoc OUTPUT, @XMLSave
but when I select values return no value
select *
from OPENXML (@idoc,'/Root/P',2) With(ID int)