[xsd-users] autogenerate graphical user interface (GUI in QT)

Florian Schmidt fschmidt at techfak.uni-bielefeld.de
Thu Nov 25 10:12:25 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/24/2010 03:50 PM, Boris Kolpackov wrote:
> Hi Erik,
> 
> Erik Sjölund <erik.sjolund at gmail.com> writes:
> 
>> One way could possibly be to provide some extensions to the current 
>> data object classes. The extensions would not contain any GUI widget
>> knowledge but instead more things like element names as strings,
>> pointers to set- and get-functions. The GUI widget mappings could
>> later be written by using those extensions.
> 
> We are planning to add (optional) "dynamic introspection" API to the
> object model for the next release. The primary use will be XPath and
> XQuery support but it will also allow you to do the above. However,
> I am not sure how many GUI frameworks allow such a dynamic dialog
> construction. Usually there is some compilation process involved.

Hi,

i actually once started to write a small GUI tool for creating valid
instance documents from a given schema. I used python (and bindings
generated from PyxB) for this though as it allows for very dynamic
introspection.

I didn't get far due to time constraints [i have to hack robot control
code instead ;D] but in principle i think it is possible to generate a
GUI application that allows authoring of instance documents from a
schema and i also think that the magic of generating bindings can help
make this process easier..

The natural representation of an instance document is a tree, so that
was the route i was going down.


I actually considered asking for something like introspection into the
model for XSD before, too, but i figured that other languages are much
more suited for this kind of dynamic stuff..

Regards,
Flo

- -- 
Dipl.-Inform. Florian Paul Schmidt
University of Bielefeld, Neuroinformatics Group, CITEC
Contact:
http://ekvv.uni-bielefeld.de/pers_publ/publ/personDetailAct?id=5504453
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzufNYACgkQTb4s+qNo4RJJKgCeP/gflEJWfD0FxGlMIudQKeEB
PiUAoLI18UHm3DvwPWRpIHnHHjhLShcq
=16oT
-----END PGP SIGNATURE-----



More information about the xsd-users mailing list