>b's YML 2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
439 B

3 years ago
  1. include yslt.yml2
  2. tstylesheet {
  3. template "/list" {
  4. apply "address", 0;
  5. | 1000 FOR I=1 TO 2 STEP 1
  6. | 1010 READ NAME$, STREET$, VILLAGE$
  7. | 1020 PRINT "INSERT INTO address (name, street, village) VALUES ('" + NAME$ + "', '" + STREET$ + "', '" + VILLAGE$ + "');"
  8. | 1030 NEXT I
  9. }
  10. template "address" {
  11. | «position() * 10 + 100» DATA "«name»", "«street»", "«village»"
  12. }
  13. }