User Profile

Collapse

Profile Sidebar

Collapse
ismailj
ismailj
Last Activity: Dec 12 '07, 07:27 AM
Joined: Mar 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ismailj
    replied to Attaching XML File to XQuery using Saxon
    in Java
    Hi Dorin,

    I am stuck here. If you can promptly reply me, it would be really helpful to me.

    Thanks,
    Ismail
    See more | Go to post

    Leave a comment:


  • ismailj
    replied to Attaching XML File to XQuery using Saxon
    in Java
    Yes, this is Java Code that uses Saxon Java API to execute XQuery. But I want to execute to XQuery on my XML Document, which I can't acheive using this API. Hope you can help me.

    Thanks,
    Ismail
    See more | Go to post

    Leave a comment:


  • ismailj
    started a topic Attaching XML File to XQuery using Saxon
    in Java

    Attaching XML File to XQuery using Saxon

    Hi,

    I'm using Saxon v8.9 for XQuery execution. I'm using following code:

    XQDataSource ds = new SaxonXQDataSour ce();
    XQConnection conn = ds.getConnectio n();
    XQExpression exp = conn.createExpr ession();
    XQResultSequenc e seq = exp.executeQuer y(queryExpressi on);

    But, I can't attach XML Document to it. I want to know whether an XML Document...
    See more | Go to post

  • ismailj
    replied to max() function problem in XQuery using Saxon
    in XML
    Thanks a lot. It works for me now. for loop within max has worked fine for me.
    Thanks once again

    Ismail
    See more | Go to post

    Leave a comment:


  • ismailj
    replied to max() function problem in XQuery using Saxon
    in XML
    No effect. Same exception. I think I'm unable to understand you the problem. Now I'm re-trying. Basically, it gives exception on the argument of max which is date & time in string format (i.e., 2007-03-30T13:55:15), but max function accepts in double format. And if it is not double (which is in my case), then it tries to convert it into double, which is also not possible (in my case) b/c special characters can't be converted into double. ...
    See more | Go to post

    Leave a comment:


  • ismailj
    replied to max() function problem in XQuery using Saxon
    in XML
    Thanks for quick response.

    I've tried. But its giving another error:

    Required type of value of variable $maxTime [unallocated] is xs:string; supplied value has type xs:double

    Reason is that max function requires double as argument, and when it get String, it tries to convert it into double, but due to presence of special characters in the string, it can't.. I think there should be some method which should...
    See more | Go to post

    Leave a comment:


  • ismailj
    started a topic max() function problem in XQuery using Saxon
    in XML

    max() function problem in XQuery using Saxon

    Hi,

    I'm using Weblogic 9.2 which uses Saxon 8.1.1 as its XQuery Engine. I'm using max function and in the argument I'm passing the node which has two dateTime values. It is giving exception.

    Following is part of my XML Document:

    <effectiveTim e value="2007-03-20T18:10:15"/>

    Following is part of my XQuery:

    $maxTime := (max($bodySect[code/@code='11502-2']/entry/observation/effectiveTime/@value))...
    See more | Go to post
No activity results to display
Show More
Working...