]> git.sesse.net Git - xml-template/commitdiff
Update intro.txt for the new XML header that's needed for SAX.
authorsgunderson@bigfoot.com <>
Thu, 1 Mar 2007 18:28:27 +0000 (19:28 +0100)
committersgunderson@bigfoot.com <>
Thu, 1 Mar 2007 18:28:27 +0000 (19:28 +0100)
doc/intro.txt

index dccf7d97e3bcd08667d6c89abc293b815a747d62..218c754292ec3da12caf92756a0153af4a7ee3aa 100644 (file)
@@ -22,6 +22,7 @@ ports to other languages would be welcome.)
 
 Template (simple.xml):
 
+  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   <!DOCTYPE
     html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
@@ -47,6 +48,7 @@ Code (simple.pl):
 
 Result:
 
+  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     <head>
@@ -80,6 +82,7 @@ We move on to another useful operation, cloning.
 
 Template (clone.xml):
 
+  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   <!DOCTYPE
     html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
@@ -114,6 +117,7 @@ Code (clone.pl):
 
 Result:
 
+  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     <head>
@@ -166,6 +170,7 @@ we have a small hack:
 
 Template (clone.xml), repeated for your convenience:
 
+  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   <!DOCTYPE
     html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
@@ -200,6 +205,7 @@ Code (attribute.pl):
 
 Result:
 
+  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     <head>