[Home] [By Thread] [By Date] [Recent Entries]

  • From: Pete Cordell <pete++xmldev@c...>
  • To: Rick Jelliffe <rjelliffe@a...>, xml-dev <xml-dev@l...>
  • Date: Fri, 23 Jul 2021 11:02:09 +0100



Pete.
--
---------------------------------------------------------------------
Pete Cordell
Codalogic Ltd
C++ tools for C++ programmers, http://codalogic.com
Read & write XML in C++, http://www.xml2cpp.com
---------------------------------------------------------------------
On 23/07/2021 03:55, Rick Jelliffe wrote:
...


which we could say is sugar for "entity form"
       <"{&ns;}:harry" />
and so the "Clark form"
       <"{http://www.whatever.com/}:harry" />

Hi Rick,

I need to rush to get somewhere and will have to digest what you've written later. But I wanted to quickly say that I do like the Clark form. I wonder if it can be extended to associate a prefix also. And perhaps allow more than one mapping.

One outcome, [allowing maximum fantasising :) ] would be to have:

<{outer="http://example.com/outer" ="http://example.com/defaultns"}
outer:tom>
<harry/>
</tom>

(The default namespace mapping runs straight into the '=' sign with no leading string!)

That nicely scopes things in terms of indicating where the mappings go out of scope.

But...

Pete.
--
---------------------------------------------------------------------
Pete Cordell
Codalogic Ltd
Read & write XML in C++, http://www.xml2cpp.com
---------------------------------------------------------------------


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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member