1) Is it possible to write my own doctype definition so that it can be downloaded and understood by a browser? 2) Is it possible to have two Doctypes in a single page, using the languages together?
@Mr_Initial_ManauthorSep 15.2005 — #I think that's what I'm gonna do, then, in XML. I'm gonna need a bit of help figuring out how to do block elements, and so on. These are the elements I'll be using:
Block elements:
<page>
<code>
<ln>
(The last two work like an ordered list. I'm gonna have numbered lines.)
Inline Elements:
<name>
<att>
<end>
<pub>
<char>
<lnk> (My hyperlink tag, href is written "target", so <lnk target="URL">)
Others:
<title> (Same as HTML)
Basically, I'm considering creating a mark-up language (which I'm calling CodeML) from scratch.
@Stephen_PhilbinSep 15.2005 — #Well it's XSL you use for setting what types elements are and how they look and behave and so on. There's a whole load of 'em. XSLT XSLFO and others I forget the names of. I left that stuff for later. I know I'll be using XML quite a bit later on, so I just intensively studied the regular XML 1.0 rec and read it over and over for days, then left it so I can just go straight to styles and formatting when I actually come to use XML for display as well as storage.
@Mr_Initial_ManauthorSep 15.2005 — #XSLT transforms XML into HTML, if I remember correctly. I tried that, and the results were rather strange. What's XSLFO?
@Stephen_PhilbinSep 15.2005 — #XSLT transforms XML into HTML, if I remember correctly.[/quote]
It does a lot more than that.
What's XSLFO?[/QUOTE]
By the looks of it, XSL-FO is XSL, not certain though. Like I said, I've not bothered looking at anything but the core XML 1.0 rec yet. If you want info on XSL/XSL-T, then you probably want to be at the [url=http://www.w3.org/Style/XSL/]XSL Working Group Public Page[/url]
@Stephen_PhilbinSep 17.2005 — #Well from the little I've learned about the visual end of XML, as far as I know, you can use either XSL/T, standard CSS or both. Depends on how you want things to go I suppose. I doubt I'll be much use to you, I'm currently mincing about with proccessing uploaded zip files on a server, I won't be bothering with that side of XML for a few months yet. If I were you, I'd just have another good refresher read of the XML 1.0 rec and then get stuck in to the XSL recs. Can't imagine you'll find anything more useful than those really.
I'd imagine there'll be plenty of folks in the XML section that'll be more than happy to help if ya get stuck. ?