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