[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Mass editing and xhtml vs. HTML



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

As I have seen that a few pages use xhtml closing tags, a note about editing those files with vi and making mass changes (all languages for one page at the same time).

for example I want to take the <br> tag.

Sometimes it is necessary to replace it by somehting like <li>, <dd> or whatever to make a page which is not layouted by <br>, $nbsp; and others. Replacing something like <tag> and </tag> is quite easy and quick using cw (change word) in vi(m). But if there are files in between using <tag/ > this will not work. Time to edit files increases a lot.

You might think: heh, she can use just ":1,$s/old/new/g"
But that will not work as not all pages are equal and I may replace something not to be replaced and have a corrupted page then. So most times I have to walk with search through each file and just type "n ." or "n n" ..., but "n ." (find next and do the same) will not work if I cannot do the same replacement as in the file before, or the same search does not work.

This all makes me walk through the files much more often than it would be necesary with plain HTML tags. And there is a much more manual editing.

The other problem with xhtml ("_must_ be valid _before_ putting online") delivering as xml+xhmtl instead of text/HTML and so on have been noted out by me already a time ago. Beside that it would be a step backwords to move to xhtml transitional from HTML strict now and I do not see any plans and timelines for getting all pages in all languages move to xhtml.

So where is the sense of all this replacing <br> by <br/ > in only a few languages? Do you know, if those are still correct xhtml for later version? Or will you replace html by xhtml of same age in years?

All the efforts made by me in the last year to get HTML strict pages would have to be made for strict xhtml, too. But not many people cared about all those font settings and other things still coming up in new created pages.

My goals:
- - Having pages easy to translate/edit
- - having pages strict DTD using CSS
- - Acessibility

Therfore "strict" wins over "xhtml transitional"

Please take it as a wish to make my work easier and less time comsuming.

greetings

Jutta

- -- http://www.witch.westfalen.de
http://witch.muensterland.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iEYEARECAAYFAkQdcSgACgkQOgZ5N97kHkc9JwCdGlWIMa32bi4Fh0pbdI46yG4+
XooAn3IecelwTg3Uy+NrcqqLQoFZvnyM
=IeQa
-----END PGP SIGNATURE-----



Reply to: