XML Read Error :org.apach​e.xerces.d​om.DeepNod​eListImpl@​40a995c5

3 vues (au cours des 30 derniers jours)
Samar Khan
Samar Khan le 20 Juin 2015
I am trying to read an XML file with the following nodes : 1. Site 2. Build 3. Floor 4.Lane 5. Room
I am interested in just the values inside the lane tag and want to make changes to it. Code I used is : x = xmlread('Sample.xml'); allLanes = x.getElementsByTagName('lane');
I am unable to print only Lane values using function sprintf function. The error is : Function is not defined for 'org.apache.xerces.dom.DeferredElementImpl' inputs.
Even if I just enter allLanes in Command Window it shows : allLanes = org.apache.xerces.dom.DeepNodeListImpl@40a995c5 Rather than displaying the value. I am new to this data import concept. Help me Please !

Réponses (0)

Catégories

En savoir plus sur Data Type Identification dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by