Subscribe in XML format
RSS 2.0
Atom 0.3

The XQuery-Talk Blog

The XQuery-Talk developer forum was started by Java guru Jason Hunter and is hosted by xquery.com. The XQuery-Talk Blog provides an easy way to interact with the growing XQuery developer community, including many implementors of XQuery products and technologies.


XQuery 3.1 and the version declaration in a query

Posted 10/26/2014 12:49:01 PM

I raised the issue recently here: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27094 No doubt the next draft will say exactly what should happen. Michael Kay Saxonica http://x-query.com/mailman/listinfo/talk +44 (0) 118 946 5893 On 26 Oct 2014, at 18:52, Benito van der Zander <http://x- . . . Read full entry »


XQuery 3.1 and the version declaration in a query

Posted 10/26/2014 12:49:01 PM

I raised the issue recently here: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27094 No doubt the next draft will say exactly what should happen. Michael Kay Saxonica http://x-query.com/mailman/listinfo/talk +44 (0) 118 946 5893 On 26 Oct 2014, at 18:52, Benito van der Zander <http://x- . . . Read full entry »


XQuery 3.1 and the version declaration in a query

Posted 10/26/2014 12:07:36 PM

Hi Christian, > The spec offers three alternatives: > > * Process the module using the specification of the XQuery version > identified in the version declaration. > * Process the module using the specification of XQuery 3.0. (→ 3.1) > * Raise a static error [err:XQST0031] . . . Read full entry »


XQuery 3.1 and the version declaration in a query

Posted 10/26/2014 12:07:36 PM

Hi Christian, > The spec offers three alternatives: > > * Process the module using the specification of the XQuery version > identified in the version declaration. > * Process the module using the specification of XQuery 3.0. (→ 3.1) > * Raise a static error [err:XQST0031] . . . Read full entry »


XQuery 3.1 and the version declaration in a query

Posted 10/26/2014 10:59:58 AM

> Is xquery version "3.1"; valid? I think it should be (although it seems not to be mentioned in the current version of the spec [1]). > What should a XQuery processor that understands 3.1 do, if the query starts > with xquery version "3.0"; > but contains expressi . . . Read full entry »


XQuery 3.1 and the version declaration in a query

Posted 10/26/2014 10:59:58 AM

> Is xquery version "3.1"; valid? I think it should be (although it seems not to be mentioned in the current version of the spec [1]). > What should a XQuery processor that understands 3.1 do, if the query starts > with xquery version "3.0"; > but contains expressi . . . Read full entry »


XQuery 3.1 and the version declaration in a query

Posted 10/26/2014 10:52:21 AM

Hi, A query can start with xquery version "..." to set a specific version. Is xquery version "3.1"; valid? What should a XQuery processor that understands 3.1 do, if the query starts with xquery version "3.0"; but contains expressions that are only valid in 3.1 and . . . Read full entry »


XQuery 3.1 and the version declaration in a query

Posted 10/26/2014 10:52:21 AM

Hi, A query can start with xquery version "..." to set a specific version. Is xquery version "3.1"; valid? What should a XQuery processor that understands 3.1 do, if the query starts with xquery version "3.0"; but contains expressions that are only valid in 3.1 and . . . Read full entry »


format-number problem

Posted 10/18/2014 11:18:49 AM

> <movie imdbID="1000111" rtID="/m/joyjatra/"/>/ > <movie>{ > @rtID, > attribute imdb_id {format-number(@imdbID,'0000000')} > }</movie> I tried to other processors, and the result I got was… <movie rtI . . . Read full entry »


format-number problem

Posted 10/18/2014 10:58:34 AM

Given a piece of data like <movie imdbID="1000111" rtID="/m/joyjatra/"/> I wanted to zero pad all imdbID attributes to length 7. So i did this <movie imdbID="1000111" rtID="/m/joyjatra/"/>/ <movie>{ @rtID, attri . . . Read full entry »


format-number problem

Posted 10/18/2014 10:58:34 AM

Given a piece of data like <movie imdbID="1000111" rtID="/m/joyjatra/"/> I wanted to zero pad all imdbID attributes to length 7. So i did this <movie imdbID="1000111" rtID="/m/joyjatra/"/>/ <movie>{ @rtID, attri . . . Read full entry »


xquary update 3.0

Posted 10/7/2014 2:42:49 AM

Thank you Michael I hope 9.6 will be in the next update of Oxygen soon ;-) Yours Leo On 07 Oct 2014, at 10:33, Michael Kay <http://x-query.com/mailman/listinfo/talk> wrote: > >> hello >> >> I am wondering whats happening with the update facility 3.0. >> Is th . . . Read full entry »


xquary update 3.0

Posted 10/7/2014 1:33:00 AM

> hello > > I am wondering whats happening with the update facility 3.0. > Is there any support yet? > With Saxon EE 9.5.1.5 in Oxygen and xquery 3.0 enabled, I get errors with updates. > Saxon 9.5 didn't allow you to use XQuery 3.0 and XQuery Update in the same query. We've . . . Read full entry »


xquary update 3.0

Posted 10/7/2014 1:33:00 AM

> hello > > I am wondering whats happening with the update facility 3.0. > Is there any support yet? > With Saxon EE 9.5.1.5 in Oxygen and xquery 3.0 enabled, I get errors with updates. > Saxon 9.5 didn't allow you to use XQuery 3.0 and XQuery Update in the same query. We've . . . Read full entry »


xquary update 3.0

Posted 10/7/2014 1:23:43 AM

Hi Leo, The XQUF 3.0 specification needs to address a few issues to be adapted for new XQuery 3.0 constructs (e.g., expression categories w.r.t. the introduction of dynamic function invocations). If I am correct, a newer version addressing at least the issue mentioned above may be on its way (but . . . Read full entry »


xquary update 3.0

Posted 10/7/2014 1:07:45 AM

hello I am wondering whats happening with the update facility 3.0. Is there any support yet? With Saxon EE 9.5.1.5 in Oxygen and xquery 3.0 enabled, I get errors with updates. Thanks in advance Leo . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 8:52:19 AM

On Sun, Sep 28, 2014 at 2:25 PM, <http://x-query.com/mailman/listinfo/talk> wrote: > I won't say too much more about this as I have been discussing it with > Wolfgang this morning, and I think he will shortly post you a very > fast example when using XQuery 3.1 Maps in eXist… . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 8:51:04 AM

On Sun, Sep 28, 2014 at 2:13 PM, Adam Retter <http://x-query.com/mailman/listinfo/talk> wrote: > So after a bit more coffee and a bit of research it seems to me that > the only way you are going to get this to be fast would be if you used > a hash based looked for one of your sequen . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 6:13:28 AM

So after a bit more coffee and a bit of research it seems to me that the only way you are going to get this to be fast would be if you used a hash based looked for one of your sequences. Something like a HashMap or BloomFilter would do the job, see: http://stackoverflow.com/questions/4261619/fastes . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 5:29:26 AM

> I think that question is very implementation specific. If all of your > data is in RAM, as your dataset is relatively small and these are just > numbers, I would expect performance to be excellent. I am not sure > that sorting will make much of a difference, but it depends on the > . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 4:57:19 AM

> I want to drop the things that are in B from A where both B and A are just > sequences of integers. In other words, don't fetch what I've already got. (1,2,3)[fn:not(. = (2,4))] -- Adam Retter skype: adam.retter tweet: adamretter http://www.adamretter.org.uk . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 4:57:19 AM

> I want to drop the things that are in B from A where both B and A are just > sequences of integers. In other words, don't fetch what I've already got. (1,2,3)[fn:not(. = (2,4))] -- Adam Retter skype: adam.retter tweet: adamretter http://www.adamretter.org.uk . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 4:56:22 AM

On Sun, Sep 28, 2014 at 12:42 PM, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > > > On Sun, Sep 28, 2014 at 12:32 PM, Adam Retter <http://x-query.com/mailman/listinfo/talk> > wrote: > >> > I have sequence A consisting of the numbers 0 to 4000000 . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 4:56:22 AM

On Sun, Sep 28, 2014 at 12:42 PM, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > > > On Sun, Sep 28, 2014 at 12:32 PM, Adam Retter <http://x-query.com/mailman/listinfo/talk> > wrote: > >> > I have sequence A consisting of the numbers 0 to 4000000 . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 4:55:00 AM

PPS > > On Sun, Sep 28, 2014 at 12:32 PM, Adam Retter <http://x-query.com/mailman/listinfo/talk> > wrote: > >> > I have sequence A consisting of the numbers 0 to 4000000 and sequnce B >> > consisting of about 100k random I numbers within the range of sequence &g . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 4:42:43 AM

On Sun, Sep 28, 2014 at 12:32 PM, Adam Retter <http://x-query.com/mailman/listinfo/talk> wrote: > > I have sequence A consisting of the numbers 0 to 4000000 and sequnce B > > consisting of about 100k random I numbers within the range of sequence A > and > > I want the ou . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 4:32:42 AM

> I have sequence A consisting of the numbers 0 to 4000000 and sequnce B > consisting of about 100k random I numbers within the range of sequence A and > I want the outer join where sequence B is "null". There is no 'null' in XQuery, so I am not quite sure what you mean here. If . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 4:32:42 AM

> I have sequence A consisting of the numbers 0 to 4000000 and sequnce B > consisting of about 100k random I numbers within the range of sequence A and > I want the outer join where sequence B is "null". There is no 'null' in XQuery, so I am not quite sure what you mean here. If . . . Read full entry »


outer join between 2 sequences

Posted 9/28/2014 3:57:53 AM

I have sequence A consisting of the numbers 0 to 4000000 and sequnce B consisting of about 100k random I numbers within the range of sequence A and I want the outer join where sequence B is "null". Should one expect bad performance in sequence B is not sorted and can one expect reasonabl . . . Read full entry »


Namespace conflict ?

Posted 9/17/2014 8:19:41 AM

Thank you Michael. In this view, changing the default namespace, the pair (“”,uri1) to (“”, uri2) is a potential conflict, I can see that. However, adding a default namespace when no namespace is defined - in the (prefix, uri) view, I would see that as changing (“R . . . Read full entry »


Namespace conflict ?

Posted 9/17/2014 3:15:56 AM

> Christian, thank you for your lines. > >> This is different in the second case. The specification [1] says that >> "If the namespace binding of $QName conflicts with any namespace >> binding in the namespaces property of $target, a dynamic error is >> raised . . . Read full entry »


Namespace conflict ?

Posted 9/17/2014 3:07:27 AM

Christian, thank you for your lines. > This is different in the second case. The specification [1] says that > "If the namespace binding of $QName conflicts with any namespace > binding in the namespaces property of $target, a dynamic error is > raised [err:XUDY0023].". This . . . Read full entry »


Namespace conflict ?

Posted 9/17/2014 1:34:09 AM

Hi Leo, the reason is that the XML document in your first example does not have any namespace; so there won't be any conflicts. Instead, the new namespace will be assigned to the addressed element. This is different in the second case. The specification [1] says that "If the namespace bindin . . . Read full entry »


Namespace conflict ?

Posted 9/16/2014 11:24:36 PM

Hi Christian thank you for your input. > The problem is that your original document > uses the default namespace "http://www.mygym.com", and your query uses > "http://www.gym.com". In other words, the error is raised because the > namespace binding of your target . . . Read full entry »


Namespace conflict ?

Posted 9/16/2014 5:02:43 AM

> Is the new namespace really the same as the old, or is that a typo? > Sorry, I need to get new specs. Michael Kay Saxonica . . . Read full entry »


Namespace conflict ?

Posted 9/16/2014 3:38:09 AM

Is the new namespace really the same as the old, or is that a typo? If the new namespace is different, say 'http://www.gym.com/2', then there's a problem, because an element can't contain both the namespace declarations xmlns='http://www.gym.com/2' and 'http://www.gym.com'. I have to admit my mem . . . Read full entry »


Namespace conflict ?

Posted 9/16/2014 3:32:49 AM

Hi Leo, > I thought the function local-name() produces an output without namespace binding? Can anyone explain? You are completely right. The problem is that your original document uses the default namespace "http://www.mygym.com", and your query uses "http://www.gym.com". . . . Read full entry »


Namespace conflict ?

Posted 9/16/2014 3:10:55 AM

Hello I use the following query with Saxon-EE xQuery 9.5.1.5 in Oxygen. for $i in doc('FitnessCenter.xml')//* return rename node $i as QName('http://www.gym.com', local-name($i)) on the following file: <?xml version="1.0" encoding="UTF-8”?> <FitnessCenter x . . . Read full entry »


BaseX 7.9: The Summer Edition

Posted 6/27/2014 8:29:08 AM

Dear XQuery aficionados, in the midst of summertime, we provide you with a new version of BaseX, our XML database system and XQuery 3.0 processor. This is what you get: XQUNIT - Unit testing has been improved a lot. All test functions will now be evaluated separately; this way, updates can b . . . Read full entry »


BaseX 7.9: The Summer Edition

Posted 6/27/2014 8:29:08 AM

Dear XQuery aficionados, in the midst of summertime, we provide you with a new version of BaseX, our XML database system and XQuery 3.0 processor. This is what you get: XQUNIT - Unit testing has been improved a lot. All test functions will now be evaluated separately; this way, updates can b . . . Read full entry »


Checking a collection for more or last

Posted 6/18/2014 5:23:11 PM

Aside from counting the nodes a priori and then comparing as you iterate, is there any other way of checking to see if you are on the last node in a collection. As I read the docs the following axes and last() are not operative across documents (i.e at the collection level). -------------- next pa . . . Read full entry »


Checking a collection for more or last

Posted 6/18/2014 5:23:11 PM

Aside from counting the nodes a priori and then comparing as you iterate, is there any other way of checking to see if you are on the last node in a collection. As I read the docs the following axes and last() are not operative across documents (i.e at the collection level). -------------- next pa . . . Read full entry »


cast the dutchie on the right hand side

Posted 6/12/2014 12:34:28 PM

This should help you: ('1999-12-31','2003-11-04') ! (. castable as xs:date) On Thu, Jun 12, 2014 at 9:10 PM, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > So I naively thought I'd try > > xquery version "3.0"; > > ('1999-12-31','2003-11-04') / c . . . Read full entry »


cast the dutchie on the right hand side

Posted 6/12/2014 12:34:28 PM

This should help you: ('1999-12-31','2003-11-04') ! (. castable as xs:date) On Thu, Jun 12, 2014 at 9:10 PM, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > So I naively thought I'd try > > xquery version "3.0"; > > ('1999-12-31','2003-11-04') / c . . . Read full entry »


cast the dutchie on the right hand side

Posted 6/12/2014 12:10:58 PM

So I naively thought I'd try xquery version "3.0"; ('1999-12-31','2003-11-04') / castable as xs:date because I am dealing with dirty data that shouldn't but sometimes contains more than one date field. Am wondering what is so objectionable about mapping a Boolean operator over a seque . . . Read full entry »


cast the dutchie on the right hand side

Posted 6/12/2014 12:10:58 PM

So I naively thought I'd try xquery version "3.0"; ('1999-12-31','2003-11-04') / castable as xs:date because I am dealing with dirty data that shouldn't but sometimes contains more than one date field. Am wondering what is so objectionable about mapping a Boolean operator over a seque . . . Read full entry »


generate and schedule report

Posted 5/30/2014 3:36:06 AM

Thanks for all your suggestions. I am able to generate excel report as mentioned here http://jsfiddle.net/lesson8/wVejP/. This report get generated when button is clicked. Now i want to generate the report through scheduler as scheduler is not going to click on button so I am stuck here. any sugges . . . Read full entry »


generate and schedule report

Posted 5/30/2014 3:36:06 AM

Thanks for all your suggestions. I am able to generate excel report as mentioned here http://jsfiddle.net/lesson8/wVejP/. This report get generated when button is clicked. Now i want to generate the report through scheduler as scheduler is not going to click on button so I am stuck here. any sugges . . . Read full entry »


generate and schedule report

Posted 5/29/2014 11:43:40 AM

Thanks Joe! Sent from my iPad On May 29, 2014, at 1:56 PM, Joe Wicentowski <http://x-query.com/mailman/listinfo/talk> wrote: >> I do not know of any module to generate an excel spreadsheet within eXist. You can read a spreadsheet using the content extraction function module. > & . . . Read full entry »


generate and schedule report

Posted 5/29/2014 10:56:59 AM

> I do not know of any module to generate an excel spreadsheet within eXist. You can read a spreadsheet using the content extraction function module. Pete Aven's article on generating Excel documents with XQuery is straightforward to apply in eXist-db: http://developer.marklogic.com/blog/sm . . . Read full entry »


generate and schedule report

Posted 5/29/2014 10:56:59 AM

> I do not know of any module to generate an excel spreadsheet within eXist. You can read a spreadsheet using the content extraction function module. Pete Aven's article on generating Excel documents with XQuery is straightforward to apply in eXist-db: http://developer.marklogic.com/blog/sm . . . Read full entry »


generate and schedule report

Posted 5/29/2014 9:38:07 AM

Hi, I am using eXist-db and easydita. I want to fetch records from eXist-db and then generate excel report through scheduler at a specified time say 1:00 PM everyday. At 1:00 PM scheduler will run and will generate excel report by fetching data from eXist-db. Thanks Inderjeet ____________________ . . . Read full entry »


generate and schedule report

Posted 5/29/2014 9:38:07 AM

Hi, I am using eXist-db and easydita. I want to fetch records from eXist-db and then generate excel report through scheduler at a specified time say 1:00 PM everyday. At 1:00 PM scheduler will run and will generate excel report by fetching data from eXist-db. Thanks Inderjeet ____________________ . . . Read full entry »


generate and schedule report

Posted 5/29/2014 3:07:09 AM

I am new to xquery. I want to generate excel report through scheduler. Please help me to sort out the issue. Your help will be greately appreciated. Thanks & Regards Inderjeet DISCLAIMER The information transmitted, including any attachments, is intended only for the person or entity t . . . Read full entry »


generate and schedule report

Posted 5/29/2014 3:07:09 AM

I am new to xquery. I want to generate excel report through scheduler. Please help me to sort out the issue. Your help will be greately appreciated. Thanks & Regards Inderjeet DISCLAIMER The information transmitted, including any attachments, is intended only for the person or entity t . . . Read full entry »


Grouping Scope and counters

Posted 5/24/2014 3:32:16 AM

> Now the problem is that XQuery (of the eXist variety) denies knowledge of the existence of the $i variable in the return clause. Yes, the original implementor left a todo comment in the code ;-) The $i variable should be in scope. I’ve just submitted a pull request for this. Wolfgang . . . Read full entry »


Grouping Scope and counters

Posted 5/24/2014 12:05:32 AM

for $x at $i in blah group by $x/@a return if ($i mod 10000 eq 0) then ..... else ..... Now the problem is that XQuery (of the eXist variety) denies knowledge of the existence of the $i variable in the return clause. Presumably this is because the group construct interferes with the lex . . . Read full entry »


[xsl] Re: Random number generation : requirements

Posted 5/8/2014 6:34:14 AM

Hi Benito, We had a discussion on monads not so long ago in the context of update and scripting. I like the elegance of monads. It is my understanding. though, that monads only defer side effects to until they are applied -- and then you are back to the need for side effects semantics. Somehow, s . . . Read full entry »


[xsl] Re: Random number generation : requirements

Posted 5/8/2014 6:34:14 AM

Hi Benito, We had a discussion on monads not so long ago in the context of update and scripting. I like the elegance of monads. It is my understanding. though, that monads only defer side effects to until they are applied -- and then you are back to the need for side effects semantics. Somehow, s . . . Read full entry »


Random number generation : requirements

Posted 5/7/2014 11:05:28 AM

Just to throw in the functions from eXist which are also non-deterministic - http://www.exist-db.org/exist/apps/fundocs/index.html?action=search&type=name&q=random Personally I would be more interested in having a good random number source for generating strong UUIDs, at the moment we jus . . . Read full entry »


Random number generation : requirements

Posted 5/7/2014 11:05:28 AM

Just to throw in the functions from eXist which are also non-deterministic - http://www.exist-db.org/exist/apps/fundocs/index.html?action=search&type=name&q=random Personally I would be more interested in having a good random number source for generating strong UUIDs, at the moment we jus . . . Read full entry »


Random number generation : requirements

Posted 5/7/2014 4:13:29 AM

Hi, I think that Leo' s proposal, on a first read, is the most elegant way I have seen so far that (pseudo-)randomness can be brought to XQuery in a deterministic way: by exposing that it is actually pseudo-randomness (seed) to the user. In Zorba (not 3.0, but the latest, trunk revision, used by . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 4:20:13 PM

Hello Michael, Am 06.05.2014 18:53, schrieb Michael Kay: > If you have any applications that use or need such a function, please could I have a brief description of the way it uses random numbers, e.g. just wanting a single random number, a random permutation of 52 integers, an arbitrary sequen . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 4:20:13 PM

Hello Michael, Am 06.05.2014 18:53, schrieb Michael Kay: > If you have any applications that use or need such a function, please could I have a brief description of the way it uses random numbers, e.g. just wanting a single random number, a random permutation of 52 integers, an arbitrary sequen . . . Read full entry »


[xsl] Re: Random number generation : requirements

Posted 5/6/2014 4:15:56 PM

My 2c: I used an XQuery function based on Dmitry's version before; it works fine although it's a little inconvenient to have to keep passing in the prior value. I would say the most convenient (or at least the most familiar) signature for a random function is random($n) returning a random numb . . . Read full entry »


[xsl] Re: Random number generation : requirements

Posted 5/6/2014 4:15:56 PM

My 2c: I used an XQuery function based on Dmitry's version before; it works fine although it's a little inconvenient to have to keep passing in the prior value. I would say the most convenient (or at least the most familiar) signature for a random function is random($n) returning a random numb . . . Read full entry »


[xsl] Re: Random number generation : requirements

Posted 5/6/2014 3:58:43 PM

The big problem with a nondeterministic random() function is not defining the order of execution, but preventing it being optimised out of a loop. For example, how do we ensure that $xxx[random() gt 0.5] doesn't select either all the values or none? Anyway, we're not planning to do non-determin . . . Read full entry »


[xsl] Re: Random number generation : requirements

Posted 5/6/2014 3:48:18 PM

On 5/6/2014 6:41 PM, Michael Kay http://x-query.com/mailman/listinfo/talk wrote: >> My policy on side effects is: all expressions containing side effects are going to be evaluated in order >> > I do something like that in Saxon as well. But I don't attempt to define what "in ord . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 3:40:26 PM

> > My policy on side effects is: all expressions containing side effects are going to be evaluated in order > I do something like that in Saxon as well. But I don't attempt to define what "in order" means; for example, the order in which different global variables are evaluat . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 1:52:42 PM

> Yes, we don't have any machinery in the language semantics for declaring something as nondeterministic (easy to solve) or defining the semantics of how it should behave if thus annotated (much harder). > > For example, if f() and g() are non-deterministic functions, how do we say in the . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 1:52:42 PM

> Yes, we don't have any machinery in the language semantics for declaring something as nondeterministic (easy to solve) or defining the semantics of how it should behave if thus annotated (much harder). > > For example, if f() and g() are non-deterministic functions, how do we say in the . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 1:42:29 PM

> > Similar to Zorba, most functions are non-deterministic. Is there any > particular reason why the official random functions need to be > deterministic? > Yes, we don't have any machinery in the language semantics for declaring something as nondeterministic (easy to solve) or de . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 1:42:29 PM

> > Similar to Zorba, most functions are non-deterministic. Is there any > particular reason why the official random functions need to be > deterministic? > Yes, we don't have any machinery in the language semantics for declaring something as nondeterministic (easy to solve) or de . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 10:51:21 AM

And here is the Random Module of BaseX: http://docs.basex.org/wiki/Random_Module Similar to Zorba, most functions are non-deterministic. Is there any particular reason why the official random functions need to be deterministic? Hope this helps, Christian On Tue, May 6, 2014 at 7:42 PM, Matth . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 10:42:23 AM

Michael Here is the documentation of a module containing functions to generate random numbers or strings with Zorba. http://www.zorba.io/documentation/latest/modules/zorba/xdm/atomic/random Please note that some functions are using Zorba's nondeterministic annotation. Also note, that there is on . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 10:42:23 AM

Michael Here is the documentation of a module containing functions to generate random numbers or strings with Zorba. http://www.zorba.io/documentation/latest/modules/zorba/xdm/atomic/random Please note that some functions are using Zorba's nondeterministic annotation. Also note, that there is on . . . Read full entry »


Random number generation : requirements

Posted 5/6/2014 9:53:47 AM

The W3C WGs are looking at the idea of introducing a random-number function of some kind in XPath 3.1. The challenge of course is making this both usable and a pure function with no side-effects. We have various design ideas which we need to test against requirements. If you have any applications . . . Read full entry »


[Exist-open] Getting more out of Freebase with XQuery

Posted 4/12/2014 10:53:43 PM

The wiki has been updated. The sample code now closes the HTTP connection following a PUT (thanks to Joe Wiz for pointing this out) but it does not stop the crashes - this may be an issue specific to eXist. Thanks to Dan M for organising the layout of the update. He had final editorial say so so i . . . Read full entry »


create a sequence of dates

Posted 4/12/2014 2:59:42 PM

How about: let $d1 := xs:date("2014-03-02") let $d2 := xs:date("2014-04-21") let $days:=0 to days-from-duration($d2 - $d1) return $days!($d1+ . *xs:dayTimeDuration('P1D')) Cheers /Andy On Sat, Apr 12, 2014 at 9:58 PM, Jakob Fix <http://x-query.com/mailman/listinfo/talk> . . . Read full entry »


create a sequence of dates

Posted 4/12/2014 2:59:42 PM

How about: let $d1 := xs:date("2014-03-02") let $d2 := xs:date("2014-04-21") let $days:=0 to days-from-duration($d2 - $d1) return $days!($d1+ . *xs:dayTimeDuration('P1D')) Cheers /Andy On Sat, Apr 12, 2014 at 9:58 PM, Jakob Fix <http://x-query.com/mailman/listinfo/talk> . . . Read full entry »


Invitation to connect on LinkedIn

Posted 4/12/2014 1:55:37 AM

LinkedIn ------------ I'd like to add you to my professional network on LinkedIn. - Byomokesh Byomokesh sahoo engineer India Confirm that you know Byomokesh sahoo: https://www.linkedin.com/e/xnupbm-htwo4yjl-1q/isd/5860671342885486592/o8-tYDD6/?hs=false&tok=3g83VymT-nmmc1 -- You are recei . . . Read full entry »


Invitation to connect on LinkedIn

Posted 4/12/2014 1:55:37 AM

LinkedIn ------------ I'd like to add you to my professional network on LinkedIn. - Byomokesh Byomokesh sahoo engineer India Confirm that you know Byomokesh sahoo: https://www.linkedin.com/e/xnupbm-htwo4yjl-1q/isd/5860671342885486592/o8-tYDD6/?hs=false&tok=3g83VymT-nmmc1 -- You are recei . . . Read full entry »


[ANN] Published: XPath 3.0, XQuery 3.0, XQueryX 3.0, XDM 3.0, Serialization 3.0, F&O 3.0, and XQuery 3.0 use Cases, Requirements

Posted 4/11/2014 12:58:47 PM

The XSLT and XQuery Working Groups today published XPath 3.0, XQuery 3.0, XQueryX 3.0, XDM 3.0, Serialization 3.0, F&O 3.0 as W3C Recommendations, and XQuery 3.0 use Cases, Requirements as notes. News items on http://www.w3.org/ and http://www.w3.org/blog/news/archives/3773/ (and I'll be upd . . . Read full entry »


[ANN] Published: XPath 3.0, XQuery 3.0, XQueryX 3.0, XDM 3.0, Serialization 3.0, F&O 3.0, and XQuery 3.0 use Cases, Requirements

Posted 4/11/2014 12:58:47 PM

The XSLT and XQuery Working Groups today published XPath 3.0, XQuery 3.0, XQueryX 3.0, XDM 3.0, Serialization 3.0, F&O 3.0 as W3C Recommendations, and XQuery 3.0 use Cases, Requirements as notes. News items on http://www.w3.org/ and http://www.w3.org/blog/news/archives/3773/ (and I'll be upd . . . Read full entry »


speaking at MUGL in London, April 29th on REST XQ (RXQ)

Posted 4/10/2014 8:50:28 PM

Hello Ken, We can try to do some video recording. Will see what I can get arranged. thx, J On Fri, Apr 11, 2014 at 3:13 AM, Ken North <http://x-query.com/mailman/listinfo/talk> wrote: > > Will this be recorded on video for playback over the Internet? > > > > > Ken No . . . Read full entry »


speaking at MUGL in London, April 29th on REST XQ (RXQ)

Posted 4/10/2014 8:50:28 PM

Hello Ken, We can try to do some video recording. Will see what I can get arranged. thx, J On Fri, Apr 11, 2014 at 3:13 AM, Ken North <http://x-query.com/mailman/listinfo/talk> wrote: > > Will this be recorded on video for playback over the Internet? > > > > > Ken No . . . Read full entry »


speaking at MUGL in London, April 29th on REST XQ (RXQ)

Posted 4/10/2014 6:13:46 PM

Will this be recorded on video for playback over the Internet? Ken North ________________ Twitter: @knorth2 kncomputing.com >________________________________ > From: James Fuller <http://x-query.com/mailman/listinfo/talk> >To: xquery-discuss <http://x-query.com/mailman/li . . . Read full entry »


speaking at MUGL in London, April 29th on REST XQ (RXQ)

Posted 4/10/2014 10:43:46 AM

speaking at MUGL in London, April 29th, I'll be going through RXQ an implementation of REST XQ https://github.com/xquery/rxq I intend to demonstrate a series of applications as well as touching upon the vagaries of implementing enterprise REST api's. Be great to see folks there (details an . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 6:06:54 PM

On Tue, 2014-04-08 at 22:18 +0100, Ihe Onwuka wrote: > http://exist.2174344.n4.nabble.com/counting-bug-td4664056.html I've found it incredibly useful in the past to set things up so I can run tests against more than one implementation - I use Saxon and BaseX the most often. I tried MarkLogic on . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 3:24:52 PM

Go ahead. I don't give a toss. On Tue, Apr 8, 2014 at 11:15 PM, Ronald Bourret <http://x-query.com/mailman/listinfo/talk> wrote: > Ihe, > > Up until now, your repeated rudeness and demanding attitude on this list has > been modestly amusing. This post moves well past amusing and . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 3:15:44 PM

Ihe, Up until now, your repeated rudeness and demanding attitude on this list has been modestly amusing. This post moves well past amusing and into the patently offensive. Personally, I would suggest that the moderator (if there is one) either remove you from the list or that other members sim . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 2:18:18 PM

http://exist.2174344.n4.nabble.com/counting-bug-td4664056.html On Tue, Apr 8, 2014 at 5:17 PM, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > I'm not creating a collection as I've already exceeded my allocated > time for talking about this. However I can oblige with a s . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 2:18:18 PM

http://exist.2174344.n4.nabble.com/counting-bug-td4664056.html On Tue, Apr 8, 2014 at 5:17 PM, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > I'm not creating a collection as I've already exceeded my allocated > time for talking about this. However I can oblige with a s . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 1:29:24 PM

On Tue, Apr 8, 2014 at 7:35 PM, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: >>> Is it really necessary to have ask for small complete runnable >>> samples... isn't that common mailing list etiquette these days? >>> >> >> Mailing list e . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 1:29:24 PM

On Tue, Apr 8, 2014 at 7:35 PM, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: >>> Is it really necessary to have ask for small complete runnable >>> samples... isn't that common mailing list etiquette these days? >>> >> >> Mailing list e . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 12:16:31 PM

On Tue, Apr 8, 2014 at 7:35 PM, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: > >> Why do you keep doing it (that's rhetorical hence no question mark). >> Do you see a mailing list as a venue for venting your machismo? Look >> there are better ways of ge . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 12:16:31 PM

On Tue, Apr 8, 2014 at 7:35 PM, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: > >> Why do you keep doing it (that's rhetorical hence no question mark). >> Do you see a mailing list as a venue for venting your machismo? Look >> there are better ways of ge . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 11:35:40 AM

>> Is it really necessary to have ask for small complete runnable >> samples... isn't that common mailing list etiquette these days? >> > > Mailing list etiquette eh. > > The pasted screen print of the query and the result it gave - was not > enough? You want me to . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 11:35:40 AM

>> Is it really necessary to have ask for small complete runnable >> samples... isn't that common mailing list etiquette these days? >> > > Mailing list etiquette eh. > > The pasted screen print of the query and the result it gave - was not > enough? You want me to . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 10:38:14 AM

On Tue, Apr 8, 2014 at 6:05 PM, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: >> Sorry you seem to have a deluded sense of self-importance. Since when >> did I have to comply with your requests? > > People will question the "seem to" in that senten . . . Read full entry »


backticks in regex - tales of the unexpected part II

Posted 4/8/2014 10:28:48 AM

it and every other backtick in the dataset I am dealing with is a mistyped quotation mark. Exhibit 1 Aisha`s Song but is supposed to be referring to http://www.imdb.com/title/tt1950067/ On Tue, Apr 8, 2014 at 6:20 PM, Michael Kay <http://x-query.com/mailman/listinfo/talk> wrote: > > . . . Read full entry »


backticks in regex - tales of the unexpected part II

Posted 4/8/2014 10:20:26 AM

On 7 Apr 2014, at 17:07, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > backticks match the \w regex class which does seem at odds with the > definition of that class. You might call it a backtick, and misuse it as a kind of quotation mark, but its proper Unicode nam . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 10:05:26 AM

> Sorry you seem to have a deluded sense of self-importance. Since when > did I have to comply with your requests? People will question the "seem to" in that sentence. Is it really necessary to have ask for small complete runnable samples... isn't that common mailing list etiquett . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:43:53 AM

On 8 April 2014 17:29, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: > On 8 April 2014 17:08, David Carlisle <http://x-query.com/mailman/listinfo/talk> wrote: >> On 08/04/2014 17:04, Ihe Onwuka wrote: >>> >>> yes, for some reason I strenuously . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:41:26 AM

On Tue, Apr 8, 2014 at 5:32 PM, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: > On 8 April 2014 17:17, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: >> I'm not creating a collection as I've already exceeded my allocated >> time for talking . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:41:26 AM

On Tue, Apr 8, 2014 at 5:32 PM, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: > On 8 April 2014 17:17, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: >> I'm not creating a collection as I've already exceeded my allocated >> time for talking . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:38:14 AM

Yes, that's true - I stand corrected On 04/08/2014 12:05 PM, Andrew Welch wrote: > Happy to be the plonker if I'm wrong but: > > ($seq)/count(.) > > will only ever produce a sequence of 1s (or 0 when $seq is empty)... > > If you are saying otherwise please provide small comple . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:38:14 AM

Yes, that's true - I stand corrected On 04/08/2014 12:05 PM, Andrew Welch wrote: > Happy to be the plonker if I'm wrong but: > > ($seq)/count(.) > > will only ever produce a sequence of 1s (or 0 when $seq is empty)... > > If you are saying otherwise please provide small comple . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:32:40 AM

On 8 April 2014 17:17, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > I'm not creating a collection as I've already exceeded my allocated > time for talking about this. funny that... > I am finito here. A small complete runnable example is something like this: (&l . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:32:40 AM

On 8 April 2014 17:17, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > I'm not creating a collection as I've already exceeded my allocated > time for talking about this. funny that... > I am finito here. A small complete runnable example is something like this: (&l . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:29:14 AM

On 8 April 2014 17:08, David Carlisle <http://x-query.com/mailman/listinfo/talk> wrote: > On 08/04/2014 17:04, Ihe Onwuka wrote: >> >> yes, for some reason I strenuously avoid using the for version of >> Flowr syntax so abandoned my attempt without considering it. > &g . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:29:14 AM

On 8 April 2014 17:08, David Carlisle <http://x-query.com/mailman/listinfo/talk> wrote: > On 08/04/2014 17:04, Ihe Onwuka wrote: >> >> yes, for some reason I strenuously avoid using the for version of >> Flowr syntax so abandoned my attempt without considering it. > &g . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:17:50 AM

I'm not creating a collection as I've already exceeded my allocated time for talking about this. However I can oblige with a slightly edited screen print of query and result. The answer is at the bottom. The eXist people read the list, it was run on their XQuery processor so perhaps they may want t . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:17:50 AM

I'm not creating a collection as I've already exceeded my allocated time for talking about this. However I can oblige with a slightly edited screen print of query and result. The answer is at the bottom. The eXist people read the list, it was run on their XQuery processor so perhaps they may want t . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:08:16 AM

On 08/04/2014 17:04, Ihe Onwuka wrote: > yes, for some reason I strenuously avoid using the for version of > Flowr syntax so abandoned my attempt without considering it. well you could use ! instead, I don't have a version 3 to hand but I think it would be ('myColl','myColl2')!count(coll . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:05:59 AM

On 08/04/2014 17:00, Ihe Onwuka wrote: > The answer I got tallies with what Mike Sokolov said I would get. which system did you use? count((collection('myColl')//elem,collection('myColl2')//elem)) should be the total (collection('myColl')//elem,collection('myColl2')//elem))/count(.) is a . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:05:59 AM

On 08/04/2014 17:00, Ihe Onwuka wrote: > The answer I got tallies with what Mike Sokolov said I would get. which system did you use? count((collection('myColl')//elem,collection('myColl2')//elem)) should be the total (collection('myColl')//elem,collection('myColl2')//elem))/count(.) is a . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:05:45 AM

Happy to be the plonker if I'm wrong but: ($seq)/count(.) will only ever produce a sequence of 1s (or 0 when $seq is empty)... If you are saying otherwise please provide small complete runnable sample so I recreate it. (and please really do provide an actual sample of runnable code that really . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:04:32 AM

yes, for some reason I strenuously avoid using the for version of Flowr syntax so abandoned my attempt without considering it. So although I like the minimalistic way you formulated the query (sequencing over only the collection string) my curiosity is centred on the challenge of doing it with the . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:04:32 AM

yes, for some reason I strenuously avoid using the for version of Flowr syntax so abandoned my attempt without considering it. So although I like the minimalistic way you formulated the query (sequencing over only the collection string) my curiosity is centred on the challenge of doing it with the . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 9:00:51 AM

On Tue, Apr 8, 2014 at 4:59 PM, David Carlisle <http://x-query.com/mailman/listinfo/talk> wrote: > On 08/04/2014 16:50, Ihe Onwuka wrote: > >>> (collection('myColl')//elem,collection('myColl2')//elem)/count(.) > >> ....but that my dear plonker..... does not return a st . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:59:15 AM

On 08/04/2014 16:50, Ihe Onwuka wrote: >> (collection('myColl')//elem,collection('myColl2')//elem)/count(.) > ....but that my dear plonker..... does not return a stream of ones......Oops! It should, unless there is a bug somewhere, count() applied to an element node is only ever going . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:54:37 AM

On 08/04/2014 16:23, Ihe Onwuka wrote: > count(colllection('myColl')//elem tells me how many elems there are in > myColl. Fine > > So now I want to be told how many elems are in myColl and myColl2. > > Put them in a sequence like so > > (collection('myColl')//elem,collection . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:54:37 AM

On 08/04/2014 16:23, Ihe Onwuka wrote: > count(colllection('myColl')//elem tells me how many elems there are in > myColl. Fine > > So now I want to be told how many elems are in myColl and myColl2. > > Put them in a sequence like so > > (collection('myColl')//elem,collection . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:52:34 AM

On Tue, Apr 8, 2014 at 4:46 PM, Michael Sokolov <http://x-query.com/mailman/listinfo/talk> wrote: > > On 04/08/2014 11:23 AM, Ihe Onwuka wrote: >> >> count(colllection('myColl')//elem tells me how many elems there are in >> myColl. Fine >> >> So now I want . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:52:34 AM

On Tue, Apr 8, 2014 at 4:46 PM, Michael Sokolov <http://x-query.com/mailman/listinfo/talk> wrote: > > On 04/08/2014 11:23 AM, Ihe Onwuka wrote: >> >> count(colllection('myColl')//elem tells me how many elems there are in >> myColl. Fine >> >> So now I want . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:50:04 AM

....but that my dear plonker..... does not return a stream of ones......Oops! On Tue, Apr 8, 2014 at 4:43 PM, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: >> (collection('myColl')//elem,collection('myColl2')//elem)/count(.) > > ^^^ that constructs a sequence of . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:46:46 AM

On 04/08/2014 11:23 AM, Ihe Onwuka wrote: > count(colllection('myColl')//elem tells me how many elems there are in > myColl. Fine > > So now I want to be told how many elems are in myColl and myColl2. > > Put them in a sequence like so > > (collection('myColl')//elem,collec . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:46:46 AM

On 04/08/2014 11:23 AM, Ihe Onwuka wrote: > count(colllection('myColl')//elem tells me how many elems there are in > myColl. Fine > > So now I want to be told how many elems are in myColl and myColl2. > > Put them in a sequence like so > > (collection('myColl')//elem,collec . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:43:33 AM

> (collection('myColl')//elem,collection('myColl2')//elem)/count(.) ^^^ that constructs a sequence of <elem>s, and then supplies each one to the count() function... so it will just a return a load of 1s. Bonney dee doosh, ala quet de mer, rodders. -- Andrew Welch http://andrewjwelch.co . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:43:33 AM

> (collection('myColl')//elem,collection('myColl2')//elem)/count(.) ^^^ that constructs a sequence of <elem>s, and then supplies each one to the count() function... so it will just a return a load of 1s. Bonney dee doosh, ala quet de mer, rodders. -- Andrew Welch http://andrewjwelch.co . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:23:27 AM

count(colllection('myColl')//elem tells me how many elems there are in myColl. Fine So now I want to be told how many elems are in myColl and myColl2. Put them in a sequence like so (collection('myColl')//elem,collection('myColl2')//elem) and then apply the count method to each element of the se . . . Read full entry »


A walk down Sesame St - counting for simpletons

Posted 4/8/2014 8:23:27 AM

count(colllection('myColl')//elem tells me how many elems there are in myColl. Fine So now I want to be told how many elems are in myColl and myColl2. Put them in a sequence like so (collection('myColl')//elem,collection('myColl2')//elem) and then apply the count method to each element of the se . . . Read full entry »


[xsl] Re: backticks in regex - tales of the unexpected part II

Posted 4/7/2014 11:32:33 AM

On 07/04/2014 18:04, Ihe Onwuka wrote: > On Mon, Apr 7, 2014 at 5:49 PM, David Carlisle <http://x-query.com/mailman/listinfo/talk> > wrote: >> >> No just that if you are writing vocabulary specific regex you need >> to use vocabulary specific regex terms. If I'm looki . . . Read full entry »


[xsl] Re: backticks in regex - tales of the unexpected part II

Posted 4/7/2014 11:32:33 AM

On 07/04/2014 18:04, Ihe Onwuka wrote: > On Mon, Apr 7, 2014 at 5:49 PM, David Carlisle <http://x-query.com/mailman/listinfo/talk> > wrote: >> >> No just that if you are writing vocabulary specific regex you need >> to use vocabulary specific regex terms. If I'm looki . . . Read full entry »


[xsl] Re: backticks in regex - tales of the unexpected part II

Posted 4/7/2014 10:04:11 AM

On Mon, Apr 7, 2014 at 5:49 PM, David Carlisle <http://x-query.com/mailman/listinfo/talk> wrote: > > No just that if you are writing vocabulary specific regex you need to > use vocabulary specific regex terms. If I'm looking for words in English > I tend to use [a-z] even if some . . . Read full entry »


[xsl] Re: backticks in regex - tales of the unexpected part II

Posted 4/7/2014 9:49:52 AM

On 07/04/2014 17:35, Ihe Onwuka wrote: > Just going by the definition of the \w class in MK's XPath 2.0 > reference - \w -> a character considered to form part of a word It isn't (and can't) mean a character that _you_ consider a word, since it's not a user (or even locale) dependent expr . . . Read full entry »


[xsl] Re: backticks in regex - tales of the unexpected part II

Posted 4/7/2014 9:36:29 AM

Just going by the definition of the \w class in MK's XPath 2.0 reference - \w -> a character considered to form part of a word So it's TS if backtick isn't a word character in your vocabulary. Probably neither the first or the last to get caught by that one. On Mon, Apr 7, 2014 at 5:21 PM, Dav . . . Read full entry »


[xsl] Re: backticks in regex - tales of the unexpected part II

Posted 4/7/2014 9:21:31 AM

On 07/04/2014 17:09, Ihe Onwuka wrote: > to put that another way why is a backtick (matches \w) deemed more > wordy than a quote which doesn't match \w. You cross posted to the wrong lists really, regex syntax is as defined by schema, not by xsl or xquery, and that defines \w as [#x0000-#x . . . Read full entry »


[xsl] Re: backticks in regex - tales of the unexpected part II

Posted 4/7/2014 9:21:31 AM

On 07/04/2014 17:09, Ihe Onwuka wrote: > to put that another way why is a backtick (matches \w) deemed more > wordy than a quote which doesn't match \w. You cross posted to the wrong lists really, regex syntax is as defined by schema, not by xsl or xquery, and that defines \w as [#x0000-#x . . . Read full entry »


backticks in regex - tales of the unexpected part II

Posted 4/7/2014 9:09:57 AM

to put that another way why is a backtick (matches \w) deemed more wordy than a quote which doesn't match \w. On Mon, Apr 7, 2014 at 5:07 PM, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > backticks match the \w regex class which does seem at odds with the > definition . . . Read full entry »


backticks in regex - tales of the unexpected part II

Posted 4/7/2014 9:07:21 AM

backticks match the \w regex class which does seem at odds with the definition of that class. . . . Read full entry »


Compared to what?

Posted 4/2/2014 9:53:21 AM

On Wed, 2014-04-02 at 17:13 +0100, Ihe Onwuka wrote: > Excerpt from the 3.13 of the XQuery 3.0 specification. > [...] > XPath has general and value based comparisons and the spec doesn't say > what type of comparison is operative for comparisons on the switch > operand expression. . . . Read full entry »


Compared to what?

Posted 4/2/2014 9:12:09 AM

> ......especially when it is quicker to try out the thing you are trying to verify. Thanks to Michael, the unofficial reference implementation (yea I know W3C doesn't do those), is generally much easier to debug then the specs :) ---------------------------------------- David A. Lee http://x-q . . . Read full entry »


Compared to what?

Posted 4/2/2014 9:11:41 AM

On Wed, Apr 2, 2014 at 6:02 PM, David Lee <http://x-query.com/mailman/listinfo/talk> wrote: > Had to jump in here with a catcall ... > Does that mean I am now in the dog house? . . . Read full entry »


Compared to what?

Posted 4/2/2014 9:08:52 AM

On Wed, Apr 2, 2014 at 6:02 PM, David Lee <http://x-query.com/mailman/listinfo/talk> wrote: > > The effort put into these specs is unequaled except for perhaps the effort to comprehend them in less time then they took to write :) > ......especially when it is quicker to try out the . . . Read full entry »


Compared to what?

Posted 4/2/2014 9:02:23 AM

Had to jump in here with a catcall ... "Miss something in a W3C spec ? Why ... the horror !!! or as George Takei (tm) says 'ohh myy' " Tssk tssk ... The effort put into these specs is unequaled except for perhaps the effort to comprehend them in less time then they took to write : . . . Read full entry »


Compared to what?

Posted 4/2/2014 8:51:10 AM

indeed.... how did I miss that..I'll tell you.. once I saw that a comparison was involved I was expecting to be declaratively told what type of comparison. Thats what I looked for and didn't see it. I didn't expect to see an algorithm and didn't recognise what it was. On Wed, Apr 2, 2014 at 5:3 . . . Read full entry »


Compared to what?

Posted 4/2/2014 8:39:29 AM

On 2 Apr 2014, at 17:13, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > Excerpt from the 3.13 of the XQuery 3.0 specification. > > "In a switch expression, the switch keyword is followed by an > expression enclosed in parentheses, called the switch operand . . . Read full entry »


Compared to what?

Posted 4/2/2014 8:13:52 AM

Excerpt from the 3.13 of the XQuery 3.0 specification. "In a switch expression, the switch keyword is followed by an expression enclosed in parentheses, called the switch operand expression. This is the expression whose value is being compared." The issue is the last word - compared. X . . . Read full entry »


Getting more out of Freebase with XQuery

Posted 3/31/2014 10:44:37 PM

On Mon, Mar 31, 2014 at 9:26 PM, Joe Wicentowski <http://x-query.com/mailman/listinfo/talk> wrote: > Hi Ihe, > >> http:send-request(<http:request href="{$href}" method="get"/>) > ... >> One last thing. I experienced repeated eXist crashes whe . . . Read full entry »


Getting more out of Freebase with XQuery

Posted 3/31/2014 10:44:37 PM

On Mon, Mar 31, 2014 at 9:26 PM, Joe Wicentowski <http://x-query.com/mailman/listinfo/talk> wrote: > Hi Ihe, > >> http:send-request(<http:request href="{$href}" method="get"/>) > ... >> One last thing. I experienced repeated eXist crashes whe . . . Read full entry »


Getting more out of Freebase with XQuery

Posted 3/31/2014 12:26:44 PM

Hi Ihe, > http:send-request(<http:request href="{$href}" method="get"/>) ... > One last thing. I experienced repeated eXist crashes when running > this. Check to make sure you're closing your HTTP connection. See http://markmail.org/message/3opzcgyzv6auevkt . . . Read full entry »


Getting more out of Freebase with XQuery

Posted 3/31/2014 12:26:44 PM

Hi Ihe, > http:send-request(<http:request href="{$href}" method="get"/>) ... > One last thing. I experienced repeated eXist crashes when running > this. Check to make sure you're closing your HTTP connection. See http://markmail.org/message/3opzcgyzv6auevkt . . . Read full entry »


Getting more out of Freebase with XQuery

Posted 3/30/2014 5:02:00 PM

This is a follow on from http://en.wikibooks.org/wiki/XQuery/Freebase which originated from a problem Michael Westbay assisted me with. Again it illustrates how to obtain information from Freebase via it's MQL language (it predated Sparql). The previous query was taken from https://developers . . . Read full entry »


Getting more out of Freebase with XQuery

Posted 3/30/2014 5:02:00 PM

This is a follow on from http://en.wikibooks.org/wiki/XQuery/Freebase which originated from a problem Michael Westbay assisted me with. Again it illustrates how to obtain information from Freebase via it's MQL language (it predated Sparql). The previous query was taken from https://developers . . . Read full entry »


[ANN] CLI XQuery engine Xidel 0.8 released

Posted 3/25/2014 5:31:11 AM

interesting stuff url ? thx, Jim Fuller On Tue, Mar 25, 2014 at 2:18 PM, Benito van der Zander <http://x-query.com/mailman/listinfo/talk>wrote: > Hi, > Xidel is a dependency-free cli tool to apply (X-)queries to webpages. > > The 0.8 version improves the JSONiq support (updat . . . Read full entry »


[ANN] CLI XQuery engine Xidel 0.8 released

Posted 3/25/2014 5:31:11 AM

interesting stuff url ? thx, Jim Fuller On Tue, Mar 25, 2014 at 2:18 PM, Benito van der Zander <http://x-query.com/mailman/listinfo/talk>wrote: > Hi, > Xidel is a dependency-free cli tool to apply (X-)queries to webpages. > > The 0.8 version improves the JSONiq support (updat . . . Read full entry »


[ANN] CLI XQuery engine Xidel 0.8 released

Posted 3/25/2014 5:18:36 AM

Hi, Xidel is a dependency-free cli tool to apply (X-)queries to webpages. The 0.8 version improves the JSONiq support (updated to JSONiq 1.0.3) and our own JSON extensions (more compatible with XQuery, assignable), can use arbitrary precision arithmetic, adds a trivial subset of XPath/XQuery 3 . . . Read full entry »


[ANN] CLI XQuery engine Xidel 0.8 released

Posted 3/25/2014 5:18:36 AM

Hi, Xidel is a dependency-free cli tool to apply (X-)queries to webpages. The 0.8 version improves the JSONiq support (updated to JSONiq 1.0.3) and our own JSON extensions (more compatible with XQuery, assignable), can use arbitrary precision arithmetic, adds a trivial subset of XPath/XQuery 3 . . . Read full entry »


[ANN] XQLint - XQuery & JSONiq Code Quality Tool

Posted 3/24/2014 6:00:34 AM

Hello, We are very happy to announce the release of xqlint, a tool that helps to detect errors and potential problems in your queries. We hope that you will enjoy it: https://github.com/wcandillon/xqlint Kind regards, William . . . Read full entry »


[ANN] XQLint - XQuery & JSONiq Code Quality Tool

Posted 3/24/2014 6:00:34 AM

Hello, We are very happy to announce the release of xqlint, a tool that helps to detect errors and potential problems in your queries. We hope that you will enjoy it: https://github.com/wcandillon/xqlint Kind regards, William . . . Read full entry »


lazy evaluation of sequences

Posted 3/14/2014 8:12:48 AM

On 14 Mar 2014, at 14:32, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > Well (4,5 div 0)[1] on Saxon gives 4. Hurray. > > (4,5 div 0)[1] in eXist gives divide by zero error. Boo. > > So the answer seems to be it depends. > Correct, it's entirely implem . . . Read full entry »


lazy evaluation of sequences

Posted 3/14/2014 6:32:33 AM

Well (4,5 div 0)[1] on Saxon gives 4. Hurray. (4,5 div 0)[1] in eXist gives divide by zero error. Boo. So the answer seems to be it depends. On Fri, Mar 14, 2014 at 1:59 PM, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > does (expr1, expr2,.......,exprN)[1] and variants . . . Read full entry »


lazy evaluation of sequences

Posted 3/14/2014 6:32:33 AM

Well (4,5 div 0)[1] on Saxon gives 4. Hurray. (4,5 div 0)[1] in eXist gives divide by zero error. Boo. So the answer seems to be it depends. On Fri, Mar 14, 2014 at 1:59 PM, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > does (expr1, expr2,.......,exprN)[1] and variants . . . Read full entry »


lazy evaluation of sequences

Posted 3/14/2014 5:59:12 AM

does (expr1, expr2,.......,exprN)[1] and variants thereof evaluate lazily. Is this implementation dependent. . . . Read full entry »


Typeswitch - scope of variables

Posted 3/14/2014 3:54:53 AM

On 14 Mar 2014, at 11:08, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > I cannot discern from the specification what the scope of variables > introduced in the operand expression should be. Same as in any other expression. E.g. if the operand expression is a FLWOR ex . . . Read full entry »


Typeswitch - scope of variables

Posted 3/14/2014 3:08:03 AM

I cannot discern from the specification what the scope of variables introduced in the operand expression should be. Yes I can to see if they are but such an experiment would not adjudicate specification conformance, would it. Fleshing it out for clarification (and possible misinterpretation on my . . . Read full entry »


simple map at the moment is not so simple

Posted 3/4/2014 8:32:14 AM

Away from my machine at the mo but I can tell you it isn't. I'm sure I've fallen for that one before. On Tue, Mar 4, 2014 at 3:28 PM, Michael Kay <http://x-query.com/mailman/listinfo/talk> wrote: > Show us the failing expression. I suspect the expression on the RHS of "!" should . . . Read full entry »


simple map at the moment is not so simple

Posted 3/4/2014 8:32:14 AM

Away from my machine at the mo but I can tell you it isn't. I'm sure I've fallen for that one before. On Tue, Mar 4, 2014 at 3:28 PM, Michael Kay <http://x-query.com/mailman/listinfo/talk> wrote: > Show us the failing expression. I suspect the expression on the RHS of "!" should . . . Read full entry »


simple map at the moment is not so simple

Posted 3/4/2014 7:28:27 AM

Show us the failing expression. I suspect the expression on the RHS of "!" should be in parens. Michael Kay Saxonica On 4 Mar 2014, at 15:13, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > I have something like > > distinct-values(somepath/@x) ! > ht . . . Read full entry »


simple map at the moment is not so simple

Posted 3/4/2014 7:28:27 AM

Show us the failing expression. I suspect the expression on the RHS of "!" should be in parens. Michael Kay Saxonica On 4 Mar 2014, at 15:13, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > I have something like > > distinct-values(somepath/@x) ! > ht . . . Read full entry »


simple map at the moment is not so simple

Posted 3/4/2014 7:13:37 AM

I have something like distinct-values(somepath/@x) ! http:send-request(<http:request href="'http://www.me.com/' || . " method ="get"/> which works fine I now want to find out the @x's for which the http request fails which entails checking the status attribute of the . . . Read full entry »


simple map at the moment is not so simple

Posted 3/4/2014 7:13:37 AM

I have something like distinct-values(somepath/@x) ! http:send-request(<http:request href="'http://www.me.com/' || . " method ="get"/> which works fine I now want to find out the @x's for which the http request fails which entails checking the status attribute of the . . . Read full entry »


[xsl] Castable integers

Posted 2/21/2014 9:16:18 AM

Yes, castability is not transitive. Well spotted. You get some pretty strange results with boolean() too, e.g. boolean(string(false())) => true(). Michael Kay Saxonica On 21 Feb 2014, at 16:18, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > 3 castable as xs:integer . . . Read full entry »


[xsl] Castable integers

Posted 2/21/2014 9:16:18 AM

Yes, castability is not transitive. Well spotted. You get some pretty strange results with boolean() too, e.g. boolean(string(false())) => true(). Michael Kay Saxonica On 21 Feb 2014, at 16:18, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > 3 castable as xs:integer . . . Read full entry »


Castable integers

Posted 2/21/2014 8:18:31 AM

3 castable as xs:integer -> true "3" castable as xs:integer -> true 3.5 castable as xs:integer -> true ..... hmmmmm debatable that one ok...(scratches head)....so if it's roundable to an integer it's castable to an integer fine "3.5" castable as xs:integer -> fa . . . Read full entry »


[ANN] BaseX 7.8, The XMLPrague Edition

Posted 2/12/2014 8:02:12 AM

Dear all, We are very pleased to announce Version 7.8 of BaseX (a.k.a. the XMLPrague Edition)! These are the features you can expect: * A new project view allows you to open, edit and manage your project files directly in the GUI and search files and contents in realtime. * The integrated editor . . . Read full entry »


[ANN] BaseX 7.8, The XMLPrague Edition

Posted 2/12/2014 8:02:12 AM

Dear all, We are very pleased to announce Version 7.8 of BaseX (a.k.a. the XMLPrague Edition)! These are the features you can expect: * A new project view allows you to open, edit and manage your project files directly in the GUI and search files and contents in realtime. * The integrated editor . . . Read full entry »


Text Markup vs Data Serialization - Was RE: min max and mix

Posted 2/10/2014 4:54:32 PM

On 02/10/2014 11:31 AM, Michael Kay wrote: > We're currently in a position where the world has discovered better ways of serializing structured data, but hasn't yet discovered a better way of serializing narrative text or of information that mixes narrative text with structured data (which is th . . . Read full entry »


Text Markup vs Data Serialization - Was RE: min max and mix

Posted 2/10/2014 4:54:32 PM

On 02/10/2014 11:31 AM, Michael Kay wrote: > We're currently in a position where the world has discovered better ways of serializing structured data, but hasn't yet discovered a better way of serializing narrative text or of information that mixes narrative text with structured data (which is th . . . Read full entry »


Text Markup vs Data Serialization - Was RE: min max and mix

Posted 2/10/2014 11:31:47 AM

On 10 Feb 2014, at 19:14, David Lee <http://x-query.com/mailman/listinfo/talk> wrote: > I do like FtanML ... In fact look forward to a possible presentation at some upcoming conference with a few key concepts borrowed/stolen ... > FtanML was very deliberately an exercise in answerin . . . Read full entry »


What does [.] do.

Posted 2/10/2014 11:15:00 AM

> > No. I am aware of that distinction. I was quoting the results obtained > from the example that was quoted. > > http://x-query.com/mailman/listinfo/talk:~/film$ zorba -q '(1, 2, 4, 3, 5, "", "foo", > <a/>, true, false)[.]' > (no URI):1,41: static . . . Read full entry »


What does [.] do.

Posted 2/10/2014 11:15:00 AM

> > No. I am aware of that distinction. I was quoting the results obtained > from the example that was quoted. > > http://x-query.com/mailman/listinfo/talk:~/film$ zorba -q '(1, 2, 4, 3, 5, "", "foo", > <a/>, true, false)[.]' > (no URI):1,41: static . . . Read full entry »


Text Markup vs Data Serialization - Was RE: min max and mix

Posted 2/10/2014 11:14:55 AM

I do like FtanML ... In fact look forward to a possible presentation at some upcoming conference with a few key concepts borrowed/stolen ... so how far have you gotten to get FtanML/XSLT/XPath/XQuery ? :) ( thats the thing about XML ... even with flaws it has an unsurpassed adopted toolchain ) . . . Read full entry »


Text Markup vs Data Serialization - Was RE: min max and mix

Posted 2/10/2014 11:14:55 AM

I do like FtanML ... In fact look forward to a possible presentation at some upcoming conference with a few key concepts borrowed/stolen ... so how far have you gotten to get FtanML/XSLT/XPath/XQuery ? :) ( thats the thing about XML ... even with flaws it has an unsurpassed adopted toolchain ) . . . Read full entry »


Text Markup vs Data Serialization - Was RE: min max and mix

Posted 2/10/2014 11:11:56 AM

> > My opinion is that the compromises made to allow this "Dual Use", while not perfect and not quite equal in each use case, are really amazing. > I cannot think of any other markup or serialization format which does better at accommodating both use cases as equal citizens re . . . Read full entry »


min max and mix

Posted 2/10/2014 11:04:44 AM

> Even if it were not system dependent there is no defined way to take an atomic value and figure out which node it came from, > so, IMHO, the statement of implementation dependency is only there because its also non-testable ... > even given this ... > max( ( <a>1.0</ . . . Read full entry »


Text Markup vs Data Serialization - Was RE: min max and mix

Posted 2/10/2014 4:58:27 AM

On Mon, Feb 10, 2014 at 12:43 PM, David Lee <http://x-query.com/mailman/listinfo/talk> wrote: > > Not trying to start a markup war, just reflecting on the philosophy that is embedded in XML and its tools. > Look. By all means start a markup war. Just make sure that the OP don't get . . . Read full entry »


Text Markup vs Data Serialization - Was RE: min max and mix

Posted 2/10/2014 4:58:27 AM

On Mon, Feb 10, 2014 at 12:43 PM, David Lee <http://x-query.com/mailman/listinfo/talk> wrote: > > Not trying to start a markup war, just reflecting on the philosophy that is embedded in XML and its tools. > Look. By all means start a markup war. Just make sure that the OP don't get . . . Read full entry »


min max and mix

Posted 2/10/2014 4:57:13 AM

On Mon, Feb 10, 2014 at 12:53 PM, David Lee <http://x-query.com/mailman/listinfo/talk> wrote: > ======= > > This is documented as implementation dependent, so any experiments are limited in value to that particular implementation version. > >> Selects an item from the input . . . Read full entry »


min max and mix

Posted 2/10/2014 4:53:35 AM

======= This is documented as implementation dependent, so any experiments are limited in value to that particular implementation version. > Selects an item from the input sequence $arg whose value is greater > than or equal to the value of every other item in the input sequence. > If t . . . Read full entry »


min max and mix

Posted 2/10/2014 4:51:44 AM

On Mon, Feb 10, 2014 at 12:45 PM, David Carlisle <http://x-query.com/mailman/listinfo/talk> wrote: > On 10/02/2014 12:36, Ihe Onwuka wrote: > >> >> The stability thing is not a use case of mine either. Was just >> interested to see what min/max would do when confronted . . . Read full entry »


min max and mix

Posted 2/10/2014 4:45:34 AM

On 10/02/2014 12:36, Ihe Onwuka wrote: > > The stability thing is not a use case of mine either. Was just > interested to see what min/max would do when confronted with > multiple nodes that evaluated to the same value and to see if I could > trace which one it picked. > > The . . . Read full entry »


Text Markup vs Data Serialization - Was RE: min max and mix

Posted 2/10/2014 4:43:03 AM

Possibly better discussed on xml mailing lists ... but ... This thread has me thinking ... That XML, while originally a form of Text markup (you start with text and add Markup) is of dual use as Data Serialization. *Even in the same document* ... This can be confusing but its also powerful. My . . . Read full entry »


min max and mix

Posted 2/10/2014 4:36:46 AM

On Mon, Feb 10, 2014 at 12:23 PM, David Lee <http://x-query.com/mailman/listinfo/talk> wrote: > > Personally I avoid mixed content models wherever possible. So it is more of an issue for those that don't. > > I was just messing about with these functions to see whether they were r . . . Read full entry »


min max and mix

Posted 2/10/2014 4:23:10 AM

Personally I avoid mixed content models wherever possible. So it is more of an issue for those that don't. I was just messing about with these functions to see whether they were robust with respect to stability (that is stability as in a stable sort). [DAL:] ============== Even neglecting mixed . . . Read full entry »


min max and mix

Posted 2/10/2014 4:18:37 AM

On Mon, Feb 10, 2014 at 12:05 PM, David Lee <http://x-query.com/mailman/listinfo/talk> wrote: > ==================================================== > Cripes. It's not that far fetched that > > <b>8<c>2</c><d>3</d><e>3</e></b> > & . . . Read full entry »


min max and mix

Posted 2/10/2014 4:05:59 AM

==================================================== Cripes. It's not that far fetched that <b>8<c>2</c><d>3</d><e>3</e></b> might mean element b (total 8) consists of sub elements of d , e and f that contribute 2, 3 and 3 respectively to whoever d . . . Read full entry »


What does [.] do.

Posted 2/10/2014 3:20:24 AM

On Mon, Feb 10, 2014 at 11:14 AM, Michael Kay <http://x-query.com/mailman/listinfo/talk> wrote: > > On 10 Feb 2014, at 09:59, Ihe Onwuka <http://x-query.com/mailman/listinfo/talk> wrote: > >> On Mon, Jan 27, 2014 at 1:59 PM, Ghislain Fourny <http://x-query.com/mailman/ . . . Read full entry »



PURCHASE STYLUS STUDIO ONLINE TODAY!!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Learn Stylus Studio in 6 Minutes

Can six minutes change your life? A new action-packed online video demonstration covers how to use Stylus Studio in just six minutes! Watch this video and change the way you develop XML applications forever!

Ask Someone You Know

Does your company use Stylus Studio? Do your competitors? Engineers from over 100,000 leading companies use Stylus Studio, and now you can ask someone from your own organization about their experiences using Stylus Studio.

 
Free Stylus Studio XML Training:
W3C Member