Saturday February 2, 2002
Today's email to Paul Ford at ftrain.com. Posted as proof, if I was to drown today in Islais Creek, that I'd gone totally insane at the very end:
I bet you don't mess with schemas...
It's pretty hard designing a data structure while working with something like XML schemas. They're so flexible that while trying to define my blog data, I felt like Sam Lowry trying to eat his soggy morning toast in Brazil.
I think I was doing alright until the point that I tried to add a definition for A links. I was confused how to make it so you couldn't put A tags inside of A tags. Well, I'm too tired now. I read about XML schemas for about 5 hours and then spent another 5 writing my first schema for the blog. Check it out. I don't know if it means anything to ya. I chose to start with schemas instead of Dtd's because I'm starting fresh and everyone is recommending it over Dtd's. It was actually a little easier for me to comprehend. And what I learn making schemas translates to doing other types of XML.
I really didn't know how to put in markup tags like <b> and <p> and <br>. (or even if I needed to) I just threw them in where they looked good. Didn't even try div and span... I chose to describe things with attributes where I could instead of lots of elements. The books I read seemed to lean this way. Also, didn't see any need for groups with my type of structure. But, if I could get the body text described I would like to make that into a type.
I used HTMLSpy and it made it pretty damn easy to just drag stuff around and get it spelled right.
Funny, I couldnt get any straight info about how you create a schema to describe regular old xhtml markup. There's a million ways to do "customers...order....addresses" Maybe I just reference XHTML and forget about it. I have no idea. My little brain tried to map out structure of the limited set of tags that I used and quickly got buried.
Here's the report of what I did.
http://primco.org/testblog/schema/beginning_blog_schema.html
davep
voyeurs of the world, give something back!
Nearby Entries
<prev<----
Home
----
>next>
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 |
Search
Categories
- blog meta info (23)
- essays (15)
- eyes (6)
- india (10)
- my book (6)
- movies (17)
- music (40)
- photos misc (59)
- cuba photos (24)
- india photos (52)
- san francisco photos (51)
- the mission (19)
- videos (25)
Archives
- May 2006
- October 2005
- September 2005
- May 2005
- April 2005
- March 2005
- February 2005
- November 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003
- January 2003
- December 2002
- November 2002
- October 2002
- September 2002
- August 2002
- July 2002
- June 2002
- May 2002
- April 2002
- March 2002
- February 2002
- January 2002
- December 2001
- November 2001
- October 2001
- September 2001
- August 2001
- July 2001
- June 2001
- May 2001
Recent Entries
- Act Of The Apostle Part 1 May 22, 2006 10:42 AM
- Listen to Thomas Friedman October 17, 2005 1:39 AM
- Personal Continuity September 6, 2005 2:28 AM
- White Gold May 17, 2005 5:35 PM
- Hate, lies and perverted racism May 1, 2005 3:33 PM
- Ballroom Chairs April 29, 2005 1:21 AM
- Supreme Court to pro-lifers -> deeeenied. March 24, 2005 11:02 AM
- Blurry SFO March 23, 2005 3:38 AM
- A site for the blind March 20, 2005 9:07 PM
- The tube is out! March 19, 2005 10:33 AM