=====================================

<?xml version="1.0" encoding="ISO-8859-2"?>
<mapa>
     <punktPocztkowy>
          <ulica>Cyprysowa</ulica>
          <skrzyowanie />
          <miasto>d</miasto>
          <kodPocztowy>91-402</kodPocztowy>
     </punktPocztkowy>
     <cel>
         <ulica>Zagajnikowa</ulica>
         <skrzyowanie />
         <miasto>d</miasto>
         <kodPocztowy>91-415</kodPocztowy>
      </cel>
      <wskazwki>
           <krok>
           <start kierunek="Poudnie"/>
           <ulica>Zgierska</ulica>
           <opis>Jed na poudnie w kierunku alei Sikorskiego</opis>
           </krok>
           <krok>
           <ulica>Sikorskiego</ulica>
           <opis>Skr w lewo w ulic Sikorskiego</opis>
           </krok>           
           <krok>
           <ulica>agiewnicka</ulica>
           <opis>Jed prosto, aleja Sikorskiego przejdzie w alej agiewnick</opis>
           </krok>
           <krok>
           <ulica>Inflancka</ulica>
           <opis>Skr w lewo w ulic Inflanck</opis>
           </krok>
        </wskazwki>
</mapa>

=====================================

/mapa/wskazwki[1]/krok[1]/ulica[1]

=====================================

child::*

=====================================

<zy>Zy dokument</zy>

=====================================

<dobry>Dobry dokument</dobry>

=====================================

<html>
<head>
</head>
<body>
Zy dokument
</body>
</html>

=====================================

<?xml-stylesheet type="text/xsl" href="foo.xsl"?>

=====================================

xsl:output
 name = qname
 method = "xml" | "html" | "text"
 version = nmtoken
 encoding = string
 omit-xml-declaration = "yes" | "no"
 standalone = "yes" | "no"
 doctype-public = string
 doctype-system = string
 cdata-section-elements = qnames
 indent = "yes" | "no"
 media-type = string

=====================================

<?xml version="1.0" encoding="ISO-8859-2"?>
<xsl:stylesheet>
</xsl:stylesheet>

=====================================

xmlns="http://wykwintnekostiumy.magia.com"

=====================================

<?xml version="1.0" encoding="ISO-8859-2"?>
<xsl:stylesheet xmlns:xsl="http://wykwintnekostiumy.magia.com">
     <xsl:kostium typ="jedwab" kolor="karmazynowy">
       <xsl:symbolmateriau>57754</xsl:symbolmateriau>
     </xsl:kostium>
</xsl:stylesheet>

=====================================

http://www.w3.org/1999/XSL/Transform

=====================================

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

=====================================

<foo:stylesheet xmlns:foo="http://www.w3.org/1999/XSL/Transform">

=====================================

http://www.w3.org/1999/XSL/Transform

=====================================

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
</xsl:stylesheet>

=====================================

<?xml version="1.0" encoding="ISO-8859-2"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
  <!-- lub inny wybrany typ dokumentu wyjciowego -->
     <xsl:template match="/">
         <!-- odszukuje gwn ga drzewa strukturalnego dokumentu XML -->
<html>
     <head>
     <title>Mj pierwszy dokument XSLT</title>
</head>
    <body>
    Wskazwki dojazdu do:
      <xsl:value-of select="mapa/punktPocztkowy/ulica" />
    </body>
</html>
       </xsl:template>
</xsl:stylesheet>

=====================================

<?xml-stylesheet type="text/xsl" href="L3202.xsl" ?>

=====================================

<BSR>
   <CZASOWNIK value="PRZETWARZANIE">PRZETWARZANIE</CZASOWNIK>
   <RZECZOWNIK value="FAKTURA">FAKTURA</RZECZOWNIK>
   <WERSJA value="002">002</WERSJA>
</BSR>

=====================================

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:template match="/">
      Magiczne kostiumy dla ludzi magii
   </xsl:template>
</xsl:stylesheet>

=====================================

<xsl:template match="/">
</xsl:template>

=====================================

<?xml version="1.0" encoding="ISO-8859-2"?>
<?xml-stylesheet type="text/xsl" href="L3204.xsl" ?>
<produkty>
     <produkt>
                   <nazwa>Kawa</nazwa>
                   <data>21.01.2003</data>
     </produkt>
     <produkt>
                   <nazwa>Herbata</nazwa>
                   <data>21.02.2003</data>
     </produkt>
     <produkt>
                   <nazwa>Woda mineralna</nazwa>
                   <data>15.02.2003</data>
     </produkt>
   <uzupenienia>    
      <uzupenienie>
                   <nazwa>Woda mineralna</nazwa>
                   <cena>1,99</cena>
                   <data>15.10.2004</data>
      </uzupenienie>
      <uzupenienie>
                   <nazwa>Herbata</nazwa>
                   <cena>2,99</cena>
                   <data>15.06.2004</data>
      </uzupenienie>
      <uzupenienie>
                   <nazwa>Kawa</nazwa>
                   <cena>5,99</cena>
                   <data>15.05.2004</data>
      </uzupenienie>
   </uzupenienia>
</produkty>

=====================================

<?xml version="1.0" encoding="ISO-8859-2"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="4.0" encoding="ISO-8859-2" indent="yes"/>
     <xsl:template match="/">
          <html>
               <head>
                      <title>Przenoszenie elementw</title>
              </head>
             <body>
                 <xsl:apply-templates select="produkty/uzupenienia/uzupenienie/data"/>
           </body>
           </html>
     </xsl:template>
     <xsl:template match="data">
        <p>
               <xsl:value-of select="."/>
        </p>
     </xsl:template>
</xsl:stylesheet>

=====================================

<html>
<head>
<META http-equiv="Content-Type" content="text/html"; charset=ISO-8859-2">
<title> Przenoszenie elementw</title>
</head>
<body>
<p>15.10.2004</p>
<p>15.06.2004</p>
<p>15.05.2004</p>
</body>
</html>

=====================================

<br />

=====================================

<xsl:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" 
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" method="html" version="4.0" 
encoding="ISO-8859-2" indent="yes"/>

=====================================

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html>
...
</html>

=====================================

xmlns="http://www.w3.org/1999/xhtml"

=====================================

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" 
doctype-public="-//W3C//DTD XHTML 1.0
Transitional//EN" method="html" version="4.0" encoding="ISO-8859-2" indent="yes"/>
     <xsl:template match="/">
           <html>
                 <head>
                       <title>Przenoszenie elementw</title>
                 </head>
                 <body>
                       <xsl:apply-templates 
select="produkty/uzupenienia/uzupenienie/data"/>
                 </body>
           </html>
     </xsl:template>
     <xsl:template match="data">
           <p>
                 <xsl:value-of select="."/>
           </p>
     </xsl:template>
</xsl:stylesheet>
