Attributes | Values |
---|
type
| |
Title
| - Encodings in HTTP, XML XSL-T
|
content
| -
Treatment of the <?xml > notation
Each external parsed entity may begin with a text declaration:
<?xml versioninfo encoding_declaration >
Each external parsed entity in an XML document may use a different encoding for its characters.
The encoding declaration instructs the XML parser which encoding to use to parse the entity.
encoding="encoding name"
The xsl:output element's options
The xml output method outputs the result tree as a well-formed XML external general parsed entity.
The html output method outputs the result tree as HTML.
The text output method outputs the result tree by outputting the string-value of every text node in the
result tree in document order without any escaping.
Parsing the XML documents with specified encoding
If the encoding is specified in the XML document (in xml header), it is used.
If not in the document, but in "default encoding" argument, then the argument's value is used.
If no argument, the session should be used only for HTML, but for XMLs the standard requires UTF-8.
So when a tree comes from xslt the xsl:output is reflected there for use when serializing.
Examples
The example in the SQL script demonstrates using the encodings and languages with free-text search over indexed data.
The first example accepts text from the user and maps this to any selected encoding and returns the text in another encoding. The selection box of input and output encodings is used to transfer the narrow character data.
The second example sends the text of the XS-S-1 data to the user agent in a selectable encoding, using an XSL-T transformation.
The last example shows how the text can be effected by the HTTP 'Content-Type' header defining the charset.
In this example current charset is set with 'set charset=...' statement. This invokes sending a 'charset' mime attribute to the user-agent.
|
has container
| |
description
| - Encodings in HTTP, XML XSL-T
|
dcterms:created_at
| - Fri, 27 Dec 2019 14:12:55 GMT
|
content:encoded
| -
Treatment of the <?xml > notation
Each external parsed entity may begin with a text declaration:
<?xml versioninfo encoding_declaration >
Each external parsed entity in an XML document may use a different encoding for its characters.
The encoding declaration instructs the XML parser which encoding to use to parse the entity.
encoding="encoding name"
The xsl:output element's options
The xml output method outputs the result tree as a well-formed XML external general parsed entity.
The html output method outputs the result tree as HTML.
The text output method outputs the result tree by outputting the string-value of every text node in the
result tree in document order without any escaping.
Parsing the XML documents with specified encoding
If the encoding is specified in the XML document (in xml header), it is used.
If not in the document, but in "default encoding" argument, then the argument's value is used.
If no argument, the session should be used only for HTML, but for XMLs the standard requires UTF-8.
So when a tree comes from xslt the xsl:output is reflected there for use when serializing.
Examples
The example in the SQL script demonstrates using the encodings and languages with free-text search over indexed data.
The first example accepts text from the user and maps this to any selected encoding and returns the text in another encoding. The selection box of input and output encodings is used to transfer the narrow character data.
The second example sends the text of the XS-S-1 data to the user agent in a selectable encoding, using an XSL-T transformation.
The last example shows how the text can be effected by the HTTP 'Content-Type' header defining the charset.
In this example current charset is set with 'set charset=...' statement. This invokes sending a 'charset' mime attribute to the user-agent.
|
is container of
of | |