Add support for non-NS and "prefix" shortcut confiscateAttr().
commit099ff6a0079011db5d6cd0222991ca31eb290c5b
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Thu, 17 Jul 2008 04:02:50 +0000 (17 00:02 -0400)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Thu, 17 Jul 2008 04:02:50 +0000 (17 00:02 -0400)
treeadb7685d658c0714ab45f85d23c3c4c39cfd7ced
parentc9176d9a51e948fc65b9ad4b5fe200db65313379
Add support for non-NS and "prefix" shortcut confiscateAttr().

confiscateAttr() has two new forms, to ease usage. The first is with
two parameters, in which case a non-namespaced get and delete will be performed.
The second is that you do not have to pass the full namespace URI; if
you use a prefix that DOMFilter knows about, it will automatically substitute
it for you. By default, html and xml are known (however, you probably
won't need to use html).

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
XHTMLCompiler/DOMFilter.php