We study a fragmentation of the p-trees of Camarri and Pitman [Elect. ] about the cut tree of the Brownian continuum random tree.associates with the cutting procedure a partial resampling of the Cayley tree of the kind mentioned earlier: if one considers the (ordered) sequence of subtrees which are discarded as the cutting process goes on, and adds a path linking their roots, then the resulting tree is a uniformly random Cayley tree, and the two extremities of the path are independent uniform random nodes. So the properties of the parameter L n follow from a stronger correspondence between the combinatorial objects themselves.This strong connection between the discrete objects can be carried to the level of their scaling limit, namely Aldous' Brownian continuum random tree (CRT) [5]. Without being too precise for now, the natural cutting procedure on the Brownian CRT involves a Poisson rain of cuts sampled according to the length measure. However, not all the cuts contribute to the isolation of the root. As in the partial resampling of the discrete setting, we glue the sequence of discarded subtrees along an interval, thereby obtaining a new CRT. If the length of the interval is well-chosen (as a function of the cutting process), the tree obtained is distributed like the Brownian CRT and the two ends of the interval are independently random leaves. This identifies the distribution of the discarded subtrees from the cutting procedure as the distribution of the forest one obtains from a spinal decomposition of the Brownian CRT. The distribution of the latter is intimately related to Bismut's [18] decomposition of a Brownian excursion. See also [25] for the generalization to the Lévy case. Note that a similar identity has been proved by Abraham and Delmas [2] for general Lévy trees without using a discrete approximation. A related example is that of the subtree prune and re-graft dynamics of Evans et al. [28] [See also 26], which is even closer to the cutting procedure and truly resamples the object rather than giving a "recursive" decomposition.The aim of this paper is two-fold. First we prove exact identities and give reversible transformations of p-trees similar to the ones for Cayley trees in [3]. The model of p-trees introduced by Camarri and Pitman [21] generalizes Cayley trees in allowing "weights" on the vertices. In particular, this additional structure of weights introduces some inhomogeneity. We then lift these results to the scaling limits, the inhomogeneous continuum random trees (ICRT) of Aldous and Pitman [8], which are closely related to the general additive coalescent [8,13,14]. Unlike the Brownian CRT or the stable trees (special cases of Lévy trees), a general ICRT is not self-similar. Nor does it enjoy a "branching property" as the Lévy trees do [37]. This lack of "recursivity" ruins the natural approaches such as the one used in [1,2] or the ones which would argue by comparing two fragmentations with the same dislocation measure but different indices of self-similarity [15]. This is one of the r...