You are here: Reference > JavaScript > client-side > xml handling > methods > parseFromBuffer (DOMParser)
parseFromBuffer method (DOMParser)
Creates an XMLDocument object from the specified byte array.
Syntax:
You can find the related objects in the Supported by objects section below.
Parameters:
Required. Specifies the byte array to parse. | |||||||||||||||||||||||||||||||
Required. Integer that specifies the length of the array, in bytes. | |||||||||||||||||||||||||||||||
Required. String that specifies the content type of the data.
One of the following values:
|
Return value:
Returns the created XMLDocument object.
Supported by objects:
Related pages:
User Contributed Comments