File: unicode.xml

package info (click to toggle)
xmlstarlet 1.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,460 kB
  • ctags: 664
  • sloc: sh: 4,735; ansic: 4,183; xml: 1,936; makefile: 64; awk: 43
file content (12 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE doc [ 
 <!ELEMENT doc (test+)> 
 <!ELEMENT test (#PCDATA)> 
 <!ENTITY ccedil "&#231;"> 
 <!ATTLIST test lang CDATA #IMPLIED> 
]> 
<doc> 
 <test lang="français">UTF-8 character.</test> 
 <test lang="fran&#231;ais">numeric ref.</test> 
 <test lang="fran&ccedil;ais">entity ref.</test> 
</doc>