Re: Node Creation XPath Functions

Nick,

Looks pretty good to me.

Regarding the second argument and XPath 1.0:

* It is clearly less useful without XPath 2.0
* We could still allow it and restrict it to a node-set (the closest  
XPath 1.0 has to a sequence)

One thing needs to be precised: when writing xf:element("foobar"), is  
the default namespace used or not?

-Erik

On Jun 15, 2009, at 2:59 AM, Nick Van den Bleeken wrote:

> All,
>
> I wrote down[1] what I meant with XPath functions for creating  
> nodes. It turned out that Orbeon already had two of those and SAXON  
> had another useful function for creating nodes at run time.
> (The samples are a bit silly because they don’t use dynamic element  
> names, but I wanted to keep them simple)
>
> Could you please have a quick look at it and give your opinion about  
> these functions. I’m in particular interested in your opinion  
> regarding the pending question at [2].Tthen I can incorporate your  
> comments before the next call?
>
> Regards,
>
> Nick Van den Bleeken
> R&D Manager
>
> Phone: +32 3 821 01 70
> Office Fax: +32 3 821 01 71
> Nick_Van_den_Bleeken@inventivegroup.com
> http://www.inventivegroup.com
>
>
> 1: http://www.w3.org/MarkUp/Forms/wiki/Node_%27create%27_functions
> 2: http://www.w3.org/MarkUp/Forms/wiki/Node_%27create%27_functions#head-51e8a6007c9180d42acbace078dbdf5c3ee659d0
>
>
>
> Inventive Designers' Email Disclaimer:
> http://www.inventivedesigners.com/email-disclaimer
>
> -- 
> This message has been scanned for viruses and
> dangerous content, and is believed to be clean.
> -- 
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/

Received on Wednesday, 17 June 2009 17:53:34 UTC