twig-1.0.xsd 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xsd:schema xmlns="http://www.symfony-project.org/schema/dic/twig"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. targetNamespace="http://www.symfony-project.org/schema/dic/twig"
  5. elementFormDefault="qualified">
  6. <xsd:element name="config" type="config" />
  7. <xsd:complexType name="config">
  8. <xsd:sequence>
  9. <xsd:element name="form" type="form" minOccurs="0" maxOccurs="1" />
  10. </xsd:sequence>
  11. <xsd:attribute name="charset" type="xsd:string" />
  12. <xsd:attribute name="debug" type="xsd:string" />
  13. <xsd:attribute name="cache" type="xsd:string" />
  14. <xsd:attribute name="strict-variables" type="xsd:string" />
  15. <xsd:attribute name="auto-reload" type="xsd:string" />
  16. <xsd:attribute name="base-template-class" type="xsd:string" />
  17. <xsd:attribute name="autoescape" type="xsd:string" />
  18. </xsd:complexType>
  19. <xsd:complexType name="form">
  20. <xsd:sequence>
  21. <xsd:element name="resource" type="xsd:string" minOccurs="1" maxOccurs="unbounded" />
  22. </xsd:sequence>
  23. </xsd:complexType>
  24. </xsd:schema>