Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Before
- <Information>
- <Name>Lakshman</Name>
- <Age>23</Age>
- <Country>India</Country>
- </Information>
- #Code
- (Get-Content test.xml).replace('<', '<ns33:') | Set-Content test.xml
- (Get-Content test.xml).replace('<ns33:/', '</ns33:') | Set-Content test.xml
- #After
- <ns33:Information>
- <ns33:Name>Lakshman</ns33:Name>
- <ns33:Age>23</ns33:Age>
- <ns33:Country>India</ns33:Country>
- </ns33:Information>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement