How do I access <?xml version="1.0" encoding="utf-8"?>
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Aravindan Samarasam
el 20 de Sept. de 2014
Editada: Aravindan Samarasam
el 20 de Sept. de 2014
<?xml version="1.0" encoding="utf-8"?>
<Master Name="EMP.Stefen">
<unidentified/>
<Address>
<pincode>12345</pincode>
</Address>
<city location="north region">
<phonenumber>2344583904</phonenumber>
<EmpItem Name="EMP.Stefen" streetname="mhroad" doorno"4"/>
</city>
</Master>
I would like to get below details:
EmpItem Name,streetname,doorno & location details separately.
the above is the typical example of my xml file,which i'm trying to access it!
Please explain how to access a tag which is not closed like below:
<EmpItem Name="EMP.Stefen" streetname="mhroad" doorno"4"/>
example -2
<?xml version="1.0" encoding="utf-8"?>
<AddressBook>
<Entry>
<Name>Friendly J. Mathworker</Name>
<PhoneNumber>(508) 647-7000</PhoneNumber>
<Address hasZip="no" type="work">3 Apple Hill Dr, Natick MA</Address>
</Entry>
</AddressBook>
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!