uniform by three

Here is a problem recently described to me. Apparently there is a more elegant solution (which may give more insight), but I don’t see it yet.

The problem: \(X, Y, Z\) are independent random variables uniformly distributed over [0,1]. What is the distribution of \((XY)^Z\)?
(Read the article)