svghmi/gen_index_xhtml.ysl2
branchsvghmi
changeset 2947 25f593573579
parent 2943 304e88bae115
child 3077 82312473d153
equal deleted inserted replaced
2946:76ebf973c47e 2947:25f593573579
     5 
     5 
     6 // helper to emit some content to internal namespaces
     6 // helper to emit some content to internal namespaces
     7 decl emit(*name) alias - {
     7 decl emit(*name) alias - {
     8     *name;
     8     *name;
     9     template *name {
     9     template *name {
       
    10         |
       
    11         | /* «local-name()» */
       
    12         |
    10         content;
    13         content;
       
    14         |
    11     }
    15     }
    12 };
    16 };
    13 
    17 
    14 istylesheet
    18 istylesheet
    15             /* From Inkscape */
    19             /* From Inkscape */
    54 
    58 
    55     template "/" {
    59     template "/" {
    56         comment > Made with SVGHMI. https://beremiz.org
    60         comment > Made with SVGHMI. https://beremiz.org
    57 
    61 
    58         // all debug output from included definitions, as comments
    62         // all debug output from included definitions, as comments
    59         foreach "document('')/*/debug:*" {
    63         comment apply "document('')/*/debug:*";
    60             comment {
       
    61                 | «local-name()» :
       
    62                 apply ".";
       
    63             }
       
    64         }
       
    65 
    64 
    66         html xmlns="http://www.w3.org/1999/xhtml"
    65         html xmlns="http://www.w3.org/1999/xhtml"
    67              xmlns:svg="http://www.w3.org/2000/svg"
    66              xmlns:svg="http://www.w3.org/2000/svg"
    68              xmlns:xlink="http://www.w3.org/1999/xlink" {
    67              xmlns:xlink="http://www.w3.org/1999/xlink" {
    69             head;
    68             head;