The Duchess of Sussex has won the latest stage in her legal fight against a publisher.