[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xml:id, uxml + John Cowens schema

  • From: Stephen Green <stephengreenubl@gmail.com>
  • To: Dave Pawson <davep@dpawson.co.uk>
  • Date: Sun, 26 Dec 2010 18:29:12 +0000

Re:  xml:id
> <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@dpawson.co.uk> 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@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> 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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.