File: unicode.xml

package info (click to toggle)
xmlstarlet 1.6.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,656 kB
  • sloc: sh: 4,735; ansic: 4,187; xml: 1,936; makefile: 66; 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>