Teen Programmers Unite  


Return to forum top

All in favour, say "Aye." All opposed say "Nee!"

Posted by DakeDesuDx [send private reply] at January 12, 2002, 09:51:04 PM

I've noticed a quick start guide on Web Programming, and one on PHP, but none on XML, or even reading DTDs...

Reading DTDs is a very useful ability. I will write one, if nobody minds...

Posted by Psion [send private reply] at January 12, 2002, 10:08:24 PM

All right, but be prepared for strict editorial decisions if it ends up in the same style as your posts. ;-)

Posted by DakeDesuDx [send private reply] at January 12, 2002, 10:39:28 PM

Okay, I have wrote the article... but before posting it as an article, I am sure it will need to be edited, and I am sure that I have made all sorts of syntactical errors it is not funny. So I need somebody or somebodies to help me edit it, so that I do not pull a CodeRed. Anyways, the current version is at http://danewmoon.curvedspaces.com/tpu/reading_dtds_article.xml

Thanks for your help.

Posted by DakeDesuDx [send private reply] at January 12, 2002, 10:41:11 PM

You might want to read it as source code (via: view -> page source), if your in Mozilla

Posted by taubz [send private reply] at January 13, 2002, 01:25:27 PM

I'll be glad to edit/format it, but "[I] do not have access to this document." However, I'm skeptical if DTD is at all useful for programming. XML is nice, but all it is is a file format. It really has nothing to do with programming - which is why I never really understood how .NET makes anything better.

- taubz

Posted by Psion [send private reply] at January 13, 2002, 01:27:20 PM

Yes, I think at most one quick start guide explaining the whole silly area of XML and related "technologies" in brief and directing to tutorials elsewhere would be warranted.

Posted by gian [send private reply] at January 13, 2002, 04:07:07 PM

"You do not have access to this document"


Posted by buzgub [send private reply] at January 13, 2002, 05:59:50 PM

I could get at it yesterday (I think it was then) and mozila was throwing out an xml passing error near the bottom of the page. Today, it's just throwing out an xml error straight away.

Posted by taubz [send private reply] at January 14, 2002, 01:04:21 PM

It seems that IE has a problem accessing the page and generates its own error message that gives no clue to the browser what's wrong, and appears to be server side... Because Netscape downloaded it a-okay, and then even launched IE as the viewer for XML. Very strange.

- taubz

Posted by DakeDesuDx [send private reply] at January 15, 2002, 02:34:45 PM

I am back, I have been upgrading system stuffs at home, but these are strange errors.

I think knowing DTDs is very useful for WEB programming. I have often been helped by reading the xhtml dtd, and if nothing else, that is one reason for it. Also, just to be a obnoxious idiot, W3C seems to think that XML is the future of the web, and they are the Nazis (oh wait.. just lost the Yahoo listing for TPU) that control everything.

The article does not teach how to MAKE a DTD, just how to read them. There is a lot of stuff with DTDs that are beyond the scope of the article, and I feel, that they are best learned by picking up books on the subject. My goal, is, so that the user, when presented with a DTD, can make sense of how to use that XML langauge, even if it is on xhtml.

As for more strange errors. When I exited X windows after looking at the doc on the web, I seemed to get an error about something I had inbetween some <pre> tags, so that could be one problem. This only appeared after I closed X, cause I used the KDE menu to open Mozilla. In the next version of the article, I will put the <p>s inside <div xmlns="http://www.w3.org/1999/xhtml"> (I will have to look that up), I just need to know if the article system will not screw that up when it gets sent.

But the "You do not have access to that file" is it a server error (like CoolFreePages.Com redirects you to an error page) or is it a browser error? If it is a browser error, I think, though I am not sure, some browsers think that *.xml files are server files akin to SQL databases (heck, some SQL databases are done in XML), and I have seen some detecated html editors that group xml as a server file. So I think that might have to do it as html for now, and screw the article format. I've heard of some programs that group CSS as a server file >_<!

If it is a server error from CoolFreePages.Com, I will have to do it as html right now, and then smack that host around a little while; get a job; buy a T1 line (I hear they are priced at $80/month now, or some other ridiculous low price), and set up my own server. But step number three there is the hard part (It is a free host, so I did not waste that much money on its crap, but then, you get what you pay for).

Posted by vladimir_l [send private reply] at January 15, 2002, 03:35:39 PM

DakeDesuDx I somehow get the impression that you already said that... Might be the all mark read button...

Posted by DakeDesuDx [send private reply] at January 15, 2002, 05:06:17 PM

Well, vladimir_I, once you get to know me, you learn that really I am a one trick pony. Sure I might seem interesting at first, but then I become horribly predictable. I say the exact same thing over and over again, thought it might rotate over the months what I am saying over and over again. The only thing saving my ass from being thought of as a dumbass who should not even be worth listening to, cause he says the exact same thing over and over agian, is the post concept called Dake Desian Confusion.

What Dake Desian confusion, is I either take a topic, and start it into a downward spiral by a slightly OT quirp, or I reply to something that I have little or no understanding of, and I mix it up with something I do understand.

Though, I must say that this site seems to have a rather effective Anti-Dake Desian Confusion Film. On say, GameDev.net, Dake Desian Confusion is way easier to instate. I have been known to cause whole pages of OT topic posts there. I've even had the Moderator of the Lounge tell me to stop crap posting as much (Somebody was putting laxitives in my coffee... I swear...) because it was causing the place to get very confusing.

There are several devices within Dake Desian Confusion that make it even worse.

All I am saying is that Dake Desian Confusion is the only thing I have got going to make myself interesting, and not just some other troller around here.

Posted by vladimir_l [send private reply] at January 16, 2002, 01:13:36 PM

Pehaps so , but I don't know you that well , you sure a re illusive.... Or you cracked the mark read button , whatever you did , it was mysterious.A DTD Q.S.G would certainly be useful , certainly more useful that "Fortran" :)

You must be logged in to post messages and see which you have already read.

Log on
Save for later automatic logon

Register as a new user
Copyright TPU 2002. See the Credits and About TPU for more information.