allowedcharacters4html.html (650B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>Example</title> 6 <script type="application/its+xml"> 7 <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> 8 <its:param name="acParam">name</its:param> 9 <its:allowedCharactersRule allowedCharacters="[a-zA-Z_\-]" selector="//h:code[@id=$acParam]"/> 10 </its:rules> 11 </script> 12 </head> 13 <body> 14 <p>Login names can only use letters from A to Z (upper or lowercase) 15 and the character underscore (_) and minus (-). 16 For example: <code id="name">Huck_Finn</code>.</p> 17 </body> 18 </html>