[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: What to do with DTD?...
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 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 parser.load("c:\webshare\wwwroot\xml\simple.xml") 'check to make sure the document is loaded if parser.parseError.reason="" and parser.readyState=4 then else 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@e...> To: <xml-dev@i...> 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@e... xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|