summaryrefslogtreecommitdiff
path: root/tests/LocNote/EX-locNoteRefPointer-attribute-1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/LocNote/EX-locNoteRefPointer-attribute-1.xml')
-rw-r--r--tests/LocNote/EX-locNoteRefPointer-attribute-1.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/LocNote/EX-locNoteRefPointer-attribute-1.xml b/tests/LocNote/EX-locNoteRefPointer-attribute-1.xml
new file mode 100644
index 0000000..8039812
--- /dev/null
+++ b/tests/LocNote/EX-locNoteRefPointer-attribute-1.xml
@@ -0,0 +1,16 @@
+<dataFile>
+ <prolog>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:locNoteRule locNoteType="description" selector="//body/string/data"
+ locNoteRefPointer="../@noteFile" />
+ </its:rules>
+ </prolog>
+ <body>
+ <string id="FileNotFound" noteFile="Comments.html#FileNotFound">
+ <data>Cannot find the file {0}.</data>
+ </string>
+ <string id="DivByZero" noteFile="Comments.html#DivByZero">
+ <data>Invalid parameter.</data>
+ </string>
+ </body>
+</dataFile>