LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives

XML-L Archives

XML-L Archives


Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font


Join or Leave XML-L
Reply | Post New Message
Search Archives


Re: XML - 4 questions


Ronald Bourret <[log in to unmask]>


General discussion of Extensible Markup Language <[log in to unmask]>


Thu, 13 Dec 2001 23:59:11 -0800





text/plain (40 lines)

Ian Fondevilla wrote:
> 2. We could write the contents of a database in XML format. In
> addition to an XML formatted file, what else would be required in
> order to use the database data?

1) A way to get the data from the database into the XML document. For a
list of products that do this, see:

2) A way to parse the XML document and get the data into your

> 3. When you read XML from a file into a browser, the browser does not
> necessarily display the code properly? Why?

This depends on the browser you are using. Some browsers are designed to
understand only HTML, not XML, so it is not surprising they cannot
display the XML correctly.

Browsers that do understand XML (I can't remember which these are -- IE
5 and 6, Mozilla 6?) generally won't know how to display it unless you
also pass in a stylesheet. (It's important to remember here that
browsers are written to know what to do with HTML's <p> and <a> tags;
they have no clue what to do with the <IDefinedThisTagMyself> tag.)

> 4. What steps are logically necessary to define the XML code for a
> file?

What do you mean by "XML code"? Do you mean the text and tags? If so,
the logical steps are:

1) Decide what data you want to put in the XML document.

2) Design (or find) an XML vocabulary that can represent your data.

3) Create the document, such as with a text editor or a program that
creates the document.

-- Ron

Back to: Top of Message | Previous Page | Main XML-L Page



CataList Email List Search Powered by the LISTSERV Email List Manager