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

조회 수: 2 (최근 30일)
Samar Khan
Samar Khan 2015년 6월 20일
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 !

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Identification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by