[xsd-users] How to know the member functions at run time

Zhao, Yongsheng yongsheng.zhao at nortelgov.com
Mon Apr 3 10:20:26 EDT 2006


Hello, Boris:

We are writing a framework for users' algorithms. We would like to define the
algorithms' parameters inside a class using the xml schema. Since the
parameters' types and names varies with algorithms, we don't want to hard
code the parameters' names and types in code. We are seeking a way to get
them dynamically, so that this part of the code can be resued for different
algorithms, we only need to change .xsd file.

You mentioned we could iterate DOM elements, do you mean the DOM for the xml
file or for the xsd file? If we can iterate the DOM element for the xsd file
to get the member functions, can we also get the members' types there?

Thanks for your help.

Yongsheng 

-----Original Message-----
From:	Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent:	Mon 4/3/2006 9:30 AM
To:	Zhao, Yongsheng
Cc:	xsd-users at codesynthesis.com
Subject:	Re: [xsd-users] How to know the member functions at run time


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codesynthesis.com/pipermail/xsd-users/attachments/20060403/925bd0dd/attachment.html


More information about the xsd-users mailing list