Mastering PowerShell Scripting - Fourth Edition by Chris Dent
Author:Chris Dent [Chris Dent]
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2021-06-28T16:00:00+00:00
Modifying the value of an attribute uses the same syntax:
[XDocument]$xDocument = @" <?xml version="1.0"?> <list name='letters'> <name>1</name> </list> "@ $xDocument.Element('list').Attribute('name').Value = 'numbers'
If the attribute does not exist, an error will be thrown:
PS> $xDocument.Element('list').Attribute('other').Value = 'numbers' InvalidOperation: The property 'Value' cannot be found on this object. Verify that the property exists and can be set.
The changes made by the preceding assignments may be viewed in the xDocument variable:
PS> $xDocument.ToString() <list name="numbers"> <name>1</name> </list>
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7263)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3333)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2304)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2091)
Docker on Windows by Stoneman Elton(2057)
The Infinite Retina by Robert Scoble Irena Cronin(1998)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(1791)
Computers For Seniors For Dummies by Nancy C. Muir(1764)
The Old New Thing by Raymond Chen(1709)
Hands-On Linux for Architects by Denis Salamanca(1706)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(1683)
MCSA Windows Server 2016 Study Guide: Exam 70-741 by William Panek(1472)
Embedded Systems Architecture by Daniele Lacamera(1369)
Installing and Configuring Windows 10: 70-698 Exam Guide by Bekim Dauti(1367)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(1350)
Database Reliability Engineering: Designing and Operating Resilient Database Systems by Campbell Laine & Majors Charity(1343)
Raspberry Pi Beginners Guide: Ultimate Guide For Rasberry Pi, User guide To Get The Most Out Of Your Investment, Hacking, Programming, Python, Best Hardware, Beginners Guide To Rasberry Pi by Steven Giles(1328)
Learn Computer Forensics by William Oettinger(1317)
Linux Phrasebook (Developer's Library) by Granneman Scott(1310)