What is the easiest way to get vertex data from SVG?

I have a path and I wish to warp the SVG vertex data along the path, where the x coordinate is orthogonal to the path and the y coordinate is the tangent to the path.