/    Sign up×
Community /Pin to ProfileBookmark

Document type Definitions and Declarations…

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?

to post a comment
Full-stack Developer

8 Comments(s)

Copy linkTweet thisAlerts:
@FangSep 15.2005 — 1) http://alistapart.com/articles/customdtd

2) Yes if [I]CONCUR YES[/I] or [I]EXPLICIT YES[/I] is set in the SGML declaration
Copy linkTweet thisAlerts:
@Stephen_PhilbinSep 15.2005 — Yeah. You can do it with either SGML or XML. I'd imagine XML would be the easiest of the two to wield.
Copy linkTweet thisAlerts:
@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.

Man, I make things hard for me, don't I? ?
Copy linkTweet thisAlerts:
@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.
Copy linkTweet thisAlerts:
@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?
Copy linkTweet thisAlerts:
@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]
Copy linkTweet thisAlerts:
@Mr_Initial_ManauthorSep 16.2005 — Yeah, I'm probably gonna be asking for plenty of help while doing this stuff, since I have no idea what I'm doing.

From what I've gleaned, I'm gonna need
[list=1]
  • [*]Doctype Definition

  • [*]XML file

  • [*]XSL file

  • [/list]

    Am I right?
    Copy linkTweet thisAlerts:
    @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. ?
    ×

    Success!

    Help @Mr_Initial_Man spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.21,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...