Age | Commit message (Collapse) | Author |
|
|
|
Nested field handling works now.
|
|
Move this logic to a named function.
Adjust the names of the other string building functions to be more
consistent now that I have this one which does something similar but at
a different level.
|
|
It occurred to me that this is Lisp, and we don't really need to
abbreviate things.
|
|
|
|
|
|
|
|
Trying to reduce the size of the `field-xfdf*` function.
|
|
|
|
The traversal and field XML function works now.
|
|
|
|
This now prints nested form fields correctly.
* Needed a separate string format for the container field.
* Had to use `consp`, otherwise `nil` checkbox values wouldn't be
recognised and a corresponding `<value/>` line wouldn't be printed.
* Needed to add a missing nested field to the test's expected value.
|
|
Making progress printing nested form fields. Now we print the innermost
fields, but aren't printing the container fields.
|
|
This isn't working yet. I'm working out how to set up the recursion to
print fields hierarchically.
|
|
Ideas for an implementation change to allow writing XFDFs with nested
fields.
|
|
|
|
Write `<field>` elements to the XFDF XML based on the cons cells in the
`fields` input list.
Change true and nil values to the FDF/XFDF checkbox value format of
"Yes" and "Off".
Also decided to use lowercase `t` to match the case of `nil`. Not sure
if that makes sense.
|
|
Write a test for the `write-xfdf` function.
Worked out how to create the test system from:
- https://lispcookbook.github.io/cl-cookbook/testing.html
- https://github.com/sjl/cl-digraph/blob/master/cl-digraph.test.asd
- https://github.com/fukamachi/dexador/blob/master/dexador-test.asd
Add the test string to the `write-xfdf` function to pass the test and
check that the test runner is set up correctly.
|
|
The library should, given a list of cons cells, generate XFDF data based
on those keys and values.
|