File: unicode.xml

package info (click to toggle)
xmlstarlet 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,412 kB
  • ctags: 656
  • sloc: sh: 4,735; ansic: 4,183; xml: 1,936; makefile: 70; awk: 43
file content (12 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (10)
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>