Javascript – How to get variable in xml file using saxonjs and nodejs
I have a xml file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE agent SYSTEM "http://www.someUrl.com"> <myData> <service> <description>Description</description> </service> <courier> <listener port="55556" /> <mainService name="Some Name" port="55555" /> </courier> </myData> and I want to get the value of the listener port variable using…