[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster-devel] Unifying property names #3 - COMMENT



cyrille prefer 'path' because very simple to remember syntax.
effectivly , I don't use xpath every day, so it's hard for my brain to remember it ;o)


Regards & Cheers,
cyrille

Marcel Ruff a écrit:

Hi,

probably the SML variant [3]:

path:queue/cb/maxEntries=1000
path:/xmlBlaster/node/heron/client/joe/session/2/queue/cb/maxEntries=1000



and XPath variant [4]:

xpath://queue[ at id='cb']/maxEntries=1000
xpath:/xmlBlaster/node[ at id='heron']/client[ at id='joe']/session[ at id='2']/maxEntries=1000



could be marked with the protocol (path: or xpath:), they can be transformed
to each other easily,
replace e.g. "[ at id='joe']" to "/joe" and vice versa.


So we could use the 'path:' variant for xmlBlaster.properties and
command line and telnet notation and the 'xpath:' variant for an XPath access.


waiting for more votes .....

Marcel

.


-- ------------------------------------ Cyrille Giquello at Ktaland Web : http://Ktaland.com/ E-mail : cyrille at ktaland.com Tel : + 33 (1) 49 17 40 93 ------------------------------------