Package com.marklogic.xcc

Examples of com.marklogic.xcc.ResultSequence.itemAt()


  public void testRelToAbs8() throws Exception {
    XdmValue[] params = new XdmValue[] {
        ValueFactory.newXSString(absURL),
        ValueFactory.newXSString("#lena")};
    ResultSequence rs = executeLibraryModule(modulePath, moduleNamespace, "rel-to-abs", params);
    String s = (String)rs.itemAt(0).asString();
    assertEquals(s, "http://www.example.com/a/b/c#lena");         
  }
 
  public void testRelToAbs9() throws Exception {
    XdmValue[] params = new XdmValue[] {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.