Thanks Mike. I took that test when you first sent it, and it's at the top of
my test case with a change or two, followed by some other code as a test
case. The only case I didn't address was the quotes within an XML node,
hopefully I'll get to that this week.

Thanks
Mike

On Sun, Sep 26, 2010 at 6:55 PM, Michael Blakeley <
michael.blake...@marklogic.com> wrote:

> It's great to see people stepping up to this challenge. You might want
> to try the test I sent to Patrick.
>
> let $let := <x>"test"</x>
> return element element {
>    attribute attribute { 1 },
>    element test { 'a' },
>    attribute foo { "bar" },
>    fn:doc()[ foo/@bar eq $let ],
>    //x }
>
> -- Mike
>
> On 2010-09-26 17:13, Mike Brevoort wrote:
> > Here's the xquery highlighter I wrote for CodeMirror for the ipad bounty:
> > http://mbrevoort.github.com/CodeMirror/
> >
> > You can paste or edit in any xquery you would like into the textbox to
> see how well it styles it. There are two stylesheets that you can look at by
> clicking the light and dark links.
> >
> > There are a few outstanding items that I still want to address but
> overall I think it's getting close.  I didn't implement the indentation
> formatting, not sure if I'll have time to approach that or not. I haven't
> written any documentation yet, but it's just like any other codemirror
> module. Let me know what you think!
> >
> > Thanks,
> > Mike
> >
> >
> > On Sat, Sep 11, 2010 at 10:32 PM, Mike Brevoort<
> brevoo...@avalonconsult.com<mailto:brevoo...@avalonconsult.com>>  wrote:
> > OK, I think I'm going to take a crack at creating an xquery parser for
> the codemirror project...
> >
> > Mike
> >
> > --
> > Mike Brevoort / Enterprise Web Practice Lead /  Avalon Consulting LLC<
> http://avalonconsult.com>/  303-834-7509 /
> > @mbrevoort<http://twitter.com/mbrevoort>
> >
> >
> >
> >
> >
> >
> >
> > --
> > Mike Brevoort / Enterprise Web Practice Lead /  Avalon Consulting LLC<
> http://avalonconsult.com>/  303-834-7509 /
> > @mbrevoort<http://twitter.com/mbrevoort>
> >
> >
> >
> >
> >
>
> _______________________________________________
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>



-- 
Mike Brevoort / Enterprise Web Practice Lead /  Avalon Consulting LLC<
http://avalonconsult.com>/  303-834-7509 /
@mbrevoort <http://twitter.com/mbrevoort>
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to