0
다음 xmlC#에서 xml 문서에 네임 스페이스 추가
<book>
<chapter>this is a sample text</chapter>
</book>
아래에있는 것과 같이 네임 스페이스를 추가해야합니다.
<ns0:book xmlns:ns0="http://mybookurl/sample">
<chapter>this is a sample text</chapter>
</ns0:book>
Greco 제안을 시도했지만 작동하지 않습니다. Creating a specific XML document using namespaces in C#
어떤 도움을 주셔서 감사합니다!
고맙습니다
어떤 네임 스페이스에 대한 'HTTP : // mybookurl/샘플'후? 나는 위의 시도했지만 출력은 입력과 동일합니다. –