[Home] [By Thread] [By Date] [Recent Entries]
> <para xml:id='abc'>text</para> > > Would this convince xml applications > to treat this as an id... without the uxml schema for the instance? > I'm wondering how grey the area is between uxml and xml 1.0? > If people want something as powerful as, say, JSON, I reckon the attractiveness of a profile for XML which says that, even without a schema, in "an instance of <para xml:id='abc'>text</para>" the attribute should be treated as an ID. I feel like the MicroXML / uXML profile should allow for this to give us maximum power still with maximum simplicity. So this feature would get my personal +1. It seems to me to warrant the inclusion of a meaningful colon in the profile. If that goes beyond the main use case for uXML (e.g. if people want the uXML/MicroXML profile to in itself only treat content as strings on top of which types have to be layered with say schema, etc) then it looks to me like a valid case for a uXML++ (MicroXML++) profile, as it were, where features such as IDs and types can be applied directly in the XML (albeit still treating the XML mainly as simple text). ---- Stephen D Green On 24 December 2010 15:53, Dave Pawson <davep@d...> wrote: > > Given a schema definition > <define name="para"> > <element name="para"> > <attribute name="xml:id"/> > <ref name='inlines'/> > </element> > </define> > > > and an instance of > <para xml:id='abc'>text</para> > > Would this convince xml applications > to treat this as an id... without the uxml schema for the instance? > I'm wondering how grey the area is between uxml and xml 1.0? > > > > -- > > regards > > -- > Dave Pawson > XSLT XSL-FO FAQ. > http://www.dpawson.co.uk > > _______________________________________________________________________ > > XML-DEV is a publicly archived, unmoderated list hosted by OASIS > to support XML implementation and development. To minimize > spam in the archives, you must subscribe before posting. > > [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ > Or unsubscribe: xml-dev-unsubscribe@l... > subscribe: xml-dev-subscribe@l... > List archive: http://lists.xml.org/archives/xml-dev/ > List Guidelines: http://www.oasis-open.org/maillists/guidelines.php > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



