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

2 Ansichten (letzte 30 Tage)
Samar Khan
Samar Khan am 20 Jun. 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 !

Antworten (0)

Kategorien

Mehr zu Data Type Identification finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by