Kirill Subbotin wrote: > This is a current proposition on the XML text format for eZ publish 4. > > The internal schema looks more like XHTML, then the previous one. One of main > differences > from XHTML is that in our schema block and inline content can not be mixed. > > Feel free to comment or ask anything, every input is appreciated. >
> > So basically it is almost the same XML, without paragraphs, but still with > many tags. > > There is a proposition to make it even simpler and more close to ReST. Tags > that have > no attributes can be presented with simple markup. For instance list that > have no > attributes will look like this: > > * item 1 > * item 2 > > but if there are any attributes, it become looking like XML: > > <ul> > <li attr='value'>item 1</li> > <li>item 1</li> > </ul> > > So, the idea is to combine XML and text markup, and use text wherever it is > possible. > What do you think about it? Why create exceptions? Why not have a consistent format? In my opinion everything should be in tags. I think it will be harder to parse if the format is a combination of ReST and XML. How would you apply XSLT then (if you need it)? -- Alexandru Stanoi eZ Components System Developer eZ Systems | http://ez.no -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
