Skip to content

Instantly share code, notes, and snippets.

View lvbreda's full-sized avatar

Lander Van Breda lvbreda

  • Youbba, myself
  • Belgium
View GitHub Profile
@lvbreda
lvbreda / gist:3182189
Created July 26, 2012 13:58
XML parser
function parseXml(xml)
{
$("#info").html('');
//print each tutorial title followed by their categories
$(xml).find("faktura").each(function()
{
var daty = $("</div").addClass("daty");
daty.append('<p class="daty">Wystawiono: ' + $(this).find("wyst").text() + "</p>");
daty.append('<p class="daty">Sprzedano: ' + $(this).find("sprz").text() + "</p>");
<head>
<title>qrcode</title>
</head>
<body>
{{> qrcode}}
{{> image}}
</body>