0

I am retrieving some XML files from the server and I want to get elements by some tags. But It shows me an error to catch the element by tag. Can somebody help me to get the element by tag(tag name also contains dots)?

XML File

<org.openmrs.module.Module>
<name>OpenHMIS Inventory Module</name>
<moduleId>openhmis.inventory</moduleId>
<author>OpenHMIS</author>
<version>2.3.4</version>
</org.openmrs.module.Module>

My AngularJS Code,

function(data){
 $scope.name=data.['org.openmrs.module.Module'].name;
}
K.Suthagar
  • 2,226
  • 1
  • 16
  • 28

0 Answers0