ich habe folgenden XMl Header gegeben:
Code: Alles auswählen
<CityModel xmlns="http://www.ikg.uni-bonn.de/sig3d/pilot3d"
version="1.1.0"
xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="D:/CityGML.xsd"
Code: Alles auswählen
if(e.hasAttributes())
{
QDomNamedNodeMap tmp = e.attributes();
for(int i = 0; i < tmp.length(); i++)
{
QDomAttr a = tmp.item(i).toAttr();
....
}
}
Code: Alles auswählen
CityModel xmlns="http://www.ikg.uni-bonn.de/sig3d/pilot3d"
schemaLocation="D:/CityGML.xsd"
version="1.1.0"
Warum ist dem so?