-
February 20th, 2008, 07:25 #1
Ruleset Creation Guide and XML Tutorial
Folks
I am trying to pull together a ruleset creation guide (complete with walkthrough and final ruleset) and want to concentrate on FG and the ruleset mechanics.
As a result, I'm not keen to include a potted tutorial on XML, but would rather assume the reader has such knowledge. On the other hand, for readers who don't, I'd like to include a cross-reference to a decent XML tutorial elsewhere.
Does anyone know of a good tutorial site to which I can point? A PDF would be even better, as some people like to browse this stuff on a laptop, while disconnected.
I'll post the final guide when its finished, sometime in 2012!
Thanks for the help,
Stuart
-
February 20th, 2008, 07:47 #2jthm0138Guest
Post removed by user
Last edited by jthm0138; March 14th, 2008 at 00:00.
-
February 20th, 2008, 21:02 #3
I don't know of one, Foen. I'm one of those who would need one. But I'd just like to add that your project is noble indeed. I will look forward to 2012.
-
February 21st, 2008, 01:09 #4
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,402
There are a couple of pages on the site which should cover what anyone needs to know about XML for FG.
https://www.bloomington.in.us/~mongi...l/Concepts.htm
https://www.bloomington.in.us/~mongi...l/Examples.htm
The example is over kill though.Last edited by Griogre; February 21st, 2008 at 01:13.
-
February 21st, 2008, 09:20 #5
W3Schools
I learnt much of what I know about XML from the W3Schools website at https://www.w3schools.com/xml/default.asp. This will be five or six years ago now but the core stuff won't have changed.
DNH
"Lost in Karameikos"
-
February 21st, 2008, 13:53 #6
- Join Date
- Jun 2007
- Location
- Zeist, Netherlands
- Posts
- 286
I was just about to post the same link here. w3schools is the ultimate website for web-related references.
-
February 21st, 2008, 19:46 #7
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,402
Of course you probably want to mention FG just uses elements and attributes - no schema or DTD so basically all you really need to know is it is case sensitive and you have to close any element you open.
-
February 22nd, 2008, 06:20 #8
Although it doesn't use attributes, the text values need to be properly xml-encoded. If editing the db.xml by hand, or creating windowclasses with embedded static text, you still need to use & etc.
Thanks for the links folks, I like the w3schools one in particular (although I'll admit it takes you well beyond the level needed for FG work).
Cheers
Stuart
-
February 22nd, 2008, 07:00 #9
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,402
Good point on the forbidden text characters like <, ", &, ect.
Hmm FG uses tons of attributes. Those are the xxx="something" after the element name.
Edit: Ack I forgot how hard it is to get XML to show up on this board. I was going to give an example.Last edited by Griogre; February 22nd, 2008 at 07:10.
-
February 22nd, 2008, 07:12 #10
Bah! I confused attributes with entities ... but you got my meaning!
Stuart
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks