OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: What to do with DTD?...

[ Lists Home | Date Index | Thread Index ]
  • From: "Frank Boumphrey" <bckman@ix.netcom.com>
  • To: "Selvaleela" <selvaleela@enterprise-telesys.com>, <xml-dev@ic.ac.uk>
  • Date: Thu, 24 Dec 1998 11:23:15 -0500

So, will u tell me how XML-DTD is going to be used on the server side ?how
Does it interact with Data?

If you are using ASP this is relatively easy to accomplish. You will however
need the new IE5 beta on your system or at least the relevant dll.

Simply load the file as an object, and then use the DOM to traverse the file
and create an HTML stream for old browsers.

for gecko and IE5 you can of course just send the XML file.

Code follows after signature


Frank Boumphrey

XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com
CoAuthor:  XML applications from Wrox Press, www.wrox.com

Asp Code:
dim parser,myDoc,rootEl
'create xml object
set parser=Server.CreateObject("microsoft.XMLDOM")

'load file, note file has tohas to be the physical not virtual path

'check to make sure the document is loaded

	if parser.parseError.reason="" and parser.readyState=4 then

		response.write parser.parseError.reason

	end if
'test all is working by sending something to the client.

	set rootEl=parser.documentElement
	response.write "<BR>"+rootEl.firstChild.nodeName
----- Original Message -----
From: Selvaleela <selvaleela@enterprise-telesys.com>
To: <xml-dev@ic.ac.uk>
Sent: Thursday, December 24, 1998 2:26 AM
Subject: What to do with DTD?...

Hello XML-Gurus,

           1.   Iam new to Xml.I need to know  more about DTD. So, will u
tell me how XML-DTD is going to be used on the server side ?how Does it
interact with Data?
2. I was told that xml can be used with  heterogeneous databases!...How?
Pl.give me some pointers.
3.how the browser understands the DTD?

Oh ..I have lot and lots of doubts.Only u people can help me to clear my
doubts..Please help us!

mail to: selvaleela@enterprise-telesys.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS