I have a question about using the Invoke-Rest method. I use it against a RSS feed. This particular RSS feed wraps the contents of title, description and other elements in
- Code: Select all
<title><![CDATA[Här är texten med lite specialare]]</title>
When I use this code
- Code: Select all
Invoke-RestMethod $url
Everything works but the result does not give me the content of the CDATA elements. I know I can use .innerText on these elements but am wondering if there is Another, easier, way to do this?
Any suggestions of how to obtain content of CDATA elements?
Cheers,
Joakim




