W3C home > Mailing lists > Public > public-forms@w3.org > December 2011

Use of xslt:output attributes in submission

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Fri, 02 Dec 2011 11:27:52 +0100
To: "Forms WG" <public-forms@w3.org>
Message-ID: <op.v5ux0qfbsmjzpq@steven-750g>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:56 UTC