JavaProperties

From ITS
Jump to: navigation, search

ITS Rules for Java XML Proprties

This page provides an example of default rules ITS for Java XML Properties files. The description of the format can be found at: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html.

<?xml version="1.0" encoding="UTF-8"?>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"
 xmlns:itsx="http://www.w3.org/2008/12/its-extensions">
 <its:translateRule selector="/properties" translate="no"/>
 <its:translateRule selector="//entry" itsx:idValue="@key" translate="yes"/>
</its:rules>