You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.4 KiB

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE xep SYSTEM 'xep.dtd' [
<!ENTITY % ents SYSTEM "xep.ent">
<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
<title>XPath Filtering</title>
<abstract>A module that provides an XPath matching condition for packet filtering.</abstract>
<shortname>Not yet assigned</shortname>
<remark>At the request of the author, changed the status of this document to Deferred pending development of an implementation; also changed the type to Informational.</remark>
<remark>Initial version.</remark>
<section1 topic='Introduction'>
<p>This document defines a module for &xep0062; that provides an XPath matching condition for packet filtering.</p>
<p>This module operates in the "" namespace.</p>
<section1 topic='Conditions'>
<p>This module defines the fullowing conditions:</p>
<li>&lt;xpath/> - true if the XPath expression contained in the CDATA of this element, when applied to the packet, returns one or more nodes.</li>
<example caption='Matches all messages with that have a subject element'><![CDATA[
<xpath xmlns=''>/message/subject</xpath>
<example caption='Matches all presence packets that have an x:delay stamp'><![CDATA[
<xpath xmlns=''>/presence/x[namespace-uri()=='jabber:x:delay']</xpath>
<section1 topic='Security Considerations'>
<p>There are no security features or concerns related to this proposal.</p>
<section1 topic='IANA Considerations'>
<p>This document requires no interaction with the IANA.</p>
<section1 topic='JANA Considerations'>
<p>No namespaces or parameters need to be registered with JANA as a result of this document.</p>