PS>$x=[xml]"<root/>"
PS>$x.root.GetType()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True String System.Object
PS>$x.Item("root").GetType()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True False XmlElement System.Xml.XmlLinkedNode
2 comments:
This was helpful, but can only access the first item with that name. Is there an easy way to access the rest of the empty nodes with that name as XmlElements?
Thanks dude
Post a Comment