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

Re: MicroXML

  • From: James Clark <jjc@jclark.com>
  • To: Philip Fennell <Philip.Fennell@marklogic.com>
  • Date: Mon, 13 Dec 2010 21:04:43 +0700

Re:  MicroXML
On Mon, Dec 13, 2010 at 8:51 PM, Philip Fennell <Philip.Fennell@marklogic.com> wrote:

Unless I’ve missed something, there’s nothing here that would prevent MicroXML from being embedded ‘in-line’ in XML 1.0 is there?

Right, it's a subset.


I do a fair bit of work with XForms and XProc, not to mention XSLT, so the things that I’d see as important are:


1) Can I embed fragments of MicroXML in an xforms:instance, an xproc:inline or an xsl:template?


2) Can I traverse the structure using XPath?

Yes.  If you are doing XPath 1.0 specifically for MicroXML, you might want to build the XPath data model a bit differently from usual (ie treat "xmlns" as an attribute), but that's allowed by XPath.

3) Would my XForms, XProc or XSLT processor need a specific serialisation mode?

There's the issue that empty elements are not equivalent to a start-tag followed by an end-tag in HTML5. In the context of XSLT, it's probably best to solve this with an HTML5 output mode.

Beyond those questions, from what I’ve seen so far, I can think of no reason not to use MicroXML as a light-weight data format but I’d imagine I’ll still be using XML 1.0 + Namespaces for XForms, XProc and XSLT.

I would expect so.

After all, it’s the data that’s more the problem than the XML languages we process it with, right?

Yes, it's always good to have data in a maximally simple and constrained format.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.