- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Sun, 24 Aug 2008 19:56:07 +0100
- To: Norman Walsh <ndw@nwalsh.com>
- Cc: public-xml-processing-model-wg@w3.org
Norm, On 22 Aug 2008, at 19:05, Norman Walsh wrote: > Toman_Vojtech@emc.com writes: > >> The step names are "local" in nature - if you import a library in a >> pipeline, the step names are invisible in the target context, so the >> pipeline does not see the names of the imported steps, only their >> types. >> So, in my opinion, I think that using step types instead of names >> on the >> command line is more correct. > > Maybe that was a brain cramp on my part, remembering how things used > to work with names. Let me think on it some more. FWIW, I agree with Toman, and suggest that you use "Clark notation", namely: $ calabash -isource=- -oresult=- \ -s {http://www.w3.org/ns/xproc}add-attribute \ match=div attribute-name=foo attribute-value=bar although I guess you might want to have a mechanism for declaring namespaces at the command line, so that you can pass them as in-scope namespaces into the option values. In my view, nothing *outside* a library should use a name (they should be kept for local use). Cheers, Jeni -- Jeni Tennison http://www.jenitennison.com
Received on Sunday, 24 August 2008 18:56:41 UTC