New XML Document Creation Scheme Reference

This chapter describes the summary and URL for new XML document creation.

1. Overview

Provides an overview of new XML document creation.

1.1. Features and Usage

The URL scheme for a new XML document creation is used to offer the new document template's reference other than a link between regular files. This scheme is called a new scheme.

2. New scheme

The new scheme is the original URL scheme provided by xfy technology user agent in order to create a new XML document.

2.1. Syntax

The format of the new scheme is as follows:

new-scheme = "new:" <template-file-path> ( "!?" | "!/?" ) <new-scheme-query>
new:
Indicates the URL is described using the new scheme.
<template-file-path>
Indicates the file path to load as the XML document's template. Describes a path, an http URL, a file using the URL written by a scheme other than the new scheme. Both an absolute URL and a relative URL are available. If a relative URL is specified, it is referenced as a relative position from the new directory in the xfy technology user agent installation directory.
"!?", or "!/?"
Delimiter string that delimits the file path of loading as the XML document's template and the additional information. Using either delimiter string allows you to operate correctly during VCD operation, but strictly speaking, the delimiter string to use may vary according to whether the URL described in the <template-file-path> will point a file or a directory. If the URL points a file, use "!?" as the delimiter string. If directory is pointed, use "!/?" as the delimiter string.
<new-scheme-query>
Describe additional information for the new scheme. Multiple information may be described as additional information. The information may be omitted if there is no information to describe. One additional piece of information needs to be described using a pair of query-key and query-value as follows:
query-key "=[" query-value "];"
The key name which can be described in the query-key and the value to be set in the query-value are as follows:
save-url
Specify the default location when a newly created XML document is stored. Specify the default location with a URL. Both an absolute URL and a relative URL are available. If a relative URL is specified, it is treated as a relative position from the userDoc directory in the xfy technology user agent installation directory.
creator
Specify the location of the XML document fragment that is used as the document template. Describes values with the following string:
#default
Use the XML document that is specified in <template-file-path> as the template for a new XML document.
xvcd
Specify the XVCD file in <template-file-path>, and then use the partial XML document fragment as a new document. For the XML document fragment you want to use, specify with name key.
name
Specify the partial XML document fragment you use when xvcd is specified to the value of the creator key. As with the value, specify the name assigned within the name attribute of the xvcd:document-template element described in the file.