1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4 <xsl:output method="html" indent="yes" />
6 <xsl:template match="form">
9 <title>Create your GNU Name System Business Card</title>
10 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
11 <link href="bootstrap.min.css" rel="stylesheet" />
14 <!--<script src="js/jquery-2.0.3.min.js"></script>-->
15 <!--<script src="js/bootstrap.min.js"></script>-->
16 <div class="container">
17 <h1>GNU Name System Business Card</h1>
19 Please fill in the information below to generate your business card.
21 <form class="form-horizontal" name="gnsinput" action="submit.pdf" method="get" accept-charset="utf-8">
22 <xsl:apply-templates />
23 <div class="form-group">
24 <div class="col-sm-offset-2 col-sm-10">
25 <input class="btn btn-submit" type="submit" />
34 <xsl:template match="group">
36 <legend><!--<xsl:value-of select="@title" />--></legend>
37 <xsl:apply-templates />
41 <xsl:template match="field">
42 <div class="form-group">
43 <label class="col-sm-2 control-label" for="{@id}"><xsl:value-of select="." />:</label>
44 <div class="col-sm-10">
45 <input class="col-sm-10 form-control" id="{@id}" name="{@id}" type="text" />