![JAR search and dependency download from the Maven repository](/logo.png)
xml.xproc.java-library.xpl Maven / Gradle / Ivy
Returns a <c:result>
containing the absolute URI of the target. The step
fails if the file represented by href
does not exist or if it cannot be
copied to the specified target.
Returns a <c:result>
containing the absolute URI of the deleted file. The
step fails if the file does not exist or if it cannot be deleted.
Returns a <c:directory>
, <c:file>
, or
<c:other>
(implementations may also return more specific types,
e.g., <c:fifo>
or <c:dev>
). If the document doesn't
exist, an empty sequence is returned. The document element of the result, if there is
one, will have readable
, writable
, hidden
,
last-modified
, and size
attributes. The
readable
, writable
and hidden
attributes are
boolean and are only present if they are true. The last-modified
attribute
returns the last-modified time in UTC. The size
attribute returns the size
of the file; it is absent for directories and other types that have no meaningful
size.
Returns the first count lines of the file named in href
. If
count
is negative, the step returns all except those first lines. The
step returns a c:result
element containing one c:line
for each
line. Lines are identified as described in XML 1.0, 2.11 End-of-Line
Handling. If an error occurs, the step fails if fail-on-error
is
true; otherwise, the step returns a c:error
element which may contain
additional, implementation-defined information about the nature of the error.
Creates a directory with the name spacified in the "href" option. If the name includes
more than one directory component, all of the intermediate components are created. The
path separator is implementation-defined. Returns a <c:result>
containing the absolute filename of the directory created. The step fails if the
directory cannot be created.
Returns a <c:result>
containing the absolute URI of the target. The step
fails if the file represented by the href
does not exist or if it cannot be
copied to the specified target; the source file is deleted if the copy succeeds.
Returns the last count
lines of the file named in href
. If
count
is negative, the step returns all except those last lines. The
step returns a c:result
element containing one c:line
for each
line. Lines are identified as described in XML 1.0, 2.11 End-of-Line
Handling. If an error occurs, the step fails if fail-on-error
is
true; otherwise, the step returns a c:error
element which may contain
additional, implementation-defined information about the nature of the error.
Returns a <c:result>
containing the absolute URI of a temporary file. The
temporary file is guaranteed not to already exist when px:tempfile
is
called. The file is created in the directory specified by the href
. The
step fails if this directory does not exist. If href
is not specified then
the system-dependent default temporary-file directory will be used.
If the delete-on-exit
option (a boolean) is true, then the temporary file
will automatically be deleted when the processor terminates.
Returns a <c:result>
containing the absolute URI of the touched file. The
step fails if the file does not exist and cannot be created.
TODO