Originally posted by YanNaing WTint:
Good job, Corey !!!
I'm using IE 6.0.2600 and unfortunately, I got the message which says Your browser doesn't support XML.
Is there any other options that I need to configure?
Originally posted by Nimesh Gala:
Even i am getting the same message.
Also for the FlashCard application, it says "flashcard is null or not an object".
my browser is IE ver 6.00.2462.000
Originally posted by Corey McGlone:
You know, it's been some time since I've really looked into XML but, some time ago, I did quite a bit of research and actually put together a bit of a tutorial on using XML. If anyone has the time and/or ambition to take a look at it, you can find it here. You'll need Macromedia Flash in order to use some of the examples (actually, I think just one), but the rest is mostly basic text.
I never really had many people take a look at it and tell me what they thought and I'd love to hear what all of you have to say about it. Granted, it's rather old and probably a bit naive, but I'd still love to get some feedback.
Thanks,
Corey
Originally posted by Frances Teng:
Corey:
Are DTD tags, element names, etc case sensitive?
What extension name should be used when saving an DTD/XML (separate or together) file?
Is order significant in DTD (ATTLIST before ELEMENT or the other way around or does not matter)?
Syntax for <!DOCTYPE (you only have an example no official syntax.)
a List of valid data types for DTD. (You have #PCDATA for text, what are the other valid data types?).
Frances
Scott Bain<br />Senior Consultant<br />Net Objectives<br />425-591-5844<br /><a href="http://www.netobjectives.com" target="_blank" rel="nofollow">Net Objectives</a><br />----------------------------<br />* Sign up for our free newsletter by sending an e-mail to<br />[email protected]<br />* Learn about and join our design pattern community of practice by going to<br /><a href="http://www.netobjectives.com/dpexplained" target="_blank" rel="nofollow">www.netobjectives.com/dpexplained</a><br />* Alan Shalloway & Jim Trott's - Design Patterns Explained: A New Perspective on<br />Object-Oriented Design is now available<br />* Our new CDROM-based XML training is now available as well
The convention for XML and DTD files it to use these very extensions: .xml and .dtd. Nothing in the specification of either requires this.
I still use IE5 so it worked well for me.
Originally posted by Frances Teng:
Scott:
Thank you for answering my questions.
Corey:
I'm using IE5.5, your example in page 4 worked for me. I downloaded the zip file and added the xmlLoad.js in the directory. I also did my own by following the instructions. They both worked.
Thanks!
Frances
Originally posted by Corey McGlone:
Scott,
Thanks for the help. A couple more quick questions for you. We had a brief discussion earlier about the use of an XML-Schema rather than a DTD. I've never seen an XML-Schema before, but I'd like to include a description of it in this tutorial, if possible. Can you direct me to a source so that I can find some information and hopefully an example or two?
Also, You mentioned that XML files are generally named with the extenstion .xml and DTD files with the extenstion .dtd. I have followed these guidelines in the past but, just to be sure, is an XML file with an included DTD still named with the .xml extension. I had always assumed that it was.
Also, with XML-Schemas, is it possible to have both local and remote schemas (just like DTD's)? If it is possible to have a remote XML-Schema file, what extension is put onto that file?
Thanks again,
Corey
Scott Bain<br />Senior Consultant<br />Net Objectives<br />425-591-5844<br /><a href="http://www.netobjectives.com" target="_blank" rel="nofollow">Net Objectives</a><br />----------------------------<br />* Sign up for our free newsletter by sending an e-mail to<br />[email protected]<br />* Learn about and join our design pattern community of practice by going to<br /><a href="http://www.netobjectives.com/dpexplained" target="_blank" rel="nofollow">www.netobjectives.com/dpexplained</a><br />* Alan Shalloway & Jim Trott's - Design Patterns Explained: A New Perspective on<br />Object-Oriented Design is now available<br />* Our new CDROM-based XML training is now available as well
a List of valid data types for DTD. (You have #PCDATA for text, what are the other valid data types?)
In terms of types, DTD is pretty thin. Attributes are essentially strings (there are entities, ID's and IDREF's, but they are all special case types). Element types are not defined in the global or local sense, but simply as the structures they specify.
Scott Bain<br />Senior Consultant<br />Net Objectives<br />425-591-5844<br /><a href="http://www.netobjectives.com" target="_blank" rel="nofollow">Net Objectives</a><br />----------------------------<br />* Sign up for our free newsletter by sending an e-mail to<br />[email protected]<br />* Learn about and join our design pattern community of practice by going to<br /><a href="http://www.netobjectives.com/dpexplained" target="_blank" rel="nofollow">www.netobjectives.com/dpexplained</a><br />* Alan Shalloway & Jim Trott's - Design Patterns Explained: A New Perspective on<br />Object-Oriented Design is now available<br />* Our new CDROM-based XML training is now available as well