plugins/org.w3c.css/bin/org/w3c/css/css/xml.properties
changeset 476 20536eb3b9ff
parent 475 77edd0cbdfe0
child 477 b616697678bf
equal deleted inserted replaced
475:77edd0cbdfe0 476:20536eb3b9ff
     1 <?xml version="1.0" encoding="$charset"?>
       
     2 <!DOCTYPE xml-css>
       
     3 <xml-css>
       
     4 <!-- file : $file_title -->
       
     5 <!-- 
       
     6 It is an XML test and may be updated, replaced or obsoleted by other
       
     7 documents at any time.
       
     8 It is inappropriate to use W3C Working Drafts as reference material or to
       
     9 cite them as other than "work in progress".
       
    10 -->
       
    11 
       
    12 #if ( $rules_count > 0 )
       
    13     #if ($style_charset)
       
    14 
       
    15     <vCharset>@charset</vCharset>
       
    16     #end
       
    17 
       
    18     #foreach ( $rules in $at_rules_list )
       
    19         #if ( $rules.AtRule != "" )
       
    20 
       
    21     <atRule>
       
    22         <atSelector>$rules.AtRule</atSelector>
       
    23         #elseif ( !$rules.Empty )
       
    24 
       
    25     <noAtRule>
       
    26         #end
       
    27         #foreach ( $rule in $rules.StyleRules )
       
    28 
       
    29         <selector>
       
    30             <selectorValue>$rule.Selectors</selectorValue>
       
    31             <RuleList>
       
    32             #foreach ( $property in $rule.Properties )
       
    33 
       
    34                 <rule>
       
    35                     <selector type="$element"
       
    36                               id="$id"
       
    37                               class="$class"
       
    38                               pseudo-class="$pseudo-class"
       
    39                               pseudo-element="$pseudo-element" />
       
    40             		<declaration property="$property.PropertyName"
       
    41                                  value="$property"
       
    42 			                     #if ( $property.Important ) true #end />
       
    43                 </rule>
       
    44             #end
       
    45 
       
    46             </RuleList>
       
    47         </selector>
       
    48         #end
       
    49         #if ( $rules.AtRule != "" )
       
    50 
       
    51     </atRule>
       
    52         #elseif ( !$rules.Empty )
       
    53 
       
    54     </noAtRule>
       
    55         #end
       
    56     #end
       
    57 #else
       
    58     $CSS_not_found
       
    59 #end
       
    60 </xml-css>
       
    61