Sebastian Rahtz wrote: > I probably do agree with you. But I am still prepared to use > elements for metadata; after all, you and I both work on a > W3C scheme (ITS) which is happy to store meta information > about processing information in elements the header....
Indeed, it is always about finding 80/20 solution for particular problem area. After all, it would be possible to throw away attributes from XML data model and replace them with sub-elements. This would have some nice advantages, like ability to easily attach metadata to each attribute. But it is unlikely to happen because for many application this change would be 20/80, not 80/20. >> Nope, PIs can be before root element, for example >> >> <?schema href="sdocbook.rng"?> >> <article ...> >> ... >> </article> >> > ah, OK. true. But you still get at that PI with an XML parser, > don't you? or do you just read the first few hundred bytes > and hope you find it? It depends on parser used, but it is usually possible to set schema after parsing was started but before root element was reached. -- ------------------------------------------------------------------ Jirka Kosek e-mail: [EMAIL PROTECTED] http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO/JTC1/SC34 member ------------------------------------------------------------------ Want to speak at XML Prague 2007 => http://xmlprague.cz/cfp.html
signature.asc
Description: OpenPGP digital signature
