Bo tarde pessoal.
Estou tentando ler um arquivo xml usando DOM, ja tinha feito isso anteriormente, mas agora estou tendo alguns problemas por causa do formato do xml.
Segue exemplo do xml abaixo
loginrequest.xsd
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Suresh (Primavera) -->
<xsd:schema targetNamespace="http://app.expedition.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:expXML="http://app.expedition.com/" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The Primavera Expedition XML API Data Interchange Schema
</xsd:documentation>
</xsd:annotation>
<xsd:element name="request" type="expXML:LoginRequest"/>
<xsd:complexType name="LoginRequest">
<xsd:sequence>
<xsd:element name="header" type="expXML:header"/>
<xsd:element name="loginName" type="xsd:string"/>
<xsd:element name="password" type="xsd:string"/>
<xsd:element name="groupName" type="xsd:string" minOccurs="0"/>
<xsd:element name="myPrimaveraLogin" type="xsd:string" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="header">
<xsd:attribute name="requestType" type="xsd:string"/>
<xsd:attribute name="sysitemtype" type="xsd:string"/>
</xsd:complexType>
</xsd:schema>