Use of xslt:output attributes in submission

In the submission element  
(http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_submission_Element_2)  
we use a number of attributes for XML serialization that we took from the  
output element of XSLT 1.0 (we use all except doctype-public and  
doctype-system). This is just a heads up that XSLT 2.0 added some more,  
that we may want to decide on one way or the other.

XSLT 1.0:
http://www.w3.org/TR/1999/REC-xslt-19991116#output
<xsl:output
-  method = "xml" | "html" | "text" | qname-but-not-ncname
    version = nmtoken
    encoding = string
    omit-xml-declaration = "yes" | "no"
    standalone = "yes" | "no"
-  doctype-public = string
-  doctype-system = string
    cdata-section-elements = qnames
    indent = "yes" | "no"
    media-type = string />

XSLT 2.0:
http://www.w3.org/TR/xslt20/#element-output
  <xsl:output
+  name? = qname
-  method? = "xml" | "html" | "xhtml" | "text" | qname-but-not-ncname
+  byte-order-mark? = "yes" | "no"
    cdata-section-elements? = qnames
-  doctype-public? = string
-  doctype-system? = string
    encoding? = string
+  escape-uri-attributes? = "yes" | "no"
+  include-content-type? = "yes" | "no"
    indent? = "yes" | "no"
    media-type? = string
+  normalization-form? = "NFC" | "NFD" | "NFKC" | "NFKD" |  
"fully-normalized" | "none" | nmtoken
    omit-xml-declaration? = "yes" | "no"
    standalone? = "yes" | "no" | "omit"
+  undeclare-prefixes? = "yes" | "no"
+  use-character-maps? = qnames
    version? = nmtoken />

Steven

Received on Friday, 2 December 2011 10:28:28 UTC