I'm trying to use the XML API for Cisco IOS XR (Docs: Cisco IOS XR XML API Guide, Cisco IOS XR Release 4.1) but I'm not sure what library to use in PHP (simpleXML?) to just open a TCP connection to a port on a device and start reading and writing XML to it.
I understand the concept of the schemas and such, but everything I can find about PHP and XML seems to be oriented towards web services, POST, etc, and this is simply reading and writing XML.