Rank: Newbie
Joined: 4/19/2006 Posts: 2 Location: London
|
I find that the number of examples for scripts is just insufficient. Are more examples available anywhere else?
I need to write a JavaScript macro that generates the HTML documentation for many schemas.
many thanks
-daniel
|
Rank: Advanced Member
Joined: 11/28/2005 Posts: 93 Location: AT
|
Hi Daniel!
I understand your wish for more examples. Unfortunately the usage of an API is very different for each customer. We try to cover the basic things in our documentation like here: https://www.altova.com/manual2006/XMLSpy/spyenterprise/simpledocumentaccess.htm
and we like to share special solutions here in the forum.
In your case a sequence of: https://www.altova.com/manual2006/XMLSpy/spyenterprise/documents_openfile.htm https://www.altova.com/manual2006/XMLSpy/spyenterprise/document_generateschemadocumen.htm https://www.altova.com/manual2006/XMLSpy/spyenterprise/document_close.htm should do what you want.
Regards
|