2. Users of SGML (including browsers of HTML)
|
2. Uživatelé SGML (včetně HTML browserů)
|
What do I have to do to use XML? | Co potřebuji k použití XML |
Why should I use XML instead of HTML? | Proč mám používat XML místo HTML? |
Where can I get an XML browser? | Kde mohu sehnat XML browser? |
Do I have to switch from SGML or
HTML to XML? | Musím přejít od SGML a HTML na XML? |
What do I have to do to use XML?
|
Co potřebuji k použití XML
|
For the average user of the Web,
nothing except use a browser which works with XML (see the question
about browsers). Remember XML is still being implemented,
so some features are still either undefined or have yet to be written.
| Běžnému uživateli Internetu stačí prohlížeč, který dokáže pracovat s XML (viz otázka na prohlížeče). Nezapomínejte, že XML je ve stádiu implementace, některé vlastnosti dosud nejsou definovány nebo naprogramovány. |
You can use XML browsers to look at
some of the emerging XML material, such as
Jon
Bosak's Shakespeare plays and the molecular experiments of
the Chemical Markup
Language (CML). There are some more example sources listed at
http://www.oasis-open.org/cover/xml.html#examples.
|
S XML browsery si můžete prohlédnout prvé vlaštovky ve světě XML, jako
Jon
Bosakovi hry od Shakespeara a molekulové experimenty
s Chemical Markup
Language (CML). Další příklady uvádí
http://www.oasis-open.org/cover/xml.html#examples. |
If you want to start preparations for creating your own XML, see
the questions in the Authors'
Sectionand the Developers' Section.
|
Pokud chcete vytvářet vlastní XML dokumenty, přečtěte si autorskou
kapitolu a kapitolu pro vývojáře.
|
Why should I use XML instead of HTML?
|
Proč mám používat XML místo HTML?
|
- Authors and providers can
design their own document types
using XML, instead of being stuck with HTML. Document types can be
explicitly tailored to an audience, so the cumbersome fudging that has
to take place with HTML to achieve
special effects should become a thing of the past: authors and designers
will be free to invent their own markup elements;
- Information content can be richer and easier to use,
because the
hypertext linking abilities of XML
are much greater than those of HTML.
- XML can provide more and better facilities for browser
presentation and performance;
- It removes many of the underlying complexities of SGML
in favor of a more flexible model, so writing programs to handle XML
will be much easier than doing the same for full SGML.
- Information will be more accessible and reusable,
because the more flexible markup of XML can be used by any XML software
instead of being restricted to specific manufacturers as has become the
case with HTML.
-
Valid
XML files are kosher SGML, so they can be used outside the Web as
well, in an SGML environment.
|
- Autoři a poskytovatelé služeb
vytvářejí vlastní typy dokumentů
s XML, místo aby zápasili s HTML. Typy dokumentů mohou být přizpůsobeny publiku, takže nepohodlné ohýbání HTML přes koleno k dosažení zvláštních efektů by mělo patřit minulosti. Autoři a návrháři si budou moci vytvořit vlastní značky.
- Informační obsah může být bohatší a snáye použitelný, protože
hypertextové schopnosti XML
jsou mnohem větší než HTML.
- XML poskytuje možnosti pro lepší presentaci a rychlost prohlížení v prohlížeči.
- Odstraňuje značnou část komplexity SGML a získává tak flexibilnější model, takže psaní aplikací pro XML je mnohem snažší než pro plnou SGML.
- Informace budou přístupnější a opakovatelně využitelné, protože přizpůsobivější formát XML může být využíván v jakémkoli XML programu, zatímco v HTML je autor omezen na nabídku jednotlivých výrobců.
-
Platné
XML soubory jsou platné SGML, takže mohou být použity mimo WWW, v prostředí SGML.
|
Where can I get an XML browser?
|
Kde mohu sehnat XML browser?
|
Remember the
XML specification is still new, so a
lot of what you see now is experimental. As with
HTML, there won't be just one
browser, but many. However, because the potential number of different
XML applications is not limited, no single browser can be expected to
handle 100% of everything. | Uvědomte si, že XML specifikace je ještě nová, takže většina z toho, co seženete je experimentální povahy. Stejně jako s
HTML, nebude existovat pouze jeden prohlížeč, ale bude jich mnoho. Jelikož ovšem potenciální množství XML aplikací je neomezené, nedá se očekávat, že by vznikl prohlížeč, který by zvládl naprosto vše. |
Some of the generic parts of XML
(eg
parsing, tree management, searching, formatting, etc)
are being combined into general-purpose browser libraries or toolkits to
make it easier for developers to
take a consistent line when writing XML applications. Such applications
can then be customized by adding semantics for specific markets, or
using languages like
Java
to develop plugins for generic browsers and have the specialist modules
delivered transparently over the Web. | Obecnější část XML, např. parsování, správa struktury, prohledávání, formátování, jsou začleňovány do obecně použitelných knihoven nebo nástrojů, aby vývojáři měli ulehčenou úlohu při psaní konsistentních XML aplikací. Tyto aplikace pak mohou být přizpůsobeny konkrétním podmínkám přidáním syntaxe nebo s použitím jazyků jako Java lze napsat pomocné programy pro běžné prohlížeče, které mohou být staženy z Internetu, často i bez povšimnutí koncového uživatele. |
-
MSIE5 handles XML but currently
still renders it via CSS, using a largely HTML-derived model, so not
all the stylesheet options work. Microsoft are also the architects of a hybrid
solution in which you can embed fragments of XML in HTML files because
current HTML-only browsers simply ignore element markup which they
don't recognize.
-
The publicly-released Netscape
code (Mozilla) has
resulted in a test XML implementation including an application of RDF
plus James Clark's expat
XML parser.
-
The authors of the MultiDoc
Pro SGML browser, CITEC, have joined forces with
Mozilla to produce a multi-everything browser called
DocZilla, which reads HTML, XML, and SGML,
with XSL and CSS stylesheets. This runs under NT and linux and is
currently Alpha. See http://www.doczilla.org for
details. This is early alpha, but is by far the most ambitious, and
the only one so far backed by solid SGML expertise.
|
-
MSIE5 rozumí XML, ale v současné době jej zobrazuje s pomocí CSS, a používá model odvozený od HTML, takž ne všechny možnosti pracují. Microsoft je také autorem hybridních řešení, ve kterých můžete zabalit XML fragmenty do HTML souborů, neboť současné HTML prohlížeče ignorují formátovací značky, kterým nerozumí.
-
Veřejně uvolněný kód Netscape
(Mozilla) obsahuje XML implementaci včetně aplikace RDF a expat Jamese Clarka.
-
Autoři MultiDoc Pro SGML prohlížeče, CITEC, spojili síly s
Mozillou při produkci prohlížeče pro všechno nazývaný
DocZilla, který rozumí HTML, XML, a SGML,
s XSL a CSS tabulkami stylů. Pracuje pod NT a Linuxe a je v
alpha stadiu. Viz http://www.doczilla.org pro podrobnosti.
Jedná se o projekt v ranném stadiu, ale má ze všech zdaleka největší ambice, a je založen na solidní znalosti SGML.
|
See also the notes on software for authors and developers, and the more detailed list on the
XML pages in the SGML Web site at http://www.oasis-open.org/cover/xml.html.
|
Konzultujte rovněž kapitolu pro autory a vývojáře, a podrobnější soupis na
XML stranách na http://www.oasis-open.org/cover/xml.html.
|
Do I have to switch from SGML or
HTML to XML?
|
Musím přejít od SGML a HTML na XML?
|
No, existing SGML
and
HTML applications software will
continue to work with existing files. But as with any enhanced facility,
if you want to view or download and use XML files, you will need to add
XML-aware software as it becomes available.
| Ne. Existující SGML
a HTML software bude dále pracovat s existujícími soubory. Ale stejnš jako s každým vylepšením, pokud budete chtít prohlížet nebo zpracovávat XML soubory, budete potřebovat XML software, až bude dostupný. |