all xxxp pattern imp'd in PArray & Transform

Also added the beginnings of xml markup for docs.  I haven't tested this
stuff yet - writing unit tests now