| Date | The date when this rule was last updated | |
| Attributes: | Global attributes only | |
| Declaration |
element Date { xsd:date } |
|
| Module | ||
| Declaration | An ITS declaration | |||||||||
| Declaration |
element Declaration
{
## Locate the context of this rule
attribute selector { text },
Rule+
} |
|||||||||
| Attributes |
|
|||||||||
| Example |
<p>
<Declaration xmlns="http://w3c.org/ns/its" selector="@n">
<Rule localize="translate(1)"/>
<Rule equivalence="foo"/>
</Declaration>
...
</p> |
|||||||||
| Module | ||||||||||
| Declarations | A set of ITS declarations | |
| Attributes: | Global attributes only | |
| Declaration |
element Declarations { Declaration+ } |
|
| Example |
<its:Declarations>
<its:Declaration selector="//p">
<its:Rule its:localize="translate(0)"/>
</its:Declaration>
</its:Declarations> |
|
| Module | ||
| Name | The name of the person who last updated this rule | |
| Attributes: | Global attributes only | |
| Declaration |
element Name { text } |
|
| Module | ||
| Rule | An ITS rule | ||||||||||||||||||||||||||||
| Declaration |
element Rule
{
## How this element should be localized
attribute its:localize
{
token { pattern = "translate\([0-9]+\.?[0-9]*\)" }
}?,
## An equivalence for this context
attribute its:equivalence { text }?,
## A constraint for the localization of this context
attribute its:constrain { text }?,
( Name?, Date? )
} |
||||||||||||||||||||||||||||
| Attributes |
|
||||||||||||||||||||||||||||
| Example | <its:Rule its:localize="translate(1)"> <Name>Christian</Name> <Date>2005-09-19</Date> </its:Rule> |
||||||||||||||||||||||||||||
| Module | |||||||||||||||||||||||||||||