|
next
|
Subject: document types for standard documents Author: Dave Silvia Date: 30 May 2007 02:11 PM Originally Posted: 30 May 2007 02:08 PM
|
Hi!
I did a couple of searches and found nothing, so, if this is a repeat I apologize, I obviously didn't pick the right magic combination of words!;)
I'm curious to know why there are no standard document types for, say, html, xhtml, xdr, rdf, etc.? Something besides just the opening xml identifier? Also, I found no provision/option for including encoding in the xml identifier.
It would be nice if one could select, say, open an xhtml strict 1.0 document and get something of the form:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p></p>
</body>
</html>
(the above is actually formatted with indentation, but the bb doesn't preserve it!:-< )
You know, the bare essentials to get one started? And similarly for other standard format documents.
Starting off every document that's xml derived with only:
<?xml version="1.0"?>
isn't really that much of a help.
thx,
Dave S.
|
next
|
Subject: document types for standard documents Author: Dave Silvia Date: 30 May 2007 07:43 PM Originally Posted: 30 May 2007 07:38 PM
|
>I considered making a
>suggestion along these lines
>awhile ago but decided it
>really was not needed for me.
>The reason for my decision was
>that the editor does allow me
>to quickly and easily create
>common elements and
>attributes. However, perhaps a
>user definable template
>mechanism would meet your
>needs and be a nice added
>feature. This would allow
>users to create templates that
>would automatically be the
>starting point for new
>documents.
Hi!
Actually, I think both would be a better idea. I don't see where the current IDE will add a line like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
The most I can see that it will add is:
<!DOCTYPE
And I have to type in the rest. And for a line like:
<html xmlns="http://www.w3.org/1999/xhtml">
I have to type in the whole thing.
These are standard documents with a standard opening section, so I really see no reason why the IDE cannot have them ready made for our use. A user shouldn't really have to make a template for such standard headings. But, being able to use such a standard, IDE supplied template to create one's own _more_ customized template would be great!;)
It would be a small, finite group of IDE supplied templates, perhaps, at most, say, 40 or 50. And many of these would fall into groups where the template might only differ in, say, the <!DOCTYPE ... > content, so, in reality a much smaller number of templates with IDE defined variables to fill in according to minor differences in type.
Most other WEB Document, [X]HTML, CSS, and XML IDE's have this feature, shouldn't:
"Just the best-darned XML IDE on the planet!"
have the same?
thx,
Dave S.
|
|
|
|