私は、入力時にスキーマファイル(XSD)を取得し、xmlファイルをPythonオブジェクトに変換できるPythonコード(バインディング)を生成するジェネレータを探しています。 。スキーマとPythonのオブジェクトで定義された特定の型(例えば、xsd::dateTime
から/へdatetime.datetime
まで)の間で変換を扱うコードをプラグインできるようにカスタマイズする必要があります。Generator for Python <--> XMLバインディング
0
A
答えて
1
http://www.rexx.com/~dkuhlman/generateDS.html
これは初めてのGoogleヒットです。二Googleのヒットだ
How to convert XSD to Python Class
。
+0
どのような検索用語を使用しましたか? –
+1
@Piotr Dobrogost: "python xsd"他に何が使えますか? –
2
お試しPyXB
関連する問題
- 1. Hibernate <generator>混乱
- 2. Python XMLバインディング
- 3. OpenCV Pythonバインディングfor GrabCutアルゴリズム
- 4. wsdl generator for java code
- 5. リスト<string>バインディング
- 6. Pause Python Generator
- 7. PythonリクエストとJson forループ
- 8. Expat XML Generator API
- 9. MySQLとHibernate3のアノテーションを使用して<generator class = "native"></generator>に相当する
- 10. Python、どうやってxml = '<start>%??</start> '%datetime.datetime
- 11. Python Reverse Generator
- 12. Python WikiスタイルDoc Generator
- 13. ノックアウト 'for'バインディング?
- 14. HTML5 <video> for YouTube
- 15. Axis2 Code Generator for Eclipseの使い方は?
- 16. CSV、Excel、PDF Report Generator for Mysql、.net 4.0
- 17. ListへのDataGridバインディング<int?>
- 18. JSON <-> C/C++のXML
- 19. Mac OS XでZeroMQのC++バインディングをインストールするには?</p> <pre><code>g++ actualApp.cpp -lzmq </code></pre> <p>で
- 20. List <SomeParamType>からList <SomeParamType><?>>
- 21. WPF ComboBox XMLバインディングとViewModelバインディング?
- 22. MVCContrib Portable Area No Intellisense for ViewPage <T>
- 23. Antcontrib <for>およびantの<var unset = "true">?
- 24. Python 2の文字のPython 3の同値は何ですか?あなたは</p> <pre><code>>>> from string import * >>> letters 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' </code></pre> <p>しかし、Pythonの3に入るのPython 2では
- 25. < and > xmlのシンボル
- 26. <?xml ...?> from minidomから
- 27. Spring XMLバインディング
- 28. C#XML要素私は特に例えば<code><EmpTypeHeader></code>で<code>EmpList</code>タグの数と<code><EID>.</code></p> <p>を取得する必要がありますXMLノードに
- 29. 未定義のメソッド 'pluralize' for#<Controller>
- 30. Extensionメソッド、SumIf for generic List <T>
関連する:[XSDをPythonクラスに変換する方法](http://stackoverflow.com/questions/1072853/) –