slide 22
Copyright © 2005 W3C (MIT, ERCIM, Keio)
Global use
Ways to use ITS
< its:rules ... its:version="1.0" >
< its:translateRule selector="//uitext" translate="no" /> </ its:rules >
< para >
Press the
< uitext > START </ uitext >
button to sound the horn. The
< uitext > MAKE-READY/ RUN </ uitext >
indicator flashes.
</ para >
Go to previous slide Go to next slide Go to the first slide Go to the slide index Go to the PDF version
Slide 22 of 50
There is another way of applying this data category to the uitext elements, without using local markup. You can define global rules using elements and attributes defined in ITS. These elements and attributes would typically appear before the body of your content, though this is not required. They could appear anywhere your schema allows.
The example above shows a rule that selects all uitext elements in the document, using an XPath expression, and applies the value of 'no' to them. A processor reading this file that is ITS aware would then able to apply that rule to the content of the document.
"