![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: How to define a "anywhere" node in my XSD >Thread Next - Re: How to define a "anywhere" node in my XSD Re: How to define a "anywhere" node in my XSDTo: NULL Date: 9/2/2006 3:54:00 PM Jean-François Michaud wrote: > Peter Flynn wrote: >> Jean-François Michaud wrote: >>> david.deridder@a... wrote: >>>> Hi, >>>> >>>> I would like to specify in my XSD that the "Documentation" element can >>>> be added everywhere in the XML document. A bit like the >>>> xs:documentation node. >> [...] >>> What you are asking for is equivalent to an inclusion in SGML. You >>> might want to look the SGML way if its an option to you. The price you >>> pay for more flexibility is a bigger complexity headache :). >> One of the papers at the Extreme Markup meeting in Montreal earlier this >> month suggested that some SGML features omitted from XML (including >> Inclusion Exceptions) be reconsidered for a future version. Publishers >> have a number of serious requirements which XML is currently unable to >> support. > > This would considerably enhance the expressive power of XML. I think it > would be a good thing :). But they have to be careful not to complexify > too much either. The advantage that XML has over SGML is its > simplicity. Yes, this is why it's unlikely to happen. Sadly the use of XML for dealing with real-life text documents was sidelined in the mad rush to use XML for handling data, for which it is not always suited. ///Peter | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
