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

1 visualizzazione (ultimi 30 giorni)
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 !

Risposte (0)

Categorie

Scopri di più su Data Type Identification in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by