I have 20 forms which I am printing using XML and XSLT. Now I need a functionality where I can print these forms as blank. For example I have a "Name" field in my XML and a corresponding
<span>Name:</span>
<strong class="data">
<xsl:value-of disable-output-escaping="yes" select="Name" />
</strong>
I need 2 functionalities:
- I want to print the Name e.g.:
Name: John Doe
- I don't want to print the Name and let the user fill in e.g.:
Name:________
Depending on whether its a text box, text area, or check box, I want to add relative spaces. So, if it's a text area field I want to add a space equal to the field size so that the user can add information.
Does anybody have any idea how this can be implemented?
Thanks