We really don't want syntax--that's too much.
But, a lot of the rest we do want (e.g. the application needs to decide when whitespace is ignoreable and not text).
Standard API's are great but insufficient to standardize across processing environments or programming languages.
Answer: An XML Processor conveys an Information Set to the application:
Figure 1. Figure