Strona testowa

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur quam augue, vehicula quis, tincidunt vel, varius vitae, nulla. Sed convallis orci. Duis libero orci, pretium a, convallis quis, pellentesque a, dolor. Curabitur vitae nisi non dolor vestibulum consequat.

Level 1 Heading

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur quam augue, vehicula quis, tincidunt vel, varius vitae, nulla.

Level 2 Heading

Proin vestibulum. Ut ligula. Nullam sed dolor id odio volutpat pulvinar.

Level 3 Heading

Sed sodales lorem a ipsum suscipit gravida. Ut fringilla placerat arcu. Phasellus imperdiet.

An Unordered List

  • Vestibulum in mauris semper tortor interdum ultrices.
  • Sed vel lorem et justo laoreet bibendum. Donec dictum.
  • Etiam massa libero, lacinia at, commodo in, tincidunt a, purus.
  • Praesent volutpat eros quis enim blandit tincidunt.
  • Aenean eu libero nec lectus ultricies laoreet. Donec rutrum, nisi vel egestas ultrices, ipsum urna sagittis libero, vitae vestibulum dui dolor vel velit.

Quotes

Proin vestibulum. Ut ligula. Nullam sed dolor id odio volutpat pulvinar. Integer a leo. In et eros at neque pretium sagittis. Sed sodales lorem a ipsum suscipit gravida. Ut fringilla placerat arcu. Phasellus imperdiet. Mauris ac justo et turpis pharetra vulputate.

Custom Galleries

Custom galleries with lighbox in-built.

Syntax Highlight

Pre codes powered by Prism plugin.


<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title></title>
  <link rel="stylesheet" href="css/style.css">
</head>
<body>
  <header></header>
  <div role="main"></div>
  <footer></footer>
  <script src="js/script.js">
</body>
</html>

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #333333;
  background-color: #ffffff;
}

a {
  color: #0088cc;
  text-decoration: none;
}
    /**
     * Uzywa transformaty na podanym xml by wygenerowac bloki narracyjne sekcja1 dla Recepty
     * @param xml
     * @return
     */
    public String TransformWithNarracyjneBlokiSection1(String xml){
        try {
        Source xsl = new StreamSource(FILE_TRANSFORMATA_NARRACYJNE_BLOKI);
        Source src = new StreamSource(new StringReader(xml));
        StringWriter stringWriter = new StringWriter();

        TransformerFactory fact = TransformerFactory.newInstance();
        Transformer transformer = fact.newTransformer(xsl);

        transformer.transform(src, new StreamResult(stringWriter));

        Document doc = Jsoup.parse(stringWriter.toString(), "", Parser.xmlParser());
        doc.outputSettings().indentAmount(0).prettyPrint(false);
        //tak mozna edytowac
        //doc.select("#p1_edytuj_mocLeku").get(0).text("1");
        String result = doc.select("section").get(0).html();

        return result;
        } catch (TransformerException e) {
            e.printStackTrace();
        }
        return null;
    }