Support
Help Save Reptile!
Navigation

Essentials

Installation

Developers

P2P (content distribution)

Search Infrastructure

Services

Proposals

Resources

Errors in XML pipes

If problems arise during XSLT content generation, we can raise an error.

    <error:error type="error">

        Some serious problem has happened.

    </error:error>

For example this can be used with XML Content Controls in order to show an error from a specific input source.

<control xmlns="http://schemas.openprivacy.org/reptile/control"
         xmlns:error="http://schemas.openprivacy.org/reptile/error"
         xmlns:dc="http://purl.org/dc/elements/1.1/" 
         lastModified="DATE">

    <location>http://www.slashdot.org/slashdot.rdf</location>

    <dc:date>Tue Jun 12 2001 08:04 PM</dc:date>
    <dc:title>Slashdot: News for nerds, stuff that matters</dc:title>
    <dc:description>
        Channel description goes here.
    </dc:description>

    <body>

        <error:error type="error">

            Some serious problem has happened.

        </error:error>

    </body>

</control>



Copyright © 2001-2003, OpenPrivacy.org