Information Filled Under ‘Utility’ Category

parse form data to XML

Hi Sedov, I tried XForms but found when the XML model is loaded from a very large file with many attributes (vary for each element) for each of the element, the screen editing is not practical. May be there is a better way to do this using XForms but I could not find a good example. Thanks -Jes On Wed, Sep 9, 2009 at 12:30 AM, Vyacheslav Sedov wrote: > what about XRX?

The rest is here:
parse form data to XML


(no subject)

what about remote job ? On Mon, Sep 7, 2009 at 12:42 PM, Marcus Clemens wrote: > Hi > > > > Marklogic are looking to hire a couple of permanent consultants . you will > be based in the UK and there will be some travel to Europe and the USA > > > > Please send a cv if this is of any interest > > > > Kind regards > > > > Marcus Clemens > > Director & Senior Consultant > > Mercator IT Ltd > > > > Tel: 01892 611161 > > Fax: 01892 660185 > > Email: http://x-query.com/mailman/listinfo/talk > > Cooks Corner Business Park, The Old Saw Mill, London Road, Crowborough TN6 > 1TQ > > > > Registered in England no: 05755983 > > Registered office: 117 Dartford Road, Dartford, Kent DA1 3EN > > > > This email may contain privileged/confidential information and is for the > intended addressee only.


Tool development: by Perl-wrapped XQuery

Hello David, gradually I start to get a feeling for your perspective. Pulling “an efficient mechanism for interconnecting them” into focus you move across the boundaries of the XQuery spec’s field of vision. Your criticism that design is not only function and module design gains power.

Go here to see the original:
Tool development: by Perl-wrapped XQuery


size of XQuery developer community

The difference between R and XQuery however is that R is a language with one implementation. Thus the site for downloading R can also provide all this information to users, for XQuery it is too fragmented. Best Regards, Bryan Rasmussen On Tue, Sep 1, 2009 at 5:40 PM, Gary Lewis wrote: > On Wed Aug 26 17:39:05 PDT 2009, Daniela Florescu wrote: > > > ..

Read this article:
size of XQuery developer community


Excel Worksheets are not Zero-Based: Exception from HRESULT: 0×800A03EC

I experienced the following message while trying to write to an Excel file from C# code using Interop: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC    at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)    at Microsoft.Office.Interop.Excel.Range.set__Default(Object RowIndex, Object ColumnIndex, Object ) The problem was down to inserting values at a zero index.  Excel documents begin their range at 1, not 0.  Now that’s a mindshift for a long-time zero-based programmer!

Read the original:
Excel Worksheets are not Zero-Based: Exception from HRESULT: 0×800A03EC


Programmatically constructing sequences ("a", "b", "c") for XQuery

Adam Retter schrieb: > I am not familiar with Berkely XML DB, but I had a quick look through > the API docs for you. You are correct XMLValue is for expressing an > atomic type and not a sequence, what you need is XmlResults which can > be used for expressing a sequence of XMLValue. > > XMLResults myFiles = XMLManager.createResults(); > myFiles.add(new XMLValue("value1")); > myFiles.add(new XMLValue("value2")); > xqc.setVariableValue("files", myFiles); Adam and George, thanks for doing my homework! XmlResults values = mgr.createResults(); values.add(new XmlValue("value1")); values.add(new XmlValue("value2")); xqc.setVariableValue("files", values); Works perfectly

View post:
Programmatically constructing sequences ("a", "b",
"c") for XQuery


Programmatically constructing sequences ("a", "b", "c") for XQuery

I’m reposting a question that I already asked in a similar form on the Berkeley DB XML forum [1]. Let’s say I have a prepared query like this: collection(‘import’)[//File = $files] Now I would like to be $files a sequence of strings: (‘eins’,'zwei’,'drei’) Does anyone know of a way to achieve this? It might be at the XQuery level or at the Java (or whatever) level.

Read the original post:
Programmatically constructing sequences ("a", "b",
"c") for XQuery


how to generate an inventory of elements in a list for whole collection?

Hi everyone, I’m hoping someone here may be able to point me in the right direction. I need to write a query that does the following for each node in the path: 1) extracts a string from a parameter (see example fragment below) 2) splits the string into distinct elements on the semi-colon character 3) keeps a running tally of unique elements for the WHOLE collection 3) keeps a running tally of how many times each unique element occured 4) returns a XML doc in which each element is paired with a number representing the times it occured

Link:
how to generate an inventory of elements in a list
for whole collection?


Announce: Hands-on XQuery/XSLT/XPath and XSL-FO training in Walnut Creek, California August 2009 [XQuery Talk]

Announcing Crane’s Summer Sessions! Based on the success of the same training in Santa Ana in early June, one of the attendees at those classes has arranged for Crane to deliver our training event in the East Bay area of Central California for his fellow Masters students before their return to classes late August: XSLT /XQuery/ XPath – August 3-7, 2009 XSL-FO – August 10-12, 2009 http://www.CraneSoftwrights.com/index.html#Crane200908CA These are the most in-depth configurations of Crane’s XSL and XQuery training classes, covering the use of every element, every attribute, every keyword and every function of both XSLT/XPath 1.0 and 2.0 and XQuery 1.0, and every formatting object of XSL-FO 1.0 and 1.1 with more detail and more exercises than other available configurations of our material. Practical Transformation Using XSLT , XQuery and XPath (5 days): http://www.CraneSoftwrights.com/training/ptuxq/ptuxqsyl.htm Practical Formatting Using XSL-FO (3 days): http://www.CraneSoftwrights.com/training/pfux/pfuxsyl.htm Venue – Embassy Suites, Walnut Creek (Pleasant Hill BART), California http://tinyurl.com/nljjbk Instructor/author: http://www.CraneSoftwrights.com/bio/gkholman.htm Early-bird date for discounted registration: July 20, 2009 If you are interested in having us teach publicly or privately in any area of the world, please let us know. Thanks! .

See the original post here:
Announce: Hands-on XQuery/XSLT/XPath and XSL-FO
training in Walnut Creek, California August 2009 [XQuery Talk]


Better way to structure XQuery

At 2009-07-08 11:08 -0500, http://x-query.com/mailman/listinfo/talk wrote: > I have the following XQuery : > > xquery version="1.0"; > > let $mydoc :=doc(‘http://localhost:8080/exist/rest/db/bio.xml’) > let $profileType := ‘ Standard ‘ > let $profileType := if > ($mydoc/metadata/idinfo/ spdom /bounding/boundalt/altmin or > $mydoc/metadata/idinfo/spdom/bounding/boundalt/altmax) then ‘Biological’ > else $profileType > > return > <result> > {$profileType> > </result> As an aside, I would have written that as: xquery version="1.0"; <result> { if ( doc(‘http://localhost:8080/exist/rest/db/bio.xml’)/ metadata/idinfo/spdom/bounding/boundalt/altmin or doc(‘http://localhost:8080/exist/rest/db/bio.xml’)/ metadata/idinfo/spdom/bounding/boundalt/altax ) then ‘Biological" else ‘Standard’ } </result> …

Read more:
Better way to structure XQuery


Page 11 of 13« First...910111213


The news,articles,images etc. on XML Developer India  are selected automatically through a software process, please follow each article's attributed link to see the original content. This news site is powered by Wordpress. Incase of any objection or question please Contact Us...

Our Sevices

News