Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xslt_setopt(3) [php man page]

XSLT_SETOPT(3)								 1							    XSLT_SETOPT(3)

xslt_setopt - Set options on a given XSLT processor

SYNOPSIS
mixed xslt_setopt (resource $processor, int $newmask) DESCRIPTION
xslt_setopt(3) sets the options specified by $newmask on the given $processor. PARAMETERS
o $ processor -The XSLT processor link identifier, created with xslt_create(3). o $newmask -$newmask is a bitmask constructed with the following constants: o XSLT_SABOPT_PARSE_PUBLIC_ENTITIES - Tell the processor to parse public entities. By default this has been turned off. o XSLT_SABOPT_DISABLE_ADDING_META - Do not add the meta tag "Content-Type" for HTML output. The default is set during the compilation of the processor. o XSLT_SABOPT_DISABLE_STRIPPING - Suppress the whitespace stripping (on data files only). o XSLT_SABOPT_IGNORE_DOC_NOT_FOUND - Consider unresolved documents (the document() function) non-lethal. RETURN VALUES
Returns the number of previous mask is possible, TRUE otherwise, FALSE in case of an error. EXAMPLES
Example #1 xslt_setopt(3) Example <?php $xh = xslt_create(); // Tell Sablotron to process public entities xslt_setopt($xh, XSLT_SABOPT_PARSE_PUBLIC_ENTITIES); // Let's also ask it to suppress whitespace stripping xslt_setopt($xh, xslt_getopt($xh) | XSLT_SABOPT_DISABLE_STRIPPING); ?> SEE ALSO
xslt_getopt(3). PHP Documentation Group XSLT_SETOPT(3)

Check Out this Related Man Page

XSLT_SET_LOG(3) 							 1							   XSLT_SET_LOG(3)

xslt_set_log - Set the log file to write log messages to

SYNOPSIS
void xslt_set_log (resource $xh, [mixed $log]) DESCRIPTION
This function allows you to set the file in which you want XSLT log messages to, XSLT log messages are different than error messages, in that log messages are not actually error messages but rather messages related to the state of the XSLT processor. They are useful for debugging XSLT, when something goes wrong. By default logging is disabled, in order to enable logging you must first call xslt_set_log(3) with a boolean parameter which enables log- ging, then if you want to set the log file to debug to, you must then pass it a string containing the filename. PARAMETERS
o $ xh -The XSLT processor link identifier, created with xslt_create(3). o $log - This parameter is either a boolean value which toggles logging on and off, or a string containing the logfile in which log errors too. RETURN VALUES
No value is returned. NOTES
Note Please note that file:// is needed in front of the path when using Windows. EXAMPLES
Example #1 Using the XSLT Logging features <?php $xh = xslt_create(); xslt_set_log($xh, true); xslt_set_log($xh, getcwd() . '/myfile.log'); $result = xslt_process($xh, 'dog.xml', 'pets.xsl'); echo $result; xslt_free($xh); ?> PHP Documentation Group XSLT_SET_LOG(3)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

stripping server name from path

can anyone help me with stripping an absolute filepath? I did a search on this topic but didnt find anything but maybe I didn't look hard. Anyway, would really appreciate it if anyone could help me. I am a new unix user so this might be a simple issue but I am stuck, don't really understand the use... (4 Replies)
Discussion started by: Ecclesiastes
4 Replies

2. OS X (Apple)

Location Based Printing in Leopard not working

Hello all, I've been searching for an answer but coming up with nothing so I figured I'd give it a shot and ask. After installing a fresh version of Leopard (with the latest updates) on a computer and then copying the user data back onto said computer, the location based printing doesn't work... (0 Replies)
Discussion started by: erodrigue
0 Replies

3. AIX

/etc/subsync parms definitions ?

In our Cron table, we have the /etc/subsync client ipadr1 ipadr2 Each ipadr is an actual IP adress. I think it has something to do with synchronizing the clock between servers, but what is the ipadr2 for ? (0 Replies)
Discussion started by: Browser_ice
0 Replies

4. AIX

Exsort_not_enough_memory

Can any one please help me. We are getting belwo error. EXSORT_NOT_ENOUGH_MEMORY ShrtText Internal error: Too litle memory for the external sort. Error analysis ... (0 Replies)
Discussion started by: vinod_3d
0 Replies

5. UNIX for Dummies Questions & Answers

File compilation error on AIX

Hi All, I am successfully able to compile the file through gcc. At the time of compilling the file throught xlc, I am facing the following issues: 1) 1540-0836 (S) The #include file <multimap.h> is not found. 2) 1540-0836 (S) The #include file <pair.h> is not found. 3) ld: 0706-012 The... (0 Replies)
Discussion started by: Prajakta
0 Replies

6. AIX

Pro C Compilation problem

Hi, I have AIX 5.3 and my code is written in proc . i am getting following error during compilation Please help?////..... :-d: Compiling with RMS cc -w -q32 -qidirfirst -ISource/Header -I/usr/vacpp/include -q32 -DRMS -DDISEC -DDBG -DBIGENDIAN -DBIT32 -c -q32... (0 Replies)
Discussion started by: ajaysahoo
0 Replies

7. Solaris

Diffrence between stripping and mirroring

Hi All, What is the difference between stripping and mirroring? Thanks, Rafi. (3 Replies)
Discussion started by: rafidba.alvi
3 Replies