---
Product: Aspose.Cells
Platform: typescript
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/typescript/DOMParser
---

# DOMParser

## Overview

`DOMParser` is a class in Aspose.Cells FOSS for Typescript.

DOMParser.parseFromString(xml, type) parses an XML string and returns a Document object for further manipulation.

This class provides 2 methods for working with DOMParser objects in Typescript programs.
Available methods include: `constructor`, `parseFromString`.
All public members are accessible to any Typescript application after installing the Aspose.Cells FOSS for Typescript package.

## Description

`DOMParser` is a class in the Aspose.Cells FOSS library for TypeScript that exposes 1 method and 0 properties for programmatic use.

Instances are created through a single constructor that initializes the object with default values.

## Methods

| Signature | Description |
|-----------|-------------|
| `constructor()` |  |
| `parseFromString(xml: string, type: string)` → `Document` | Parses an XML string into a Document object, enabling XML manipulation within the library |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)