our simple xml:
first we declare an xsl variable like so:
then we write our html input like so:
resulting to a boring html input box with a default value of "hello xml world"...
recently discovered there's another way to do it via
if page/input_value doesnt exist it simply produces a blank input box. the default value is commonly used when validating a form and you want to retain the user inputted values but wanting to do some fancy label highlighting of the offending fields...
No comments:
Post a Comment