James Macdonald Oxley was a Canadian lawyer and writer.
Born in Halifax, Nova Scotia, the son of the merchant James Black Oxley and Ellen Macdonald, James was educated at Halifax Grammar School, then at Dalhousie University where he graduated with a B.A. in 1874, earning honors in mental and moral philosophy. During this time served as assistant editor for the Dalhousie Gazette. He was called to the bar in 1874, studied law at Harvard University in 1876–77, then was awarded a LL.B. from a Halifax University in 1878.
He practiced the legal profession in Halifax for five years before joining the Ottawa Department of Marine and Fisheries as a legal adviser. On June 10, 1880 he was married to Mary Morrow. From 1880–83, in addition to his regular job, he worked as editor for the Nova Scotia Decisions. In 1882 he edited Admiralty Decisions. Oxley was a reporter at the House of Assembly from 1881–83.He became a manager for the Sun Life Assurance Company in 1891. During his leisure moments, he began writing a series of juvenile fiction books for boys. His works were based on historical events in Canada and the U.S., with a focus on travel and adventure.