Re: Function of XAM
"Amit Kumar Saha" <[email protected]> Tue, 2 Oct 2007 10:30:44 +0530
| Newsgroups | gmane.comp.java.netbeans.modules.xml.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Samaresh, On 10/2/07, Samaresh <[email protected]> wrote: > In XML world, there are a lot of document types. XML Schema, WSDL, XSL > etc. etc. They are all plain XML. > > Now when it comes to using these documents in editor, user sees and uses > them differently. There are various domain models that come into play, > e.g. for WSDL document, there is a WSDL model behind the scene. > > XAM is an abstraction which encapsulates all common behavior for these > models. As an example, lets say, if you want to write your own XSL > model, you may want to extend from XAM and get a lot for free. Schema > model, WSDL model, AXIOM etc are all an extension to XAM. Things have become a lot clearer now. Thanks! Consider a situation in which I am editing a simple XML file with a DTD, XML namespace. How is the model for this generated? I would like to know how does XAM handle any generic XML document loaded into the editor. Looking forward to hear from you! Thanks, --Amit -- Amit Kumar Saha *NetBeans Community Docs Coordinator* me blogs@ http://amitksaha.blogspot.com URL:http://amitsaha.in.googlepages.com