|
-
July 8th, 2002, 10:36 AM
#1
[newbie] XML Schema question
Alright team,
I'm a newbie and here is my first question:
In HTML if you put in <b> then every browser worldwide knows that you want to use bold text.
I'n XML if you put in <firstname>Ben</firstname> how can a browser interpret this any different if I wanted to use <1stname>Ben</1stname> or <name1>Ben</name1>
Sorry if this sounds like a daft question but I have my Dummies book out and I'm just trying to work it through.
Is there a set list of recognised XML tags, just like there is for HTML?
All the best,
Ben
-
July 9th, 2002, 10:26 AM
#2
An XML Schema defines the structure of an XML file and the data type of elements.
You appear to be talking about an XML file. An XML file would commonly be used to store data in a structured format, possibly defined by a schema or DTD. An XML file should not be used to store data and associated format specifiers. XSLT can be used to transform the XML data into html and whilst doing so apply HTML format specifiers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|