|
top
|
 Subject: RE: XML Not Working Properly Author: (Deleted User) Date: 15 Apr 2005 05:35 AM
|
Hi Prasad,
I'll try to answer your questions, but keep in mind that a forum posting cannot hold very complex answers/examples; you should turn to tutorials, articles or books to learn all the involved technologies.
>Alberto, could you tell me what exactly the purpose of
>XML file.
An XML file is a file containing structured and annotated information. Depending on which "dialect" of XML you use, the information contained can be interpreted/validated as being a web page (XHTML), a 2D vector drawing (SVG), a PDF document (FO)...
>[...] Hope u get a fair idea abt my requirement. If you have any
>idea regarding this, could you share with me.
It seems to me that the SAP software will do a mapping from a proprietary format to a standard XML; and that it accepts, as a template for the conversion, either a sample XML instance or the XSD describing it. For instance, the XML you posted in the first message looks good.
To build an initial XSD that models that instance you can open the file in Stylus and then select the menu entry XML | Create Schema From XML Content, choosing the "Generating XMLSchema" option.
>Further, the could you tell me about SAX Parser too.
SAX Parser is just one of the way you can use to programmatically access the content of an XML document. Basically the SAX Parser will invoke some callbacks method you provide whenever an element, a comment, or raw text is found in the XML document being parsed.
Hope this helps,
Alberto
|
|
|
|