Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JIBX を使用して Java オブジェクトから xml を生成しています。生成されたxmlにschemalocationを設定したい。名前空間を配置できますが、schemaLocation. 誰もがそれを行う方法を考えていますか?
次の行に沿って、出力ドキュメントのルート要素の属性値としてこれを実行できるはずです。
<value name="schemaLocation" ns="http://www.w3.org/2001/XMLSchema" field="locationField"/>