| DescriptionSablotron introduces an URI scheme 'arg:' which enables one to use 
strings and parsed trees in named memory buffers. Named buffers are 
can be set usingSablotAddArgBufferorSablotAddArgTreefunctions. The content of buffers can be accessed with thedocument()function orxsl:include/importinstructions
(e.g. document('arg:/my_buffer')/root).
The buffer names 
can have a tree-like structure so that a relative reference from a 
document in a buffer can be resolved as pointing to another buffer.
 
For instance, if we invoke Sablotron specifying that a buffer named 
/mybuf/1contains the string "<a>contents</a>", 
then the expressiondocument('arg:/mybuf/1')/ahas string-value"contents". If the document inarg:/mybuf/1contained 
a relative URI reference"../theirbuf/2"then this would be 
resolved as pointing to"arg:/theirbuf/2". |