Something says me it will not be very efficient ...
The particular implementation you mentioned, serializing the file system tree into an XML doc then deserializing it into a XML tree, would indeed be inefficient.
However, XPath can be applied to tree structures (such as a file system) in an efficient manner. It was designed to do just that.
In reply to Re^3: A better, more powerful fileglob?
by ikegami
in thread A better, more powerful fileglob?
by jdporter
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |