J
Jules
I was just reading the w3cschools pages on XML (it's been years since I've
actively used XML for anything) and it claims that elements can contain a
mixture of other elements and simple text.
Fair enough - but from a parser point of view, what's the correct
behaviour if multiple blocks of text are found amongst multiple "sub
elements"? Should the parser somehow concatenate the blocks and present a
single text string at the API layer? Or should it present multiple blocks
as individual strings?
cheers
Jules
actively used XML for anything) and it claims that elements can contain a
mixture of other elements and simple text.
Fair enough - but from a parser point of view, what's the correct
behaviour if multiple blocks of text are found amongst multiple "sub
elements"? Should the parser somehow concatenate the blocks and present a
single text string at the API layer? Or should it present multiple blocks
as individual strings?
cheers
Jules