- From: James Clark <jjc@j...>
- To: Philip Fennell <Philip.Fennell@m...>
- Date: Mon, 13 Dec 2010 21:04:43 +0700
On Mon, Dec 13, 2010 at 8:51 PM, Philip Fennell <Philip.Fennell@m...> wrote:
Unless Ive missed something, theres 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 Id see as important are:
1) Can I embed fragments of MicroXML in an xforms:instance, an
xproc:inline or an xsl:template?
Yes.
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 Ive seen so far, I can
think of no reason not to use MicroXML as a light-weight data format but Id
imagine Ill still be using XML 1.0 + Namespaces for XForms, XProc and
XSLT.
I would expect so.
After all, its the data thats 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.
James
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|