* [mdk-re] SGML @ 2001-05-10 14:00 Andrew Borodin 2001-05-10 14:29 ` cornet 2001-05-11 22:28 ` Ivan Zakharyaschev 0 siblings, 2 replies; 5+ messages in thread From: Andrew Borodin @ 2001-05-10 14:00 UTC (permalink / raw) To: mandrake-russian Здравствуйте! Может быть немного не по теме, но тем не менее. Можно ли чем-нибудь посмотреть документ в SGML? Без промежуточного преобразования в другой формат. Спасибо. А. Бородин ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] SGML 2001-05-10 14:00 [mdk-re] SGML Andrew Borodin @ 2001-05-10 14:29 ` cornet 2001-05-11 22:28 ` Ivan Zakharyaschev 1 sibling, 0 replies; 5+ messages in thread From: cornet @ 2001-05-10 14:29 UTC (permalink / raw) To: mandrake-russian Andrew Borodin wrote: > > Здравствуйте! > > Может быть немного не по теме, но тем не менее. > Можно ли чем-нибудь посмотреть документ в SGML? Без промежуточного > преобразования в другой формат. На сколько я помню - Гномовский хелпер весьма пристойно питается SGML файлами... > Спасибо. > > А. Бородин > > _______________________________________________ > Mandrake-russian mailing list > Mandrake-russian@altlinux.ru > http://altlinux.ru/mailman/listinfo/mandrake-russian -- ******** FIRE & STEEL ******** ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] SGML 2001-05-10 14:00 [mdk-re] SGML Andrew Borodin 2001-05-10 14:29 ` cornet @ 2001-05-11 22:28 ` Ivan Zakharyaschev 2001-05-12 0:13 ` Aleksandr Blohin 1 sibling, 1 reply; 5+ messages in thread From: Ivan Zakharyaschev @ 2001-05-11 22:28 UTC (permalink / raw) To: mandrake-russian Hello, Andrew! On Thu, 10 May 2001, Andrew Borodin wrote: > Здравствуйте! > > Может быть немного не по теме, но тем не менее. > Можно ли чем-нибудь посмотреть документ в SGML? Без промежуточного > преобразования в другой формат. Нет, невозможно. Такова концепция SGML что сам текст в SGML "никак не выглядит". С помощью SGML производится разметка содержания текста. Сама разметка тоже бессмыслена, если нет определения синтаксиса используемых в ней элементов (такие определения делаются в DTD) и соглашений об их значении. Если такие соглашения сделаны, то разметка текста в SGML приобретает смысл, но все еще не внешний вид. Нужно делать дополнительные соглашения о том, как он должны выглядить различные элементы из конкретного DTD. Обычно эти соглашения о внешнем виде очень вольные, с большим числом параметров, которые можно менять на вкус. Значения этих параметров собираются в чем-то, что принято называть stylesheets -- этот набор определяет какой-то особый стиль оформления. Соглашения о визуализации элементов разметки, об параметрах этой визуализации и формат их задания (формат stylesheets) должны понимать интсрументы, предназначенные для показа документов в SGML, размеченных с использованием элементов из какого-то конкретного DTD. Примеры: HTML -- набор элементов разметки, определяется в соответствующем DTD. Что эти элементы значат, должны понимать HTML-renderers, например браузеры. Чтобы показать HTML-документ, браузеры еще должны знать, как изображать все элементы разметки HTML. Еще они могут допускать разные параметры этого изображения, задаваемые в своих меню или стандартизованным способом через специальные stylesheets, например CSS. DocBook -- другой набор элементов разметки, описанный в DTD, и на словах -- чтобы инструменты, работающие с документами в DocBook, понимали, что они значат. Инструменты умеют его визуализовать, например sgmltools разными другими форматами. sgmltools допускает задание параметров визуального вида документа тоже через механизм stylesheets (на языке DSSSL). Вот так. Прежде всего надо понять в соответствие с каким DTD написан попавшийся SGML-документ. Если это HTML, то для его просмтра подойдут браузеры. :-) Если DocBook, то еще что-то (например, sgmltools + программа показывающая документы в других форматах). Если что-то третье, то .... Извините, если мой ответ был излишне длинным -- мне и самому было интересно излодить это все систематически. -- Best regards, Ivan Zakhrayschev ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] SGML 2001-05-11 22:28 ` Ivan Zakharyaschev @ 2001-05-12 0:13 ` Aleksandr Blohin 2001-05-14 10:46 ` Vyt 0 siblings, 1 reply; 5+ messages in thread From: Aleksandr Blohin @ 2001-05-12 0:13 UTC (permalink / raw) To: mandrake-russian On Fri, 11 May 2001 22:32:38 +0400 (MSD) Ivan Zakharyaschev <imz@linux.ru.net> wrote: IZ> IZ> Извините, если мой ответ был излишне длинным -- мне и самому было IZ> интересно излодить это все систематически. IZ> IZ> -- IZ> Best regards, IZ> Ivan Zakhrayschev IZ> Спасибо за лекцию! :-) Я прочитал с удовольствием. -- Best regards AB -- ... In nomine Altli, et Ctrli, et Spititus Deli, Reset! ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] SGML 2001-05-12 0:13 ` Aleksandr Blohin @ 2001-05-14 10:46 ` Vyt 0 siblings, 0 replies; 5+ messages in thread From: Vyt @ 2001-05-14 10:46 UTC (permalink / raw) To: mandrake-russian On Fri, 11 May 2001 22:17:46 +0200 Aleksandr Blohin <sass@uustoll.ee> wrote: > On Fri, 11 May 2001 22:32:38 +0400 (MSD) > Ivan Zakharyaschev <imz@linux.ru.net> wrote: > > > IZ> > IZ> Извините, если мой ответ был излишне длинным -- мне и самому было > IZ> интересно излодить это все систематически. > IZ> > IZ> -- > IZ> Best regards, > IZ> Ivan Zakhrayschev > IZ> > > Спасибо за лекцию! :-) > Я прочитал с удовольствием. Присоединяюсь! Очень понравилось. Почитал бы еще ;) > > -- > > Best regards > AB > > -- > ... In nomine Altli, et Ctrli, et Spititus Deli, Reset! > > _______________________________________________ > Mandrake-russian mailing list > Mandrake-russian@altlinux.ru > http://altlinux.ru/mailman/listinfo/mandrake-russian > -- Regards, Vyt mailto:vyt@vzljot.ru ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-05-14 10:46 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-05-10 14:00 [mdk-re] SGML Andrew Borodin 2001-05-10 14:29 ` cornet 2001-05-11 22:28 ` Ivan Zakharyaschev 2001-05-12 0:13 ` Aleksandr Blohin 2001-05-14 10:46 ` Vyt
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git