* xmlXIncludeSetStreamingMode: * @ctxt: an XInclude processing context * @mode: whether streaming mode should be enabled * * In streaming mode, XPointer expressions aren't allowed. * * Returns 0 in case of success and -1 in case of error. */
| 2284 | * Returns 0 in case of success and -1 in case of error. |
| 2285 | */ |
| 2286 | int |
| 2287 | xmlXIncludeSetStreamingMode(xmlXIncludeCtxtPtr ctxt, int mode) { |
| 2288 | if (ctxt == NULL) |
| 2289 | return(-1); |
| 2290 | ctxt->isStream = !!mode; |
| 2291 | return(0); |
| 2292 | } |
| 2293 | |
| 2294 | /** |
| 2295 | * xmlXIncludeProcessTreeFlagsData: |