diff --git a/www/documentation/generated.html b/www/documentation/generated.html
index 3789ca3..2086208 100644
--- a/www/documentation/generated.html
+++ b/www/documentation/generated.html
@@ -84,7 +84,7 @@
The Assertions or scenarios with the The The script element can be used insted of the
diff --git a/www/documentation/index.html b/www/documentation/index.html
index ba81009..b805d54 100644
--- a/www/documentation/index.html
+++ b/www/documentation/index.html
@@ -187,7 +187,7 @@ The Assertions or scenarios with the Definitions
The
description
element
+import
*scenario
*pending
*pending
?script
version
?The
description
elementscript
?import
*scenario
*pending
*pending
?script
?version
?description
element is the root element of an xprocspec test and describes the functionality of a specific XProc script.pending
attribute will remain untested, but will be
@@ -95,6 +95,18 @@ The
description
elementversion
attribute can be used to aid development over time.The
script
element
+declare-step
?pipeline
?library
?script
attribute.
+ It allows you to inline the XProc script to test.
+ The base URI of the script is the same as the containing xprocspec document,
+ unless otherwise specified using xml:base
. One of the p:declare-step
,
+ p:pipeline
or p:library
elements must be used.The
import
elementhref
xprocspec
A tool for testing XProc scripts
- Unofficial Draft
+ Unofficial Draft
@@ -233,12 +233,12 @@
Table of Contents
Table of Contents
1. Definitions
1.1 The
description
element
+import
*scenario
*pending
*pending
?script
version
?1.1 The
description
elementscript
?import
*scenario
*pending
*pending
?script
?version
?description
element is the root element of an xprocspec test and describes the functionality of a specific XProc script.pending
attribute will remain untested, but will be
@@ -249,8 +249,20 @@ The
version
attribute can be used to aid development over time.
script
elementdeclare-step
?pipeline
?library
?The script element can be used insted of the script
attribute.
+ It allows you to inline the XProc script to test.
+ The base URI of the script is the same as the containing xprocspec document,
+ unless otherwise specified using xml:base
. One of the p:declare-step
,
+ p:pipeline
or p:library
elements must be used.
import
elementhref
import
elementhref
An import runs the xprocspec description in the referenced file. It has no effect on the scenarios in the current document, but can be a useful method @@ -263,7 +275,7 @@
scenario
elementcall
?scenario
*pending
*context
*expect
*focus
?label
scenario
elementcall
?scenario
*pending
*context
*expect
*focus
?label
A scenario groups together the definition of the script environment
(the call
element) and the script assertions (the context
and
@@ -282,7 +294,7 @@
call
elementinput
*option
*param
*step
?call
elementinput
*option
*param
*step
?
A call
element defines a step call and the
inputs, options and parameters passed to it.
@@ -298,7 +310,7 @@
pending
elementscenario
*pending
*label
?pending
elementscenario
*pending
*label
?TODO: the element pending
has not been documented yet.
The label
attribute is used to describe the current element in human-readable words.
context
elementdocument
*label
?pending
?context
elementdocument
*label
?pending
?Defines the context against which assertions are made.
The label
attribute is used to describe the current element in human-readable words.
expect
elementdocument
*equals
?focus
?grammar
?href
?label
?max
?min
?normalize-space
?pending
?step
?test
?type
?expect
elementdocument
*equals
?focus
?grammar
?href
?label
?max
?min
?normalize-space
?pending
?step
?test
?type
?Defines what is expected from the context document(s).
@@ -396,14 +408,14 @@input
elementdocument
*port
?input
elementdocument
*port
?The input element is used to provide documents on the input ports of the XProc step you are testing.
option
elementname
?select
?option
elementname
?select
?The option element is used to provide values to XProc options on the XProc step you are testing.
The name
attribute is the name of the option used in the XProc step.
param
elementname
?select
?param
elementname
?select
?The param element is used to provide values to XProc paramaters on the XProc step you are testing.
The name
attribute is the name of the parameter to be provided on the XProc steps primary parameter input
@@ -439,7 +451,7 @@
document
elementbase-uri
?href
?method
?port
?position
?recursive
?select
?type
?document
elementbase-uri
?href
?method
?port
?position
?recursive
?select
?type
?The document
element is used to define which documents are provided on a steps input ports, what the context is when making assertions, and for assertions when making comparisons
or performing validations. It can be used in a number of ways:
The script element can be used insted of the script
attribute.
+ It allows you to inline the XProc script to test.
+ The base URI of the script is the same as the containing xprocspec document,
+ unless otherwise specified using `xml:base`. One of the p:declare-step
,
+ p:pipeline
or p:library
elements must be used.