XML XPath Array Comma Deliminated....

The following snippit of code works just fine.
However I need to take the p2 array and rebuild it to an array that separates the values by a comma.
I then can pass that into my SQL to support the Where In '1,2,3,' clause...
String [] p2 = xPath.getValues(xml, "ROOT/...");
// displays out the values of the XML file just fine
for (int i = 0; i < p2.length; i++) {
System.out.println("Provider Id:" + p2);
Need in this string comma deliminated form for the folowing SQL
Select .... Where provider_id in '11111,222222,333333'
Any ideas ?
TIA
Jay

Create a StringBuilder (Java 1.5) or StringBuffer to concatenate the values in p2.

Similar Messages

  • Problems with Sun One Web Server 6.1 javax.xml.xpath package not found

    I used myeclipse to build an xml app and tested on jboss. it worked perfectly. However when i deployed it to our solaris sun one web server the app fell apart completely with the following error. I m unable to figure out what went wrong. Any help will be much appreciated.
    Thanks.
    [11/Dec/2007:22:12:37] failure (13539):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
         /opt/SUNWwbsvr/test/ClassCache/test/_jsps/_feeds/_rss_jsp.java:8: package javax.xml.xpath does not exist
         import javax.xml.xpath.*;
         ^

    Thanks for the response. I tried to use xalan package which resolved the javax.xml.xpath package not found error (xalan.jar in WEB-INF/lib folder). However I m now getting the following error. Probably incompatible version is the reason. Please advise!
    [11/Dec/2007:23:46:28] failure (17028):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         javax.servlet.ServletException: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
         at _jsps._feeds._rss_jsp._jspService(_rss_new_jsp.java:627)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
         ----- Root Cause -----
         java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.xpath.jaxp.XPathImpl.eval(XPathImpl.java:207)
         at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:281)
         at _jsps._feeds._rss_new_jsp._jspService(_rss_jsp.java:165)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)

  • How to use XML / XPath in JAVA (in 1.4) which third part component to use?

    How to use XML / XPath in JAVA (in 1.4)
    I'm absolutely novice in XML
    but I need to query XML using XPath
    As I understand XPath become avalible only in Java 1.5
    But I use 1.4 (project requirement)
    Which third part component could you recomend?

    Can anyone help me with this XPath query
    I get result [title: null]
    import java.io.*;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.w3c.dom.*;
    import org.jaxen.*;
    import org.jaxen.dom.*;
    import org.jaxen.saxpath.*;
    import java.util.*;
    public class TestX {
         public void ggg() {
              try {
                   File f = new File("journal.xml");
                   DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
                   org.w3c.dom.Document doc = docBuilder.parse(f);
                   XPath xpath = new DOMXPath( "/journal/article/title" );
                   List result = (List) xpath.evaluate(doc);
                   System.out.println(result.get(0));
              } catch (Exception e) {
                       e.printStackTrace();
         public static void main(String[] args) {
              TestX tx = new TestX();
              tx.ggg();
    }journal.xml
    <journal>
        <article id="article.1">
            <title>Art1</title>
            <author>
               <first>Bob</first>
               <last>McWhirter</last>
            </author>
            <text>
            </text>
        </article>
        <article id="article.2">
            <title>Art2</title>
            <author>
               <first>James</first>
               <last>Strachan</last>
            </author>
            <text>
            </text>
        </article>
    </journal>

  • XSLProcessor.Process throws  oracle.xml.xpath.XPathException:

    I have a java application which is parsing an XMLDocument using XMLProcessor.process(xsl,doc);
    It works for many XML messages, and their related XSL transformers, but throws this error regarding a dayTimeDuration() function.
    I'm using XDK version 10g, Java release:xdk_linux_10.2.0.2.0_production
    Other transformations without this function work fine. What am I doing wrong?
    Any help is appreciated.
    The Error is:
    oracle.xml.xpath.XPathException: Parse Error in dayTimeDuration function.
    The XML is:
    <SPLIMCreatedUpdatedOrder Destination="RTS">
         <HeaderData>
              <TransactionCode>3001</TransactionCode>
         </HeaderData>
         <TaskData>
              <FieldOrderNumber>TEST00001</FieldOrderNumber>
              <OrderStatus>Unassigned</OrderStatus>
              <DivisionName>Oregon</DivisionName>
              <DistrictName>Albany District</DistrictName>
              <CustomerName>Kathy Foote</CustomerName>
              <CustomerAddress1>105 CORCORAN LN</CustomerAddress1>
              <CustomerAddress2>Apt 101</CustomerAddress2>
              <CustomerCityState>CENTRAL POINT, OR</CustomerCityState>
              <CustomerZipCode>97502</CustomerZipCode>
              <OrderType>CON</OrderType>
              <TaskNumber>0</TaskNumber>
              <TaskDuration>10</TaskDuration>
              <TaskPriority>3</TaskPriority>
              <TaskExternalPriority></TaskExternalPriority>
              <Longitude>-122.923269</Longitude>
              <Latitude>42.370841</Latitude>
              <EnrouteDateTime></EnrouteDateTime>
              <OnsiteDateTime></OnsiteDateTime>
              <CompletionDateTime></CompletionDateTime>
              <PrimaryOrderNumber></PrimaryOrderNumber>
              <DatabaseAction>U</DatabaseAction>
              <ServiceAreaName>Serviceman - OR - 11256</ServiceAreaName>
              <DivisionCode>OR</DivisionCode>
              <DistrictCode>11256</DistrictCode>
              <ServiceAreaCode>SVC01</ServiceAreaCode>
              <CompletionStatusCode>O</CompletionStatusCode>
              <TrackingStatusCode>U</TrackingStatusCode>
         </TaskData>
         <SchedulingData>
              <EarlyStartDateTime>2007-01-17T08:00:00</EarlyStartDateTime>
              <DueOnDateTime>2007-01-31T17:00:00</DueOnDateTime>
              <ApptStartDateTime></ApptStartDateTime>
              <ApptFinishDateTime></ApptFinishDateTime>
              <TimeZone></TimeZone>
         </SchedulingData>
         <AssignmentData>
              <PreferredCrewName></PreferredCrewName>
              <RequiredCrewName></RequiredCrewName>
              <PrimaryFunction>Service</PrimaryFunction>
              <SkillData></SkillData>
              <CapabilityData></CapabilityData>
         </AssignmentData>
    </SPLIMCreatedUpdatedOrder>
    The XSL is:
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xdt="http://www.w3.org/2003/05/xpath-datatypes" xmlns:eg="local" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
         <xsl:template match="SPLIMCreatedUpdatedOrder">
              <SOAP-ENV:Envelope
                   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   xmlns:ns2="http://mwm.splwg.com/webservices/packets/"
                   xmlns:ns1="http://mwm.splwg.com/webservices/"
                   xmlns:ns3="http://mwm.splwg.com/webservices/methods/">
              <xsl:variable name="databaseAction">
                   <xsl:value-of select="TaskData/DatabaseAction"/>
              </xsl:variable>
              <xsl:choose>
                   <xsl:when test="$databaseAction='A'">
                        <NEW_STOP>
                             <NEW_STOP_DATA>
                                  <PLAN_STOP>
                                       <IDENT>
                                            <xsl:value-of select="TaskData/FieldOrderNumber"/>
                                       </IDENT>
                                       <STATUS>
                                            <xsl:value-of select="TaskData/OrderStatus"/>
                                       </STATUS>
                                       <STARTED_DATE>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,1,4)"/>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,6,2)"/>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,9,2)"/>
                                       </STARTED_DATE>
                                       <STARTED_TIME>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,12,2)"/>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,15,2)"/>
                                       </STARTED_TIME>
                                       <COMPLETION_DATE>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,1,4)"/>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,6,2)"/>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,9,2)"/>
                                       </COMPLETION_DATE>
                                       <COMPLETION_TIME>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,12,2)"/>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,15,2)"/>
                                       </COMPLETION_TIME>
                                  </PLAN_STOP>
                                  <STOP>
                                       <IDENT>
                                            <xsl:value-of select="TaskData/FieldOrderNumber"/>
                                       </IDENT>
                                       <INITIAL_STATUS>FREE</INITIAL_STATUS>
                                       <JOB_DELAY>
                                            <xsl:value-of select="xs:int(TaskData/TaskDuration) * 60"/>
                                       </JOB_DELAY>
                                       <R_MUSTHAVE>
                                            <xsl:for-each select="AssignmentData">
                                                 <xsl:for-each select="SkillData">
                                                      <xsl:value-of select="."/>,</xsl:for-each>
                                            </xsl:for-each>
                                       </R_MUSTHAVE>
                                       <LATITUDE>
                                            <xsl:value-of select="TaskData/Latitude"/>
                                       </LATITUDE>
                                       <LONGTITUDE>
                                            <xsl:value-of select="TaskData/Latitude"/>
                                       </LONGTITUDE>
                                       <PRIMARY_STOP_ID>
                                            <xsl:value-of select="TaskData/PrimaryOrderNumber"/>
                                       </PRIMARY_STOP_ID>
                                       <STREET_NO>
                                            <xsl:value-of select="substring-before(TaskData/CustomerAddress1,' ')"/>
                                       </STREET_NO>
                                       <STREET>
                                            <xsl:value-of select="substring-after(TaskData/CustomerAddress1,' ')"/>
                                       </STREET>
                                       <CITY>
                                            <xsl:value-of select="substring-before(TaskData/CustomerCityState,',')"/>
                                       </CITY>
                                       <STATE>
                                            <xsl:value-of select="substring-after(TaskData/CustomerCityState,',')"/>
                                       </STATE>
                                       <POSTCODE>
                                            <xsl:value-of select="TaskData/CustomerZipCode"/>
                                       </POSTCODE>
                                  </STOP>
                                  <STOP_TW>
                                       <IDENT>
                                            <xsl:value-of select="TaskData/FieldOrderNumber"/>
                                       </IDENT>
                                       <STOP>
                                            <xsl:value-of select="TaskData/FieldOrderNumber"/>
                                       </STOP>
                                       <xsl:if test="string-length(SchedulingData/ApptStartDateTime) > 0">
                                            <xsl:variable name="apptDuration">
                                                 <xsl:value-of select="xs:dayTimeDuration(xs:dateTime(SchedulingData/ApptFinishDateTime)-xs:dateTime(SchedulingData/ApptStartDateTime))"/>
                                            </xsl:variable>
                                            <START_DATE>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,1,4)"/>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,6,2)"/>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,9,2)"/>
                                            </START_DATE>
                                            <START_TIME>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,12,2)"/>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,15,2)"/>
                                            </START_TIME>
                                            <xsl:variable name="iTotalHours">
                                                 <xsl:value-of select="xs:int(days-from-duration($apptDuration) * 24 + hours-from-duration($apptDuration))"/>
                                            </xsl:variable>
                                            <xsl:variable name="iMinutes">
                                                 <xsl:value-of select="xs:int(minutes-from-duration($apptDuration))"/>
                                            </xsl:variable>
                                            <DURATION>
                                                 <xsl:if test="not ($iTotalHours > 99)">0</xsl:if>
                                                 <xsl:if test="not ($iTotalHours > 9)">0</xsl:if>
                                                 <xsl:value-of select="xs:string($iTotalHours)"/>
                                                 <xsl:if test="not ($iMinutes > 60)">0</xsl:if>
                                                 <xsl:value-of select="xs:string($iMinutes) "/>
                                            </DURATION>
                                       </xsl:if>
                                       <!---->
                                       <xsl:if test="string-length(SchedulingData/ApptStartDateTime) = 0">
                                            <xsl:variable name="apptDuration">
                                                 <xsl:value-of select="xs:dayTimeDuration(xs:dateTime(SchedulingData/DueOnDateTime) - xs:dateTime(SchedulingData/EarlyStartDateTime))"/>
                                            </xsl:variable>
                                            <START_DATE>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,1,4)"/>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,6,2)"/>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,9,2)"/>
                                            </START_DATE>
                                            <START_TIME>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,12,2)"/>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,15,2)"/>
                                            </START_TIME>
                                            <xsl:variable name="iTotalHours">
                                                 <xsl:value-of select="xs:int(days-from-duration($apptDuration) * 24 + hours-from-duration($apptDuration))"/>
                                            </xsl:variable>
                                            <xsl:variable name="iMinutes">
                                                 <xsl:value-of select="xs:int(minutes-from-duration($apptDuration))"/>
                                            </xsl:variable>
                                            <DURATION>
                                                 <xsl:if test="not ($iTotalHours > 99)">0</xsl:if>
                                                 <xsl:if test="not ($iTotalHours > 9)">0</xsl:if>
                                                 <xsl:value-of select="xs:string($iTotalHours)"/>
                                                 <xsl:if test="not ($iMinutes > 60)">0</xsl:if>
                                                 <xsl:value-of select="xs:string($iMinutes) "/>
                                            </DURATION>
                                       </xsl:if>
                                  </STOP_TW>
                             </NEW_STOP_DATA>
                        </NEW_STOP>
                   </xsl:when>
                   <xsl:when test="$databaseAction='U'">
                        <UPDATE_STOP>
                             <UPDATE_STOP_DATA>
                                  <PLAN_STOP>
                                       <IDENT>
                                            <xsl:value-of select="TaskData/FieldOrderNumber"/>
                                       </IDENT>
                                       <STOP>
                                            <xsl:value-of select="TaskData/FieldOrderNumber"/>
                                       </STOP>
                                       <STATUS>
                                            <xsl:value-of select="TaskData/OrderStatus"/>
                                       </STATUS>
                                       <STARTED_DATE>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,1,4)"/>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,6,2)"/>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,9,2)"/>
                                       </STARTED_DATE>
                                       <STARTED_TIME>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,12,2)"/>
                                            <xsl:value-of select="substring(TaskData/OnsiteDateTime,15,2)"/>
                                       </STARTED_TIME>
                                       <COMPLETION_DATE>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,1,4)"/>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,6,2)"/>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,9,2)"/>
                                       </COMPLETION_DATE>
                                       <COMPLETION_TIME>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,12,2)"/>
                                            <xsl:value-of select="substring(TaskData/CompletionDateTime,15,2)"/>
                                       </COMPLETION_TIME>
                                  </PLAN_STOP>
                                  <STOP>
                                       <IDENT>
                                            <xsl:value-of select="TaskData/FieldOrderNumber"/>
                                       </IDENT>
                                       <INITIAL_STATUS>FREE</INITIAL_STATUS>
                                       <JOB_DELAY>
                                            <xsl:value-of select="xs:int(TaskData/TaskDuration) * 60"/>
                                       </JOB_DELAY>
                                       <R_MUSTHAVE>
                                            <xsl:for-each select="AssignmentData">
                                                 <xsl:for-each select="SkillData">
                                                      <xsl:value-of select="."/>,</xsl:for-each>
                                            </xsl:for-each>
                                       </R_MUSTHAVE>
                                       <LATITUDE>
                                            <xsl:value-of select="TaskData/Latitude"/>
                                       </LATITUDE>
                                       <LONGTITUDE>
                                            <xsl:value-of select="TaskData/Latitude"/>
                                       </LONGTITUDE>
                                       <PRIMARY_STOP_ID>
                                            <xsl:value-of select="TaskData/PrimaryOrderNumber"/>
                                       </PRIMARY_STOP_ID>
                                       <STREET_NO>
                                            <xsl:value-of select="substring-before(TaskData/CustomerAddress1,' ')"/>
                                       </STREET_NO>
                                       <STREET>
                                            <xsl:value-of select="substring-after(TaskData/CustomerAddress1,' ')"/>
                                       </STREET>
                                       <CITY>
                                            <xsl:value-of select="substring-before(TaskData/CustomerCityState,',')"/>
                                       </CITY>
                                       <STATE>
                                            <xsl:value-of select="substring-after(TaskData/CustomerCityState,',')"/>
                                       </STATE>
                                       <POSTCODE>
                                            <xsl:value-of select="TaskData/CustomerZipCode"/>
                                       </POSTCODE>
                                  </STOP>
                                  <STOP_TW>
                                       <IDENT>
                                            <xsl:value-of select="TaskData/FieldOrderNumber"/>
                                       </IDENT>
                                       <xsl:if test="string-length(SchedulingData/ApptStartDateTime) > 0">
                                            <xsl:variable name="apptDuration">
                                                 <xsl:value-of select="xs:dayTimeDuration(xs:dateTime(SchedulingData/ApptFinishDateTime)-xs:dateTime(SchedulingData/ApptStartDateTime))"/>
                                            </xsl:variable>
                                            <START_DATE>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,1,4)"/>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,6,2)"/>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,9,2)"/>
                                            </START_DATE>
                                            <START_TIME>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,12,2)"/>
                                                 <xsl:value-of select="substring(SchedulingData/ApptStartDateTime,15,2)"/>
                                            </START_TIME>
                                            <DURATION>
                                                 <xsl:if test="not (xs:hours-from-duration($apptDuration) > 99)">0</xsl:if>
                                                 <xsl:if test="not (xs:hours-from-duration($apptDuration) > 9)">0</xsl:if>
                                                 <xsl:value-of select="xs:hours-from-duration($apptDuration)"/>
                                                 <xsl:if test="not (xs:minutes-from-duration($apptDuration) > 9)">0</xsl:if>
                                                 <xsl:value-of select="xs:minutes-from-duration($apptDuration)"/>
                                            </DURATION>
                                       </xsl:if>
                                       <!---->
                                       <xsl:if test="string-length(SchedulingData/ApptStartDateTime) = 0">
                                            <xsl:variable name="apptDuration">
                                                 <xsl:value-of select="xs:dayTimeDuration(xs:dateTime(SchedulingData/DueOnDateTime) - xs:dateTime(SchedulingData/EarlyStartDateTime))"/>
                                            </xsl:variable>
                                            <START_DATE>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,1,4)"/>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,6,2)"/>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,9,2)"/>
                                            </START_DATE>
                                            <START_TIME>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,12,2)"/>
                                                 <xsl:value-of select="substring(SchedulingData/EarlyStartDateTime,15,2)"/>
                                            </START_TIME>
                                            <xsl:variable name="iTotalHours">
                                                 <xsl:value-of select="xs:int(days-from-duration($apptDuration) * 24 + hours-from-duration($apptDuration))"/>
                                            </xsl:variable>
                                            <xsl:variable name="iMinutes">
                                                 <xsl:value-of select="xs:int(minutes-from-duration($apptDuration))"/>
                                            </xsl:variable>
                                            <DURATION>
                                                 <!-- Add leading zeros -->
                                                 <xsl:if test="not ($iTotalHours > 99)">0</xsl:if>
                                                 <xsl:if test="not ($iTotalHours > 9)">0</xsl:if>
                                                 <xsl:value-of select="xs:string($iTotalHours)"/>
                                                 <xsl:if test="not ($iMinutes > 60)">0</xsl:if>
                                                 <xsl:value-of select="xs:string($iMinutes) "/>
                                            </DURATION>
                                       </xsl:if>
                                  </STOP_TW>
                             </UPDATE_STOP_DATA>
                        </UPDATE_STOP>
                   </xsl:when>
              </xsl:choose>
              </SOAP-ENV:Envelope>
         </xsl:template>
    </xsl:stylesheet>

    The code is appended:
    public XMLElement TransformDoc(XMLDocument doc, String xslFile){
         DOMParser           parser;
         XMLDocument      xsldoc;
         URL                xslURL;
         try {
         // Parse xsl and xml documents
         xsldoc = new XMLDocument();
         parser = new DOMParser();
         // Parse the XSL file
         xslURL = createURL(xslFile);
         parser.parse(xslURL);
         xsldoc = parser.getDocument();
         // Instantiate a stylesheet
         XSLProcessor processor = new XSLProcessor();
         processor.setBaseURL(xslURL);
         XSLStylesheet xsl = processor.newXSLStylesheet(xsldoc);
         // Display any warnings that may occur
         processor.showWarnings(true);
         processor.setErrorStream(System.err);
         XMLDocumentFragment result = processor.processXSL(xsl, doc);

  • How to convert from XML to Array ?

    how to convert from XML to Array ?
    thanks in advance

    this is a segment of the xml object:
    var myXML:XML =
    <data>
    <task>
    <taskID>2</taskID>
    <startDate>2/15/2007</startDate>
    </task>
    </data>
    i want to conver myXML into ArrayCollection: like this:
    private var expenses:Array = [
    {taskID:"1", startDate:"2/15/2007"},
    {taskID:"2", startDate:"4/15/2007"}
    how i can do it ? and tell me how to retrieve the data from
    the collection
    thanks

  • All the xml and arrays are getting NULL Problem

    Hello guys
    I am working on a project which uses xml loading, e4x and array manipulation extensively, and it was going good but now I got stuck on a strange problem.  Whole code was fine and application was working and responding in a desired way, but then mystourisly it stopped working and started to retun NULL values to almost all the actionscript (internal) Arrays and XML varibales.
    Now Whenever i load xml file and assign the loaded values to internal xml variables, internal values get only NULL instead of data.
    Same is the situation with Arrays, I created some components in mxml, and when i passed them to arrays by reference, code gets compiled successfully, but again Array has only null values [that code was working fine too]
    I am wondering if Adobe Flex did a silenced update or something similar and it is the result of that things !
    I am using Adobe Flex 3.2 with SDK 3.3 on windows Vista Ultimate.
    Please check this attached project, Import it and see if you face the same problem
    Thanks
    Link to Problem Project
    http://isolatedperson.googlepages.com/problemXperiment.zip
    Problem Screenshot
    http://isolatedperson.googlepages.com/xmlissue.JPG

    Use HTTPService to load the data. You'll have fewer problems.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application creationComplete="dataSvc.send();"
      xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
         <mx:Script>
              <![CDATA[
                import mx.collections.XMLListCollection;
                import mx.rpc.events.ResultEvent;
                [Bindable] private var xlc:XMLListCollection;
                   private function loadXML(evt:ResultEvent):void{
                    xlc =  new XMLListCollection(evt.result.individual.@id as XMLList);
              ]]>
         </mx:Script>
         <mx:HTTPService resultFormat="e4x" result="loadXML(event)" url="alirazaTree.xml" id="dataSvc"/>
         <mx:ComboBox id="cbx" dataProvider="{xlc}"/>
    </mx:Application>

  • Equivalent of SQL JOINs using XML + XPath

    I have been working on a Java app for a while that takes user queries and searches various translations of the Bible. The data is stored in 66 .xml files, one per book of the Bible, and those files, in turn, are stored in a .jar file.
    The user may select 2 or more translations and see them in parallel. So for example, let's say that want Matthew chapter 1 and verses 1 to 10 from KJV and ASV. I simply use the following XPath expression: /book/chapter[@num=1]/verse[@num>=1 and @num<=10] . Then I use XPathFactory, XPath, compile() and evaluate() on Matthew.xml from kjv.jar and asv.jar.
    However, the problem is not so simple for keyword queries from the user. In such a case the tool searches for keywords in one translation and then finds the same verses from all subsequent translations. Here the XPath expression might be more like: /book/chapter/verse[contains(., 'keyword1') and contains(., 'keyword2')] for the first translation. However, if I ran the same query on subsequent translations they may or may not return the exact same set of verses (depending on language (English, Greek, Hebrew) and also on the dialect (Old English vs. Modern English)). So, my question is what is the most efficient way of obtaining the same verses from subsequent translations?
    I could simply look up the verses in the first translation, then use DOM API calls to find the chapter and verse numbers, and look those up in the other translations. But this seems tedious, SLOW, and possibly more error prone.
    Also, a second question: if I wanted to include a help file in my application's .jar file. How could I access that file programmatically? That is, how do I tell the application to look for "help.html" in the jar file so I can manipulate and/or display the contents to the user?
    And last question: since, I'm still learning my way around Java and XML, how would I go about programmatically applying a .xsl file to some given .xml input to produce HTML + CSS output? What classes, interfaces, etc. should I look up for this? And can anyone point me to sample code online for this?

    However, the problem is not so simple for keyword
    queries from the user. In such a case the tool
    searches for keywords in one translation and then
    finds the same verses from all subsequent
    translations. Here the XPath expression might be
    more like: /book/chapter/verse[contains(.,
    'keyword1') and contains(., 'keyword2')] for the
    first translation. However, if I ran the same query
    on subsequent translations they may or may not return
    the exact same set of verses (depending on language
    (English, Greek, Hebrew) and also on the dialect (Old
    English vs. Modern English)). So, my question is
    what is the most efficient way of obtaining the same
    verses from subsequent translations?
    I could simply look up the verses in the first
    translation, then use DOM API calls to find the
    chapter and verse numbers, and look those up in the
    other translations. But this seems tedious, SLOW,
    and possibly more error prone.There's nothing in XPath that I know of that helps with this. SQL is relational, XML is hierarchical. They're fundamentally different.
    Also, a second question: if I wanted to include a
    help file in my application's .jar file. How could I
    access that file programmatically? That is, how do I
    tell the application to look for "help.html" in the
    jar file so I can manipulate and/or display the
    contents to the user?If it's an HTML file, it's likely that you'll package it in a WAR file, along with the rest of your app. It's accessible as a URL that way.
    And last question: since, I'm still learning my way
    around Java and XML, how would I go about
    programmatically applying a .xsl file to some given
    .xml input to produce HTML + CSS output? What
    classes, interfaces, etc. should I look up for this?.xsl transformations are applied using XSL-T engines, like Apache's Xalan. You would embed the HTML that you want to inject the XML data into in the XSL-T stylesheet.
    That's one way. Another is to use a templating alternative like Velocity.
    And can anyone point me to sample code online for this?Try the Apache Xalan docs. Or this:
    http://www.cafeconleche.org/books/xmljava/chapters/ch17.html
    %

  • Problems using java.xml.xpath - How to get values from DTMNodeList?

    Sorry for the waffle in the subject title, but I was unsure what to call it. I hope this thread is in the correct forum.
    I'm having problems using xpath to parse some data from an XML file. I am able to create an expression which obtains the elements I wish to retreive, but I'm unsure on how to go about getting their values. So far I have..
    public int getTerms(int PMID)
              String uri = "http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id="
                           + PMID + "&retmode=xml";
              // Create an XPath object with the XPathFactory class
              XPathFactory factory = XPathFactory.newInstance();
              XPath xPath = factory.newXPath();
              // Define an InputSource for the XML article
              InputSource inputSource = new InputSource(uri);
              // Create the expression
              String expression = "/PubmedArticleSet/PubmedArticle/MedlineCitation/MeshHeadingList/MeshHeading/DescriptorName";
              // Use this expression to obtain a NodeSet of all the MeSH Headings for the article
              try
                   DTMNodeList nodes = (DTMNodeList) xPath.evaluate(expression,
                         inputSource, XPathConstants.NODESET);
                   int length = nodes.getLength();
                   String[] terms = new String[length];
                   // Test mesh terms are being stored.
                    *for (int i=0; i<length; i++)*
    *                    System.out.println(i + ": " + nodes.item(i).getNodeValue());*
                                                    return nodes.getLength();
              catch (XPathExpressionException e2)
              { System.out.println("Article with PMID " + PMID + " has no associated MeSH terms");}
              // return a default
              return 0;
         } The part in bold is the problematic code. I wish to retreive the values of each of the nodes I have taken into my DTMNodeList using a for loop to iterate through each node, and use the getNodeValue() method from the Node class which should return a string. However, the values I retreive are NULL. In the test document I use, the elements do have values.
    Here is a snippet of the XML file I am reading in:
    <MeshHeadingList>
      <MeshHeading>
      <DescriptorName MajorTopicYN="N">Binding Sites</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Chromatium</DescriptorName>
      <QualifierName MajorTopicYN="Y">enzymology</QualifierName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="Y">Cytochrome c Group</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Electron Spin Resonance Spectroscopy</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Flavins</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Heme</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Hydrogen-Ion Concentration</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Iron</DescriptorName>
      <QualifierName MajorTopicYN="N">analysis</QualifierName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Magnetics</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Oxidation-Reduction</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Protein Binding</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Protein Conformation</DescriptorName>
      </MeshHeading>
    - <MeshHeading>
      <DescriptorName MajorTopicYN="N">Temperature</DescriptorName>
      </MeshHeading>
      </MeshHeadingList>Any help would be appreciated.. thanks :-)

    Answered my own question....
    The element value is actually the child of the node I am current at, so instead of doing:
    i + ": " + nodes.item(i).getNodeValue()); I should have really done:
    i + ": " + nodes.item(i).getChildNode().getNodeValue());

  • XML newbie question - xml into arrays

    I am pretty new xml and I am working with a file that has
    text
    associated with images in the file and I would like to move
    the text
    into a xml document.
    I heard that a good way to deal with xml is to load it into
    an array. I
    have my text set up in arrays already, so my whole file
    aready works in
    that way. So all I have to do is load my xml document into my
    arrays. I
    have the xml document loading fine, but I don't know how to
    get the info
    into my arrays.
    My xml document looks like this:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <index_content>
    <image no="1">
    <imgLink>"pages/collection.html"</imgLink>
    <title>"Title 01"</title>
    <text>"Text bla bla, bla 01, Text bla bla, bla
    01"</text>
    <corner>"unisex"</corner>
    </image>
    <image no="2">
    <imgLink>"pages/collection.html"</imgLink>
    <title>"Title 02"</title>
    <text>"Text bla bla, bla 02, Text bla bla, bla
    02"</text>
    <corner>"men’s & women’s"</corner>
    </image>
    <image no="3">
    <imgLink>"pages/collection.html"</imgLink>
    <title>"Title 03"</title>
    <text>"Text bla bla, bla 03, Text bla bla, bla
    03"</text>
    <corner>"men’s & women’s"</corner>
    </image>
    <image no="4">
    <imgLink>"pages/collection.html"</imgLink>
    <title>"Title 04"</title>
    <text>"Text bla bla, bla 04, Text bla bla, bla
    04"</text>
    <corner>"men’s & women’s"</corner>
    </image>
    </index_content>
    My arrays in Flash are:
    var imgLinkURLs:Array = [];
    var imgTitles:Array = [];
    var imgTexts:Array = [];
    var imgCornerLabel:Array = [];
    So I think i need for loops pushing for example imgLink from
    image no1
    into imgLinkURLs array, then push imgLink from image no2, and
    so forth.
    Then do the same for imgTitle and the other arrays...
    How would I do this the right way?

    you can do it in just one loop, going through all the image
    tags in index_content and for each tag fill the values of all four
    arrays
    for (i...) {
    get the appropriate child of index_content
    first_array[ i ] = value of first tag
    second_array[ i ] = value of second tag
    no need for multiple loops.
    flash has functionality for xml files, but it helps to write
    a little wrapper around it, to simplify programming, especially if
    you work with xml a lot.. I wrote my for work, so I can't show it
    to you, but it's not very complicated to do

  • XML and Array issue

    I've created an array that loads data from an XML file. Now,
    when a button is pressed I want this array to delete all previous
    elements found in the array and add new elements coming from the
    same XML file. So I created a function called arrayUpdate, here it
    is...
    function arrayUpdate():Void{
    myArray.splice(myArray.length);
    When the button is pressed it first calls this arrayUpdate
    function and then calls the other function which loads the specific
    data from the XML file. But I can't get it to work. It just keeps
    adding new data to the old data. Did I do something wrong
    here?

    function arrayUpdate():Void {
    delete myArray;
    var myArray:Array = new Array();
    }

  • XSLT with XML XPath references

    I have not used XSLT, and don't need to much, but have questions on creating XML that will be used by client's XSLT.
    We are using a tool (xstream) that automatically transforms a Java object into XML. When it has multiple references to the same object, instead of expanding it in each place, it refers to the previous location of the object. It can do this in two ways (examples below).
    My question is, can XSLT use the XPath or RefID to navigate the XML? I know XSLT uses XPath, but I'm not sure if it uses it in this way.
    -- Note in the following examples how 'type' and 'item' are the exact same object, and the second instance of the object refers to the first location in the XML doc.
    <saleLineItemGrouping>
      <item class="item">
        <id>3000</id>
        <retailPrice>
          <type>
             <code>USD</code>
             <description>US Dollars</description>
             <decimalPlaces>2</decimalPlaces>
             <locale>en_US</locale>
          </type>
          <amount>400000000</amount>
        </retailPrice>
        <markdownAmount>
          <type reference="../../retailPrice/type"/>
          <amount>0</amount>
        </markdownAmount>
      </item>
      <lineItems>
        <saleLineItem>
          <item class="item" reference="../../../item"/>
    <saleLineItemGrouping id="1">
      <item class="item" id="2">
        <id>3000</id>
        <retailPrice id="3">
          <type id="4">
             <code>USD</code>
             <description>US Dollars</description>
             <decimalPlaces>2</decimalPlaces>
             <locale id="5">en_US</locale>
          </type>
          <amount>400000000</amount>
        </retailPrice>
        <markdownAmount id="6">
          <type reference="4"/>
          <amount>0</amount>
        </markdownAmount>
      </item>
      <lineItems id="7">
        <saleLineItem id="8">
          <item class="item" reference="2"/>

    So as I read your answer, I understand XSLT cannot
    "construct XPath expressions." But, can it read in
    XML with that XPath notation?Sure, it can read in that XML. It's well-formed XML so why not? But I gather you want your XSLT to take those attributes, whose values are strings, and interpret those strings as XPath expressions. That, XSLT can't do.
    To put it another way, the XPath expressions in an XSLT stylesheet have to be basically hard-coded there. So you could possibly solve your problem by first transforming the XML into an XSLT containing those expressions; e.g.<type reference="../../retailPrice/type"/>could be transformed into<xsl:value-of select="../../retailPrice/type"/>and then use that XSLT to do the actual transforming. But it would be extremely difficult to make that work -- I wouldn't want to have to do it myself.
    The second idea, using reference="2" to refer to <item class="item" id="2">, is much more feasible.
    Thank you for your replies and your patience.You're welcome. Have fun with XSLT.

  • SQL (Injection) Vs Flat File TXT Vs XML (XPath Injection) For Database.

    I will have to deal with robust login sessions so I need some advice on what type of database and language I will use.
    PHP and MySQL is the choice but I hear that flat file TXT are more faster so I am thinking about Perl.
    Perl is very flexiple and have many advantages but why do many folks use PHP.
    SQL and XPath injection are becoming more frequent plus MD5 and SH512 have been cracked by some angry folks.
    The Perl community is becoming very small so it will be difficult to receive support if I have a specific problem.

    In our projects we are extracting SMS messages and
    based on the
    MISDN (Telephone number) of each SMS we are fetching
    the corresponding
    account information (server name and password) from
    the database through (connecting through)
    webservice.The data is stored in the DB which you are accessing through a webserivce and that's too slow and unreliable so you are caching the results in a text file...
    That's horrible. The party responsible for the webservice should be fixing it or you should rethink the architecture. All this extra complexity and basically it's just causing problems for you. You'd be better off just accessing the DB directly. I assume this is possible since you know there is a database. In a good SOA architecture, you should not know or care about where the data is persisted.
    This webservice connection is slow/unreliable so a
    local copy of the
    MISDN number and corresponding account information
    are stored/updated in flat files tp prevent repeated
    accessing through webservice.
    My question is-which will be faster for accessing,
    using txt file or xml or a different format.I don't think it's going to matter much at all for the numbers you site, unless you are running this on a 20 year old PC or something.
    But I think you are addressing the wrong problem.

  • XML/XPath question--how to select a range of elements with XPath?

    Hi there,
    I have an XML DOM in memory. I need to do hold it and issue only parts of it to my client app in "pages". Each page would be a self-contained XML doc, but would be a subset of the original doc. So for instance the first page is top-level elements 1-5. 2nd page would be 6-10 etc. Is this solution best solved with XPath? If not, what's the best way? If so, I have the following question:
    Is there a way to use XPath to select a range of nodes based on position within the document? I know I can do an XPath query that will return a single Node based on position. So for example if I wanted the first node in some XML Book Catalog I could do XPathAPI.selectSingleNode(doc, "/Catalog/Book[position()=1]"); I could wrap the previous call in a loop, replacing the numeric literal each time, but that seems horribly inefficient.
    Any ideas? Thanks much in advance!
    Toby Buckley

    Your question is about marking a range of cells. 99% of the code posted has nothing to do with this. If you want to create a simple table for test purposes then just do:
    JTable table = new JTable(10, 5);
    JScrollPane scrollPane = new JScrollPane( table );
    getContentPane().add( scrollPane );
    In three line of code you have a simple demo program.
    When I leave the mouse button again, these bunch/range of cells shall stay "marked". table.setCellSelectionEnabled( true );
    and I'd like to obtain, say, a vector of a vector containing just those data marked beforeUse the getSelectedRows() and getSelectedColumns() methods for this information. I would suggest you create a Point object to reflect the row/column position and then add the point to an ArrayList.

  • XML & XPath vs databse & SQL

    Hey people. I was wondering what people think of the above. Take for example a website a bit like autotrader.co.uk...
    A website with a database back-end where registered users can view and modify a part of the database (some but not all tables and their entries) via a search and addition/deletion of its content respecively.
    Now when users of your website use its search facility you can use SQL to query the database accordingly.
    My question is whether or not it would be feasible to represent the whole/relevant part of the database in XML, and update this XML representation every time content is added/removed from the database. Then use XPath for all database queries (by users via the website)?
    My thoughts are that although the update of the XML representation would require one big read of the database each time it is modified (more server-side work than otherwise when it comes to updates) no reads would be required for database quieries (there would be less server-side work when it comes quieries as no database connection would be required).
    Also assuming the number of searches on the database heavily outweights modifications of it leads me to think that the above might be a good idea. Your opinions please...

    I think attempting to represent all the database as XML (at any time except when it has hardly any data) will rapidly result in a memory scaling lmitation.
    XML, generally, should be used for remote communication, exposing services and/or persisting small amounts of data, such as configuration settings. XML parsing is generally an expensive operation.
    That having been said, there are database vendors, notably Oracle, that allow data within the database itself to be stored as XML and queried using SQL or x-Path. This, IMO, would be a more valid implementation. However, storing XML should always be more inefficient, from a disk space perspective, than simply storing the actual data values contained within the XML.
    - Saish

  • [XML/XPATH] jaxen : problem with "parent" function

    Hello
    I have a problem with jaxen, when I try to use the XPath function parent :
    When I try this :
    import ...
    DocumentNavigator dn=new DocumentNavigator();
    try {
    objet=dn.getDocument("TESTXPath.xml");
    apath=dn.parseXPath("/Entry/Resultats/step/Population/individu/*");
    result=apath.evaluate(objet);
    System.out.println(result);
    apath=dn.parseXPath("/Entry/Resultats/step/Population/parent::*");
    result=apath.evaluate(objet); // ---> exception
    System.out.println(result);
    catch(Exception e) {
    e.printStackTrace();
    The first result is well displayed, but just before the second, I catch this exception:
    Exception in thread "main" java.lang.NoSuchMethodError: org.jdom.Element.getParent()Lorg/jdom/Element; at org.jaxen.jdom.DocumentNavigator.getParentAxisIterator(DocumentNavigator.java: 252)
    at org.jaxen.expr.iter.IterableParentAxis.iterator(IterableParentAxis.java:82)
    at org.jaxen.expr.DefaultStep.axisIterator(DefaultStep.java:139)
    at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:188)
    at org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLocationPat h.java:126)
    at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:107)
    at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:716)
    at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:239)
    at org.jaxen.BaseXPath.evaluate(BaseXPath.java:196)
    at MainTestClass.main(MainTestClass.java:85)
    However, the first query works good and I received list so I'm quite sure that it's not a problem of unfindable elements.
    Finaly I can't be syccessful to use XPath parent function:
    Either I catch an exception, or it returns nothing or empty list
    Isn't the XPath syntax correct in my second expression ?
    Can we do :
    /.../.../parent::* ? ou //individu/parent::* ?

    Thanks
    I think so, but.
    In fact I don't think I'm using different version of JDOM.
    I use eclipse with jdk1.4.2.
    I have downloaded JDOM-b10 and the only things I have done is to extract zip archive and to add all .jar files of the jdom directory in my library path.
    Do this is the only version of JDOM I'm using.
    All works perfectly excepted only the XPath parent method. It's strange that the other methods work fine.
    I don't knnow how to solve this problem ! so if you can help me I be very thankfull.

Maybe you are looking for

  • Logon Failed DAO Error Code Oxccb

    I received a new project for the creation of a Crystal Report in the form of an Excel spreadsheet.  I created the report, but then my boss decided to modify the spreadsheet.  I saved his new file as the same name as the old file and said replace.  Th

  • Any software can run J2ME in Pocket PC 2003?

    I found that there are some software can support J2ME in PPC 2002. As I want to upgrad to PPC2003, any JVM can support J2ME in this OS. Thanks a lot.

  • Transport of ABAP Unit Test Classes between systems.

    Hi guys I have a bit of a dilemma on hands here pertaining to the transport of ABAP Unit test classes. Generally when you create a transport containing classes the transport manager will automatically include all "programs" related to the class like

  • Restriction of Campaign's in Lead Transaction Screen in IC Role.

    Hello, I am working on a CRM Web Ui project where we create campaigns in the marketing role, when creating the campaign we do have the tab products where the user will enter the product id, the category id which is assigned to it will get defaulted,

  • JApplet ... where are you?

    hi i've the following problem i'm developing an applet based on JApplet. When i try to load it from a tomcat server nothing happen except that on the server stdout, where happen Ctx (/opm) : 404 R(javax.swing.JApplet.class) ...looks like i doesn't fi