Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > $x
- <!DOCTYPE html>
- <html>
- <body>
- a<br>
- </body>
- </html>
- ~
- > [xml]$x
- Cannot convert value "<!DOCTYPE html>
- <html>
- <body>
- a<br>
- </body>
- </html>
- " to type "System.Xml.XmlDocument". Error: "The 'br' start tag on line 4 position 3 does not match the end tag of
- 'body'. Line 5, position 3."
- At line:1 char:1
- + [xml]$x
- + ~~~~~~~
- + CategoryInfo : InvalidArgument: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvalidCastToXmlDocument
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement