parseXmlDocument function
Parses an XmlDocument.
import 'package:universal_html/parsing.dart';
void main() {
final document = parseXmlDocument('<xml>...</xml>');
}
Implementation
XmlDocument parseXmlDocument(
String content, {
Window? window,
String mime = 'text/xml',
}) {
window ??= universal_html.window;
return impl.parseXmlDocument(
window: window,
content: content,
mime: mime,
);
}