Information Filled Under ‘XML Developer’ Category

RE using a variable within a regexp pattern

Hi Manual, if I understand you correctly, you wonder how you can compose a match pattern from variable and fixed parts, e.g. framing a variable term by an initial ^ and a trailing $, right? The solution is simple: use an _expression_ whose string value is the desired sequence of characters

Read more from the original source:
RE using a variable within a regexp pattern


Unexpected token syntax error, unexpected DeclareFunction_

Anil, Since this is a question specific to MarkLogic Server, I recommend joining the mailing list at http://developer.marklogic.com/ discuss /subscribe.xqy?list=general You can also search the list: for example, try http://marklogic.markmail.org/search/?q=XDMP-UNEXPECTED+1.0-ml (the second hit is relevant: http://markmail.org/thread/2nuwbppxeemsrpjs). The problem you’re running into is that the shakespeare demo code is somewhat old, and was written in a custom dialect that is not quite XQuery 1.0

Read the original post:
Unexpected token syntax error,
unexpected DeclareFunction_


Re: Combining XSLT 2.0′s Grouping with eXist

Bill, Yes eXist provides mechanisms for transforming directly using XSLT without the need for Java – 1) XQuery extension function transform:transform(…) which Andrew already mentioned. 2) Some sort of custom pipeline using our Controller XQuery approach 3) XProc pipeline using our XProcXQ 4) XSL-PI Probably best if you join the eXist mailing list for such questions. 2009/9/28 Andrew Welch : > Hi Bill, > > The best thing to do is sign up to one of the mailing lists: > > “xquery talk” http://x-query.com/mailman/listinfo/talk > > “xml dev” http://www.xml.org/xml-dev/ > > Ask your question there, hopefully get a helpful response, and then > the email chain gets archived so its useful for anyone encountering a > similar problem in the future

The rest is here:
Re: Combining XSLT 2.0′s Grouping with eXist


Multi Database Data Templates

In my post on Formatting Concatenated Datasources I mentioned the better way to do thangs was to use a data template to connect and execute queries on each databases and bring back a grouped/formatted data set. So rather than the concatenated data set, thus we use a data template to generate a hierarchical data set thus: Remember, this is executing a query on SQLServer (or other db) to fetch the VENDOR data and executing another ‘child’ query on Oracle (or another db) to fetch the vendor’s PO data. This will allow you to simplify the layout template removing the need for the variables and the XPATH expression

Excerpt from:
Multi Database Data Templates


Save The Date: Mark Logic Digital Publishing Summit 12/10/09 at The Plaza

I’m pleased to announce that the 3rd annual Mark Logic Digital Publishing Summit will be held on Thursday, December 10, 2009 at none other than The Plaza hotel in New York City. More information will be undoubtedly be forthcoming from our marketing department, but I wanted to get the date out for calendar-blocking purposes as soon as possible. [Revision: more information is now available here .] This should be an outstanding event, with I’d guess well over 200 people in attendance, discussing the top issues in the publishing and media business.

Visit link:
Save The Date: Mark Logic Digital Publishing Summit 12/10/09 at The Plaza


Black Ink 1.1.7

I’ve been fixing bugs and adding little tweaks to Black Ink , my nifty crossword solving application. Looks like they really piled up and it’s definitely time for a release! Version 1.1.7 includes some fixes to the default puzzle source configuration, and a number of bug fixes ranging from minor to fairly significant. Puzzle Sources Fix the Chronicle of Higher Education source Remove Syndey Morning Herald – the paper has stopped publishing new puzzles Fix a bug that could cause downloads to stop working until relaunching the app Bug fixes and minor improvements Can now hover over a long puzzle title to see a tool tip window with the entire content Fix a visual bug with “Open As Unsolved” when the puzzle is already open Fix a bug that prevented numeric answers from being checked correctly Fix a bug that caused direction to change abruptly in puzzle that starts in “down” mode Multi-character answer improvements When revealing a multiple character answer, make sure the “revealed” color applies to all characters Fix check-as-you-type for multi-character answers Enter Multiple Letters menu item is now called “Enter Special Letters” After entering multiple character answer, now jumps to next square same as when entering single Fix a bug that caused reveal/correct to fail on some multi-character answers

Read the rest here:
Black Ink 1.1.7


Fwd: xmlns ignore

Hi, This is a complete code test: //——————————————————————————————————————————— Processor proc = new Processor(false); XQueryCompiler comp = proc.newXQueryCompiler(); XdmNode source = proc.newDocumentBuilder().build(new StreamSource(inputFile)); XQueryExecutable exp = comp.compile(“/NFe/infNFe/ ide /natOp”); XQueryEvaluator eval = exp.load(); eval.setContextItem(source); XdmItem i =eval.evaluateSingle(); System.out.println(i.getStringValue()); XdmValue v = eval.evaluate(); System.out.println(v.size()); //——————————————————————————————————————————— that is the xml file : //——————————————————————————————————————————— 29 123658 Venda – direta …. //——————————————————————————————————————————— The “”http://www.portalfiscal.inf.br/nfe”" return page not found.

Read more from the original source:
Fwd: xmlns ignore


Serialization of XDM

> > > is it important that > > $a[1]/foo/bar is $a[2] > Someone needs to sit down and write down the requirements and use cases . One requirement that someone suggested was of the nature of “lossless round-tripping”. That would imply that given a sequence (N, M), not only does (N is M) retain its value after serialization and parsing, but so does (N/.

View post:
Serialization of XDM


Full Text Grammar ambiguous?

Martin, thanks for the observation! This problem was recently posted in the W3C ‘s bugzilla system: http://www.w3.org/Bugs/Public/show_bug.cgi?id=7247 ..and is currently discussed by the XQFT task force. A decision how to solve to this issue will be posted at the same place in near future. Hope this helps, Christian ___________________________ Christian Gruen Universitaet Konstanz Department of Computer & Information Science D-78457 Konstanz, Germany Tel: +49 (0)7531/88-4449, Fax: +49 (0)7531/88-3577 http://www.inf.uni-konstanz.de/~gruen On Sat, Sep 12, 2009 at 3:27 PM, Martin Probst wrote: > Hi all, > > maybe I’m just a bit late to the party, but is it possible that the > full text grammar from XQFT makes the XQuery grammar ambiguous?

Follow this link:
Full Text Grammar ambiguous?


Local namespace

> XQuery 1.1 is introducing the “private” function modifier, which will > allow the definition of functions that aren’t exported from a module. Simply dropping the namespace requirement and mandating that only the properly namespaced functions are exported might have accomplished the same thing without additional syntax, right

Read more from the original source:
Local namespace


Page 19 of 28« First...101718192021...Last »


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