- From: David Bruant <notifications@github.com>
- Date: Fri, 05 Jan 2018 23:43:49 +0000 (UTC)
- To: w3c/DOM-Parsing <DOM-Parsing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 5 January 2018 23:44:14 UTC
````js const inXMLStr = `<?xml version="1.0" encoding="ISO-8859-1"?> <x><y/></x>` const doc = (new DOMParser()).parseFromString(inXMLStr, 'text/xml') console.log(doc.childNodes) ```` Both in Firefox and Chrome, there is no ProcessingInstruction node; only the `<x>` element as child -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/DOM-Parsing/issues/35
Received on Friday, 5 January 2018 23:44:14 UTC