classes/phing/filters/XincludeFilter.php
\XincludeFilter
Applies Xinclude parsing to incoming text.
Uses PHP DOM XML support
- Extends from
- \BaseParamFilterReader
- Implements
- \ChainableReader
- see
- \FilterReader
- author
- Bill Karwin
- copyright
- © 2003 seasonfive. All rights reserved
- package
- phing.filters
- version
- $Id: XincludeFilter.php 526 2009-08-11 12:11:17Z mrook $
Properties
Methods

chain(
\Reader $reader
)
:
\ReaderCreates a new XincludeFilter using the passed in
Reader for instantiation.
| Name | Type | Description |
|---|---|---|
| $reader | \Reader | A Reader object providing the underlying stream. Must not be |
| Type | Description |
|---|---|
| \Reader |

process(
string $xml
)
:
Try to process the Xinclude transformation
| Name | Type | Description |
|---|---|---|
| $xml | string | XML to process. |
- throws
- On errors

read(
$len
=
null
)
:
stringReads stream, applies XSLT and returns resulting stream.
| Name | Type | Description |
|---|---|---|
| $len |
| Type | Description |
|---|---|
| string |
- throws
- - if XSLT support missing, if error in xslt processing