Setoption
Prev
Next

Setoption

Set an option for execution of stylesheet

You will need to use run command to active changes

Table 3.38. Setoption usage

setoption <OPTION_NAME> <INTEGER_VALUE>
Where <OPTION_NAME> can be either

debug    (If <INTEGER_VALUE> is true dump the tree of the result instead)
catalogs    (If <INTEGER_VALUE> is true use the catalogs from $SGML_CATALOG_FILES or SGML$CatalogFiles for risc operating system)
html    (If <INTEGER_VALUE> is true the input document is an HTML file)
docbook    (If <INTEGER_VALUE> is true and docbook is still supported by libxml the input document is SGML docbook)
xinclude    (If <INTEGER_VALUE> is true do XInclude processing on document intput)
preferhtml    (If <INTEGER_VALUE> is true the prefer html output for search results. : See search command)
autoencode    (If <INTEGER_VALUE> is true try to use the encoding from the stylesheet)
utf8input    (If <INTEGER_VALUE> is true All input from user is in UTF-8.This is normaly used when xsldbg is running as a thread)
    
gdb    (Run in gdb compatability mode)

For a value of 1 this means

Print lots more messages. Increase the frequency of printing "Breapoint at ..."
At most GDB_LINES_TO_PRINT lines will be printed when evalating expressions, followed by a "...". See options.h to change this value, the default is three lines of text
Both local and globals will be printed when the "locals" command is issued
When printing expresssions with cat/print. The evaluated value will be prefixed by "= " < EXPRESSION >

 
For a value of 2 this means

Print messages needed by KDbg as well as the output state above (when value is 1)

nonet    (If <INTEGER_VALUE> is true refuse to fetch DTDs or entities over network)
novalid    (If <INTEGER_VALUE> is true skip the DTD loading phase)
repeat    (If <INTEGER_VALUE> is true run the transformation 20 times)
profile    (If <INTEGER_VALUE> is true dump profiling informations)
timing    (If <INTEGER_VALUE> is true display the time used)
noout    (If <INTEGER_VALUE> is true do not dump the result)

Where value is true if it is NOT equal to zero
Where value is false if it IS equal to zero
stdout    Print all error messages to stdout. Normally error messages go to stderr.
setoption <OPTION_NAME> "<STRING_VALUE>"    (Must not contain double quotation marks in <STRING_VALUE>)
setoption <OPTION_NAME> <STRING_VALUE>    (Must not contain any spaces, nor double quotation marks in <STRING_VALUE>)
Where <OPTION_NAME> can be either

data    (Data file's URI)
source    (Source file's URI)
output    (Output file's SystemID )
docspath    (Path to use when looking for documentation)
catalognames    (The names of the catalogs to use when the catalogs option is set. Value will be lost if set before setting catalogs option)
encoding    (What encoding to use for standard output)
searchresultspath    What path is to be used when storing the results of searching. If this is not set then xsldbg will use the path of the stylesheet

Prev
Next
Home


Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team