XPath evaluation in linear time

Mikołaj Bojańczyk, Paweł Parys

2008 · 22 citations · 4 references

Concepts

Abstract

We consider a fragment of XPath where attribute values can only be tested for equality. We show that for any fixed unary query in this fragment, the set of nodes that satisfy the query can be calculated in time linear in the document size.

References

4