TOC / OBSAH  >>>ENCSEN/CSZVONP/T

1. General questions

1. Obecné otázky

What is XML?Co je XML?
What is XML for?Na co je XML dobrý?
What is SGML?Co je SGML?
What is HTML?Co je HTML?
Aren't XML, SGML, and HTML all the same thing?Neznamená XML, SGML a HTML stejnou věc?
What is the difference between SGML/XML and C or C++Jaký je rozdíl mezi SGML/XML a C nebo C++?
Who is responsible for XML?Kdo je zodpovědný za XML?
Why is XML such an important development?Proč je XML tak důležitý?
How can XML make SGML simpler and still let you define your own document types? Jak může XML učinit SGML jednodušší a přitom dovolit vytváření vlastních typů dokumentů?
Why not just carry on extending HTML?Proč nestačí rozšiřovat HTML?
Why do we need all this SGML stuff? Why not just use Word or Notes?Proč potřebujeme všechno to SGML? Proč nestačí používat Word nebo Note
Where do I find more information about XML?Kde naleznu více informací o XML?
Where can I discuss implementation and development of XML?Kde mohu diskutovat implementaci a rozvoj XML?

What is XML?

Co je XML?

XML is the Extensible Markup Language (extensible because it is not a fixed format like HTML). It is designed to enable the use of SGML on the World Wide Web. XML znamená Extensible Markup Language (rozšiřitelný značkovací jazyk). Rozšiřitelný proto, že se nejedná o pevně stanovený formát jako HTML. Tento jazyk byl vytvořen tak, aby umožnil využití SGML na WWW.
XML is not a single, predefined markup language: it's a metalanguage -- a language for describing other languages -- which lets you design your own markup. (A predefined markup language like HTML defines a way to describe information in one specific class of documents: XML lets you define your own customized markup languages for different classes of document.) It can do this because it's written in SGML, the international standard metalanguage for markup. XML není jediný, předdefinovaný značkovací jazyk. Jedná se o meta-jazyk, tedy o jazyk pro tvorbu jiných jazyků, který vám umožní vytvoření vlastních značkovacích jazyků. Předdefinované značkovací jazyky jako HTML definují způsob, jak popsat informace v jednom specifickém typu dokumentů, XML vám dovolí definovat vlastní přizpůsobené značkovací jazyky pro různé druhy dokumentů. Je toho schopen proto, že je napsán v SGML, mezinárodním standardním meta-jazyku pro značkování.

What is XML for?

Na co je XML dobrý?

XML is designed "to make it easy and straightforward to use SGML on the Web: easy to define document types, easy to author and manage SGML-defined documents, and easy to transmit and share them across the Web." XML byl vytvořen tak, aby "umožnil snadné a přímočaré využití SGML na webu: snadné definice typů dokumentů, snadnou tvorbu a správu SGML-definovaných dokumentů a jejich snadný přenos a sdílení po síti."
It defines "an extremely simple dialect of SGML which is completely described in the XML Specification. The goal is to enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML."Definuje "nesmírně jednoduchý dialekt SGML, který je zcela popsán v XML Specifikaci. Cílem je umožnit vysílání, příjem a zpracování SGML na webu stejně, jak je dnes možné s HTML.
"For this reason, XML has been designed for ease of implementation, and for interoperability with both SGML and HTML" [quotes from the XML spec]. "Z tohoto důvodu byl XML vytvořen tak, aby jej bylo možné snadno implementovat a aby mohl spolupracovat se SGML a HTML.

What is SGML?

Co je SGML?

SGML is the Standard Generalized Markup Language (ISO 8879), the international standard for defining descriptions of the structure and content of different types of electronic document. There is an SGML FAQ at http://www.infosys.utas.edu.au/info/sgmlfaq.txt which is posted every month to the comp.text.sgml newsgroup, and the SGML Web pages are at http://www.oasis-open.org/cover/sgml-xml.html. SGML je Standard Generalized Markup Language (standardní zobecněný značkovací jazyk) (ISO 8879), mezinárodní standard pro popis struktury a obsahu různých druhů elektronických dokumentů. SGML FAQ naleznete na adrese http://www.infosys.utas.edu.au/info/sgmlfaq.txt. Tento FAQ je zasílán každý měsíc do diskuzní skupiny comp.text.sgml a SGML stránky naleznete na http://www.oasis-open.org/cover/sgml-xml.html
ISO standards are governed by the International Organization for Standardization in Geneva, Switzerland, and voted into or out of existence by representatives from every country's national standards body. ISO standardy jsou řízeny Mezinárodní Organizací pro Standardy se sídlem v Ženevě a jsou přijímány hlasováním zástupců národních komisí pro standardy z každé země
  • If you have a query about an international standard, you should contact your national standards body for the name of your country's representative on the relevant ISO committee or working group.
  • If you have a query about your country's representation in Geneva or about the conduct of your national standards body, you should contact the relevant government department in your country, or speak to your public representative.
  • Pokud se chcete dotázat na nějaký mezinárodní standard, kontaktujte vaši národní komisi pro standardy a zjistěte si jméno vašeho zástupce v relevantní ISO komisi nebo pracovní skupině.
  • Pokud se váš dotaz týká zastoupení vaší země v Ženevě nebo chování vaší národní komise, kontaktujte odpovědné ministerstvo vaší země nebo vašeho voleného zástupce.
The representation of countries at the ISO is not a matter for this FAQ. Please do not submit queries to the maintainer about how or why your ISO representatives have or have not voted. Reprezentace zemí v ISO není předmětem tohoto kompendia.

What is HTML?

Co je HTML?

HTML is the HyperText Markup Language (RFC 1866), a specific application of SGML used on the World Wide Web. HTML je HyperText Markup Language (Hypertextový značkovací jazyk) (RFC 1866), specifická aplikace SGML používaná na WWW.

Aren't XML, SGML, and HTML all the same thing?

Neznamená XML, SGML a HTML stejnou věc?

Not quite. SGML is the 'mother tongue', used for describing thousands of different document types in many fields of human activity, from transcriptions of ancient Irish manuscripts to the technical documentation for stealth bombers, and from patients' clinical records to musical notation. Ne tak docela. SGML je "mateřský jazyk", který je používán pro popis tisíců různých typů dokumentů v řadě oblastí lidské aktivity, od přepisu starovkých irských manuskriptů až po technickou dokumentaci bombardérů stealth
HTML is just one of these document types, the one most frequently used in the Web. It defines a simple, fixed type of document with markup designed for a common class of office or technical report, with headings, paragraphs, lists, illustrations, etc, and some provision for hypertext and multimedia. HTML je pouze jedním z těchto typů dokumentů, ten, který se nejčastěji používá na WWW. Definuje jednoduchý, pevně stanovený typ dokumentu, se značkováním vytvořeným tak, aby uspokojil požadavky běžných technických a úředních dokumentů, s názvy kapitol, odstavci, seznamy, obrázky atd.. Nabízí rovněž některé možnosti pro hypertext a multimedia.
XML is an abbreviated version of SGML, to make it easier for you to define your own document types, and to make it easier for programmers to write programs to handle them. It omits the more complex and less-used parts of SGML in return for the benefits of being easier to write applications for, easier to understand, and more suited to delivery and interoperability over the Web. But it is still SGML, and XML files may still be parsed and validated the same as any other SGML file (see the question on XML software). XML je zkrácenou verzí SGML, takže vám umožní snažší definici vlastních typů dokumentů a rovněž programátoři mají usnadněnou úlohu při psaní programů na jeho zpracování. Vynechává složitější a méně používané části SGML, ale díky tomu se pro něj snáze píší aplikace, je snáze srozumitelný a vhodnější pro přenos na WWW. Jedná se však stále o SGML, XML soubory mohou být zpracovávány a ověřovány stejně, jako ostatní SGML soubory (viz otázka na XML software).
Programmers may find it useful to think of XML as being SGML-- rather than HTML++. Pro programátory může být užitečné uvažovat o XML jako o SGML-- spíše než HTML++.

What is the difference between SGML/XML and C or C++

Jaký je rozdíl mezi SGML/XML a C nebo C++?

C and C++ (and others like Fortran, or Pascal, or Basic, or Java or dozens more) are programming languages with which you specify calculations, actions, and decisions to be carried out: C a C++ (a další jako Fortran, Pascal, Basic, Java a tucty jiných) jsou programovací jazyky, se kterými specifikujete výpočty, akce a rozhodnutí, která se mají vykonat:
do when @front(@date,6) is equal "01-Apr" print "April Fool!\n" else print @days(@datesub("25-Dec",@date)),\ " shopping days to Christmas\n" done
SGML and XML are markup specification languages with which you can design ways of describing information, usually for storage, transmission, or processing by a program: SGML a XML jsou značkovací jazyky, se kterými můžete navrhnout způsoby popisu informací, obvykle pro skladování, přenos nebo zpracování v programu:
<p>It was the week after <event class="festival">Christmas</event> but <name class="person">Max</name>'s mind was still running on the prank he had played on <name class="person">Louise</name> the previous <name class="month">April</name>.</p> <p>Byl to týden po <událost třída="festival">Vánocích</událost> ale <jméno třída="osoba">Karlova</osoba> mysl se stále zaobírala <jméno třída="ososba">Janou</jméno></p>
On its own, a file of SGML or XML text (including HTML) doesn't do anything: you have to have a program to do something with it. Sám o sobě, soubor se SGML nebo XML textem (včetně HTML) neznamená nic. Potřebujete nějaký program, který s ním dokáže pracovat.

Who is responsible for XML?

Kdo je zodpovědný za XML?

XML is a project of the World Wide Web Consortium (W3C), and the development of the specification is being supervised by their XML Working Group. A Special Interest Group of co-opted contributors and experts from various fields contributed comments and reviews by email.
XML is a public format: it is not a proprietary development of any company. The v1.0 specification was accepted by the W3C as Recommendation on Feb 10, 1998. XML je projektem World Wide Web Consortium (W3C) a vývoj specifikace má na starosti její XML pracovní skupina. Zvláštní zájmová skupina přibraných spolupracovníků a expertů z různých oblastí přispívá e-mailem.

Why is XML such an important development?

Proč je XML tak důležitý?

It removes two constraints which are holding back Web developments:Odstraňuje dvě překážky, které zdržují rozvoj internetu:
  • dependence on a single, inflexible document type (HTML);
  • the complexity of full SGML, whose syntax allows many powerful but hard-to-program options.
  • závislosti na jediném, pevném typu dokumentu (HTML);
  • komplexity úplného SGML, jehož syntax umožňuje mnoho užitečných, ale obtížně programovatelných možností.
XML simplifies the levels of optionality in SGML, and allows the development of user-defined document types on the Web. XML zjednodušuje volby v SGML a umožňuje vývoj uživatelem definovaných dokumentů pro WWW.

How can XML make SGML simpler and still let you define your own document types?

Jak může XML učinit SGML jednodušší a přitom dovolit vytváření vlastních typů dokumentů?

To make SGML simpler, XML redefines some of SGML's internal values and parameters, and removes a large number of the more complex and sometimes less-used features which made it harder to write processing programs (see http://www.w3.org/TR/NOTE-sgml-xml-971215). Aby SGML zjednodušil, XML znovu nadefinoval některé vnitřní hodnoty a parametry SGML, a odstranil velké množství složitějších a často i méně používanějších možností, které kladly velké nároky na psaní programů (viz http://www.w3.org/TR/NOTE-sgml-xml-971215).
Although it retains all of SGML's structural abilities which let you define and manage your own document types, XML introduces a new class of document which does not require you to use a predefined document type description (basically you can make up your own markup so long as you stick strictly to the syntactic rules). See the questions about "valid" and "well-formed" documents, and how to define your own document types in the Developers' Section.Ačkoliv si ponechává všechny strukturovací schopnosti, které umožňují definovat a spravovat vlastní typy dokumentů, XML zavádí nový typ dokumentu, který nevyžaduje použití předdefinovaného popisu typu dokumentu (ve své podstatě můžete vytvářet svůj vlastní syntax, pokud se přesně držíte pravidel). Porovnejte s "platný" and "správně-zformovaný" dokument, a jak definovat vlastní typy dokumentů v Sekci pro vývojáře.

Why not just carry on extending HTML?

Proč nestačí rozšiřovat HTML?

HTML is already overburdened with dozens of interesting but often incompatible inventions from different manufacturers, because it provides only one way of describing your information.Již nyní je HTML přetíženo tucty zajímavých, ale často nekompatabilních vylepšení od různých výrobců, neboť nabízí pouze jedinou možnost pro posání vaší informace.
XML will allow groups of people or organizations to create their own customized markup languages for exchanging information in their domain (music, chemistry, electronics, hill-walking, finance, surfing, petroleum geology, linguistics, cooking, knitting, stellar cartography, history, engineering, rabbit-keeping, mathematics, etc).XML umožní skupinám lidí nebo organizacím vytvořit jejich vlastní přizpůsobený značkovací jazyk pro výměnu informací v jejich oblasti zájmu (hudba, chemie, elektronika, turistika, finance, surfování, těžba ropy, jazykověda, vaření, pletením, mapování hvězd, historie, inženýrství, chování králíků,matematika, atd.)
HTML is at the limit of its usefulness as a way of describing information, and while it will continue to play an important role for the content it currently represents, many new applications require a more robust and flexible infrastructure. HTML již dosáhlo limitu své užitečnosti jako způsob popisu informací a zatímco i nadále bude hrát významnou roli v oblastech, kde se nyní využívá, mnoho nových aplikací vyžaduje robustnější a flexibilnější infrastrukturu.

Why do we need all this SGML stuff? Why not just use Word or Notes?

Proč potřebujeme všechno to SGML? Proč nestačí používat Word nebo Note

Information on a network which connects many different types of computer has to be usable on all of them. Public information cannot afford to be restricted to one make or model or manufacturer, or to cede control of its data format to private hands. It is also helpful for such information to be in a form that can be reused in many different ways, as this can minimize wasted time and effort. Proprietary data formats, no matter how well documented or publicized, are simply not an option: their control still resides in private hands and they can be changed or withdrawn arbitrarily without notice. Informace na síti, která propojuje mnoho různých druhů počítačů, musí být použitelná všemi. Veřejné informace nemohou být omezeny na jeden typ, model nebo výrobce, nebo předat kontrolu svého datového formátu do soukromých rukou. Je rovněž užitečné, když jsou takové informace ve formě, která může být využita mnoha různými způsoby, protože tímto způsobem je minimalizován ztracený čas a úsilí. Soukromé datové formáty, bez ohledu na to jak dobře jsou dokumentovány nebo zveřejněny, zde zkrátka nepředstavují alternativu, jejich kontrola stále spočívá v soukromých rukou takže mohou být změněny nebo opuštěni bez jakéhokoliv oznámení.
SGML is the international standard for defining this kind of application, but those who need an alternative based on different software for other purposes are entirely free to implement similar services using such a system, especially if they are for private use. SGML je mezinárodní standard pro definování takovýchto aplikací, ale ti, kteří potřebují alternativu založenou na jiných programech mohou zcela svobodně implementovat něco podobného za použití tohoto systému, zejména pro soukromé použití.

Where do I find more information about XML?

Kde naleznu více informací o XML?

Online, there's the XML Specification and ancillary documentation available from the W3C; the XML Web pages with an extensive list of online reference material in Robin Cover's SGML pages; and a summary and condensed FAQ from Tim Bray. Na síti je dostupná XML Specifikace a další dokumentace z W3C; XML Web pages s podrobným seznamem online referencí SGML pages Robina Covera; a souhrn a zkondenzovaný FAQ od Tim Braye.
The items listed below are the ones I have been told about: please mail me if you come across others.
  • The annual XML Conference is run by the Graphic Communications Association. XML'99 is being held in Philadelphia on December 5-9 and consists as last year of two conferences in one: the XML Conference '99 and Markup Technologies '99
  • SGML/XML Asia/Pacific is in Sydney on October 18-21.
Further details of these on the GCA's Web site.
There are lists of books, articles, and software for XML in Robin Cover's SGML and XML pages. That site should always be your first port of call: please look there first before using the form in this FAQ to ask about software or documentation.

Where can I discuss implementation and development of XML?

Kde mohu diskutovat implementaci a rozvoj XML?

Please Read The Fine Documentation which you will be sent when you join a mailing list, as it contains important information, particularly about what to do when your email address changes.
There is a mailing list called xml-dev for those committed to developing components for XML. You can subscribe by sending a 1-line mail message to majordomo@ic.ac.uk saying:subscribe xml-dev your@email.address(substituting your correct email address). To unsubscribe, send a 1-line message to the same address saying unsubscribe xml-dev your@email.addressThe list is hypermailed for online reference at http://www.lists.ic.ac.uk/hypermail/xml-dev/. Note that this list is for those people actively involved in developing resources for XML. It is not for general information about XML (see this FAQ and other sources) or for general discussion about SGML implementation and resources (see below).
There is a general-purpose mailing list called XML-L for public discussions: to subscribe, send a 1-line mail message to LISTSERV@listserv.heanet.ie sayingsubscribe XML-L forename surname(substituting your own forename and surname). To unsubscribe, send a 1-line message to the same address sayingunsubscribe XML-L(Note that LISTSERV lists like XML-L don't need you to give your email address: they read it from your email headers.) You can access XML-L and its archives, as well as subscribe and unsubscribe interactively, from http://listserv.heanet.ie/xml-l.html.
Please note that there is a lot of inaccurate and misleading information published in print and on the Web about subscribing to mailing lists. The information given here is correct - use it.
There are mailing lists being set up in other languages:
  • Gianni Rubagotti writes: "A new Italian mailing list about XML is born: to subscribe, send a mail message without a subject line but with text saying subscribe XML-IT to majordomo@ananas.usr.dsi.unimi.it. Send discussion messages to: xml-it@ananas.usr.dsi.unimi.it (only subscribers may send messages). Everyone, Italian or not, who wants to debate about XML in our tongue is welcome."
  • JP Theberge writes: "A French mailing list about XML has been created. To subscribe, send subscribe to xml-request@trisome.com. Then post to xml@trisome.com."
The Usenet newsgroup comp.text.xml is for discussions of XML. If this is not available on your local news server, ask your Internet Provider to add it, or use a Web interface like DejaNews.

TOC / OBSAH  >>>ENCSEN/CSZVONP/T