jaxb: Exclude transient and @XmlTransient members

Small fix to support @XmlTransient on public members. Also updated the doc accordingly.