she is known principally for her book of hours , made for her marriage to philip the fair ( of burgundy ) in 1496 , and as the king of spain 's daughter in the rhyme `` i had a little nut tree '' , inspired by a visit she paid to the court of henry vii of england in 1506. .