Skip to content

Commit

Permalink
use RNC
Browse files Browse the repository at this point in the history
  • Loading branch information
VishnuSanal committed Jul 21, 2024
1 parent 52c8372 commit 024c2d6
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions strings.rnc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
start =
element resources {
# element string {
# attribute name { xsd:NCName },
# attribute translatable { xsd:boolean }?,
# (
# xsd:string { minLength = "1" }
# )
# }+ |
element string {
attribute name { xsd:NCName },
attribute translatable { xsd:boolean }?,
(
( xsd:string { minLength = "1" } )
| element html {
element body {
(text
| element a {
attribute href { xsd:anyURI },
attribute target { xsd:NCName },
xsd:NCName
}
| element b { text }
| element font {
attribute color { text },
(text
| element i { text })+
})+
}
})+
}+
}


#attribute text {
# xsd:string { maxLength = "25" }
#}

0 comments on commit 024c2d6

Please sign in to comment.