vars.rnc 675 B

1234567891011121314151617181920212223242526272829303132
  1. # This file is part of the DITA Open Toolkit project.
  2. #
  3. # Copyright 2011 Jarno Elovirta
  4. #
  5. # See the accompanying LICENSE file for applicable license.
  6. default namespace = "http://www.idiominc.com/opentopic/vars"
  7. vars =
  8. ## Static string variables
  9. element vars {
  10. variable*
  11. }
  12. param =
  13. ## Parameter reference
  14. element param {
  15. ## Parameter name
  16. attribute ref-name { text }
  17. }
  18. variable =
  19. # Static string variable
  20. element variable {
  21. ## Variable name
  22. attribute id { text },
  23. mixed { (variable-ref | param)* }
  24. }
  25. variable-ref =
  26. ## Variable reference
  27. element variable {
  28. ## Variable reference name
  29. attribute id { text }
  30. }
  31. start = vars