0
Netbeans 8.0.1에서 C++을 사용하여 xerces-c-3.1.1을 사용하여 XML 파일을 읽는 응용 프로그램을 개발 중입니다. I 디버거에서 속성을 확장하면xercesc NodeType이 선언되지 않았습니다.
DOMNode* attribute=attributes->item(aIndex);
다음과 같이
난 * 변수 타입 DOMNode로 정의되어, 그 유형의 변수를 반환하는 함수, getNodeType()를 표시한다. 내가 코드
NodeType value=attribute->getNodeType();
를 추가 할 때 그러나, 나는 당신이 대신 NodeType
를 작성하는 xercesc::DOMNode::NodeType
을 시도 할 수
error: ‘NodeType’ was not declared in this scope
'NodeType'을 쓰는 대신':: xercesc :: DOMNode :: NodeType'을 시도해 볼 수 있습니다. –
xercesc :: DOMNode :: NodeType works !! 매우 감사합니다, – OtagoHarbour