How to get child elements of element in xml?

public class Test {
     public static void main(String[] args) {
          Document doc = null;
          System.out.println("!!!");
          try {
               // TODO if path is 'c:' then make it 'c:/'
               doc=DocumentBuilderFactory.newInstance().newDocumentBuilder().parse("test.xml");
          } catch (Exception e) {
               System.out.println("exception");
          Element root = doc.getDocumentElement();
          NodeList dsList = root.getElementsByTagName("GenericDataSource");
          Element e = (Element)dsList.item(0);
         NodeList nl = e.getChildNodes();
         System.out.println(nl.getLength());
         Node n  = nl.item(0);
         Element ee = (Element)n;
}i want to get child elements. but its throwing exception on typecasting. can u tell me why?

thanks for the info.
i got 2 solutions
SOLUTION 1:
public class Test {
     public static void main(String[] args) throws Exception {
          Document doc = null;
          System.out.println("!!!");
          try {
               // TODO if path is 'c:' then make it 'c:/'
               doc=DocumentBuilderFactory.newInstance().newDocumentBuilder().parse("test.xml");
          } catch (Exception e) {
               System.out.println("exception");
          Element root = doc.getDocumentElement();
          NodeList dsList = root.getElementsByTagName("GenericDataSource");
          Element e = (Element)dsList.item(0);
         NodeList nl = e.getChildNodes();
         int count = 0;
         System.out.println(nl.getLength());
         for(int i=0;i<nl.getLength();i++){
                  Node n  = nl.item(i);
                 //System.out.println(n.getClass().getName()); 
                 //System.out.println((Element)n);
                 if(n instanceof Element){ // this checks for node type
                      count++;
                      System.out.println("Element "+(Element)n);
SOLUTION 2: :
XPath xpath  = XPathFactory.newInstance().newXPath();
         InputSource inputSource = new InputSource("test.xml");
         NodeList nodes = (NodeList) xpath.evaluate("//GenericDataSource/*", inputSource, XPathConstants.NODESET);
         System.out.println(nodes.getLength());
         System.out.println((Element)nodes.item(9));

Similar Messages

  • How to check the element  in xml file by xpath

    hi all,
    * How to check the element in xml file by xpath
    for the following XML file,
    * I want to check whether
    the element (sage) is present or not in the following xml file XPATH expression...
    * I have tried by the following expression ,
    NodeList result = (NodeList) xpath.evaluate("//*:student/*:sage/text()",xml_dom,XPathConstants.STRING);
    System.out.println(result.item(0).getLocalName()); * I want to get the Element sage as String value....
    but i am not able to get the element,why that ??? and How to do that ???
    MyXML File :
    <x:student>
    <x:sname>aaa</x:sname>
    <x:sage>26</x:sage>
    </x:student>
    Thanks,
    JavaImran

    <code>* Thanks for reply....
    * </code><code>In </code>
    <code>x:student element x represents the namespace...thats why i put *:student in my expression....
    "//*[local-name() = 'student']/*[local-name() = 'sage']/text()"* By the above code , i am not able to get the sage as string from
    </code> resul.item(0).getLocalName() method.......?
    * How to get that as string format ?

  • How to get the attribute value of an XML file??

    How to get the attribute value of an XML file??
    For example, how to get name and age attributes?
    <student name="Joe" age="20" />

    What are you using to read the XML file??
    On the assumption of JDOM - www.jdom.org. Something along the lines of:SAXBuilder builder = new SAXBuilder(true);
    Document doc = builder.build(filename);
    Element root = doc.getRootElement();
    List children = root.getChildren();
    Element thisElement = (Element)children.get(n);
    String name = thisElement.getAttributeValue("name")
    try
         int age = Integer.parseInt(thisElement.getAttributeValue("age"));
    catch (Exception ex)
         throw new InvalidElementException("Expected an int.....");
    }Ben

  • How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?

    How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
    Hi,
    I do generate XML-Files by using DBMS_XMLGEN with output by UTL_FILE
    but it seems, the xml-Datafile I get on end is not really UTF-8 encoding
    ( f.ex. cannot verifying it correct in xmlspy )
    my dbms is
    NLS_CHARACTERSET          = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET     = AL16UTF16
    NLS_RDBMS_VERSION     = 10.2.0.1.0
    I do generate it in this matter :
    declare
    xmldoc CLOB;
    ctx number ;
    utl_file.file_type;
    begin
    -- generate fom xml-view :
    ctx := DBMS_XMLGEN.newContext('select xml from xml_View');
    DBMS_XMLGEN.setRowSetTag(ctx, null);
    DBMS_XMLGEN.setRowTag(ctx, null );
    DBMS_XMLGEN.SETCONVERTSPECIALCHARS(ctx,TRUE);
    -- create xml-file:
    xmldoc := DBMS_XMLGEN.getXML(ctx);
    -- put data to host-file:
    vblob_len := DBMS_LOB.getlength(xmldoc);
    DBMS_LOB.READ (xmldoc, vblob_len, 1, vBuffer);
    bHandle := utl_file.fopen(vPATH,vFileName,'W',32767);
    UTL_FILE.put_line(bHandle, vbuffer, FALSE);
    UTL_FILE.fclose(bHandle);
    end ;
    maybe while work UTL_FILE there is a change the encoding ?
    How can this solved ?
    Thank you
    Norbert
    Edited by: astramare on Feb 11, 2009 12:39 PM with database charsets

    Marco,
    I tryed to work with dbms_xslprocessor.clob2file,
    that works good,
    but what is in this matter with encoding UTF-8 ?
    in my understandig, the xmltyp created should be UTF8 (16),
    but when open the xml-file in xmlSpy as UTF-8,
    it is not well ( german caracter like Ä, Ö .. ):
    my dbms is
    NLS_CHARACTERSET = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    NLS_RDBMS_VERSION = 10.2.0.1.0
    -- test:
    create table nh_test ( s0 number, s1 varchar2(20) ) ;
    insert into nh_test (select 1,'hallo' from dual );
    insert into nh_test (select 2,'straße' from dual );
    insert into nh_test (select 3,'mäckie' from dual );
    insert into nh_test (select 4,'euro_€' from dual );
    commit;
    select * from nh_test ;
    S0     S1
    1     hallo
    1     hallo
    2     straße
    3     mäckie
    4     euro_€
    declare
    rc sys_refcursor;
    begin
    open rc FOR SELECT * FROM ( SELECT s0,s1 from nh_test );
    dbms_xslprocessor.clob2file( xmltype( rc ).getclobval( ) , 'XML_EXPORT_DIR','my_xml_file.xml');
    end;
    ( its the same when using output with DBMS_XMLDOM.WRITETOFILE )
    open in xmlSpy is:
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <S0>1</S0>
    <S1>hallo</S1>
    </ROW>
    <ROW>
    <S0>2</S0>
    <S1>straޥ</S1>
    </ROW>
    <ROW>
    <S0>3</S0>
    <S1>m㢫ie</S1>
    </ROW>
    <ROW>
    <S0>4</S0>
    <S1>euro_€</S1>
    </ROW>
    </ROWSET>
    regards
    Norbert

  • How get all child elements from XML

    Hi
    I have one xml i tried to parse that xml using dom parser and i need to get some child elements using java
    <Group>
    <NAME>ABC</NAME>
    <Age>24</AgeC>
    ---------some data here......
    <Group1>
    <group1Category>
    <NAME>ABCTest</NAME>
    <age>27</Age>
    ----Some data here
    <group1subcategory>
    <subcategory>
    <NAME>ABCDEF</NAME>
    <age>28</Age>
    my intention was
    get group name (here ABC) i need all other name value from group1category ,group1 subcategory but pblm that
    my xml contains any number of Group nodes...but only i want name contains ABC
    i wriiten code like this
    DocumentBuilderFactory factory = DocumentBuilderFactory
    .newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(xmlFile);
    NodeList nodeList = document.getElementsByTagName("*");
    for (int i = 0; i < nodeList.getLength(); i++)
    Element element = (Element) nodeList.item(i);
    what is next step i need to do..please help

    964749 wrote:
    Sorry for inconvenience caused..i only asked if any ideas i not ask any body to spent time for me...
    This is simple code developed using xpath..i not know how i proceed further
    public class Demo {
    public static void main(String[] args) {
    DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
    try {
    DocumentBuilder builder = domFactory.newDocumentBuilder();
    Document dDoc = builder.parse("hello.xml");
    XPath xpath = XPathFactory.newInstance().newXPath();
    javax.xml.xpath.XPathExpression expr = xpath.compile("//Group/NAME");
    Object Name= expr.evaluate(dDoc, XPathConstants.STRING);
    System.out.println(Name);
    } catch (Exception e) {
    e.printStackTrace();
    i need get group name (here ABC) i need all other name value from group1category ,group1 subcategory but pblm that
    ..how i done in XPATH and also do manipulation of remining result...
    i also try with DOM like
    NodeList nodeList = document.getElementsByTagName("GROUP");
    for (int i = 0; i < nodeList.getLength(); i++)
    Element element = (Element) nodeList.item(i);
    if (element.getNodeName().matches("ECUC-MODULE-DEF"))
    String str=((Element) nodeList.item(i)).getElementsByTagName("NAME").item(0).getFirstChild().getNodeValue();
    if(str.equalsIgnoreCase("abc")){
    NodeList children = element.getChildNodes();
    for (int k = 0; k < children.getLength(); k++) {
    Node child = children.item(k);
    System.out.println("children"+children.getLength());
    if (child.getNodeType() != Node.TEXT_NODE) {
    if(child.getNodeName().equalsIgnoreCase("Group1"))
    how iterate for particular ABC name to group1 and subcategoryFew things
    1. Use code tags to format code
    2. Explain the problem statement clearly. Take time to formulate your question. Explain what you expect from your code and what you are getting along with any exceptions that are being thrown

  • How Can Get DTD elements/Attribute In java

    Dear Friends,
    I want to get DTD Element in java Like by using DOM parser we can get Elements/Attribute in XML.
    <!ELEMENT author (#PCDATA)>
    <!ATTLIST author
         id (2 | 4 | 6) #REQUIRED
    >
    <!ELEMENT book (author, page)>
    <!ATTLIST book
         id (1 | 2 | 3 | 4) #REQUIRED
         name CDATA #REQUIRED
    >
    <!ELEMENT library (book+)>
    <!ELEMENT page (#PCDATA)>
    By Example
    i wants i can get elements library -> childs are book
    book child have Attributes id and name..
    how can i get .
    pls help me
    with regards
    Siddharth singh

    Build an XML-ORM then integrate it into the DOM, then have a nice day.

  • How to get Cost element for a component in co03 cost analysis report

    Hi,
    I'm using table COSP to find the quantity for a production order component.  However, I need to identify the cost element first to get the unique data.  In CO03 cost analysis report, there is cost element for the component.  Does anyone know how to get it ?
    Thanks.

    CSKA stores the basic info about the cost element
    There is no data in CSKB.
    I'm trying to use different tables to get the cost element.
    AUFK, AFKO, AFPO, RESB, ...but no luck...

  • How to get one element of a database with database toolkit

    I am working with an access database in which I want to store information about all the computers that recide in a network. The information that I will store in this database is computer's IP address, computer name, etc. Now I want to look in my database the ip address of the computers and get the ip of every one as a string. What I'm trying to do is to convert the output variant of the block "get" to a two dimensional array for then convert it to a matrix in which I can get the elements one by one. Attached is the vi in which I'm working. If you can help me to figure out how to solve my problem I'll be very happy and if I am not in the indicated discussion forum please guide me to find the correct one.
    Attachments:
    Getting just one element.vi ‏11 KB

    Well I found this post that answered my question
    http://forums.ni.com/t5/LabVIEW/how-to-get-records​et-from-database/m-p/1471374?requireLogin=False

  • How to get the elements out of a for loop simultaneously during the loop execution

    Hi, 
    I am student. I would like to know how to get the counter values outside the For loop parallely while the loop runs rather that getting the finally value outside the For loop. Looking forward for answers.
    Thanks,
    Athira
    Solved!
    Go to Solution.

    You could use a notifier (since it is a single value) or a reference (with a property node) to a control that gets the value elsewhere in another VI.
    If it is within the same VI, you could use a property node (right click > create > property node > value) from the control within the same VI located outside the loop.
    If you promiss NOT to abuse the use of Local Variables, you could use that to only write from ONE location within the For Loop to a control outside the loop, similar to the property node mentionned earlier.  (Of course, I will be struct by lightening for mentionning that and scolded by other LabVIEW coders for having a change of heart on the use of Locals....  Shivers are already crawling up my spine).
    You could use a queue, but that might be an overkill, unless:  the count is generated faster than it is being read elsewhere...
    As crossrulz mentionned, can you describe what you will be doing with the count?  Because synchronizing data (fresh / stale / etc) is very important within LabVIEW as it executes based on dataflow rather than a sequential order.
    Hope this helps. 
    EDIT: 
    You have not fully provided the answer.  We figured that much of your code from your description, but what is reading the value of the count?  Is it in a separate loop?  If not, it may only deal with the first value, which is likely 0.  The proper advice depends on how you process the received data (count).

  • How to get Array elements

    Folks
    in my JSP i have a combo box where in user can select multiple values and in my Servlet i set them using a Serilizable object
    public void setSites(String[] sites)
    this.sites = sites;
    and in my EJB i get them as
    public String[] getSites()
    return sites;
    This is my query
    select * from sites where site_id in ( " + @sites + ")",
    So how do i pass this to my query as {a,b}
    Any code help is appreciated
    Thanks
    mathew

    String [] theSites = new String[2];
    theSites[0] = a;
    theSites[1] = b;
    someObject.setSites(theSites);I don't know how you get a and b, but if you know how to get them from your query, you should be able to use the above to call setSites.
    If that isn't what you want to know, please clarify your question.

  • How to update multiple elements in xml?

    Hi!
    I've a input xml containing Sales Order information.
    The xml-file has a Header and multiple detail records
    e.g.
    <NS3:header>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    </NS3:header>
    In each detail node, I want to control if requestedDate is a working day and change date if it's not correct
    e.g.
    <NS3:detail>
    -<NS3:product>
    -<NS3:item>
    <NS3:itemProduct>222288
    </NS3:itemProduct>
    </NS3:item>
    </NS3:product>
    <NS3:quantityOrdered>2
    </NS3:quantityOrdered>
    -<NS3:processing>
    <NS3:actionType>A
    </NS3:actionType>
    </NS3:processing>
    <NS3:dateRequested>2012-03-03T13:17:48.439+01:00
    </NS3:dateRequested>
    </NS3:detail>
    In this example is <NS3:dateRequested>2012-03-03T13:17:48.439+01:00</NS3:dateRequested> a Saturday and this element should be updated with the new date for Monday <NS3:dateRequested>2012-03-05T13:17:48.439+01:00</NS3:dateRequested>
    The new date is fetched from a Web Service I invoke for each detail record.
    I can read each node and get the element for each dateRequested in a while loop by using XPATH as following:
    <scope name="Scope_1">
    <sequence name="Sequence_2">
    <assign name="Assign_3">
    <copy>
    <from expression="ora:countNodes('inputVariable','payload','/ns1:processSalesOrderElement/ns1:header/ns1:detail')"/>
    <to variable="Count"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="varindex"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('varindex')&lt;bpws:getVariableData('Count')">
    <sequence name="Sequence_1">
    <assign name="Assign_6">
    <copy>
    <from expression="ora:getElement('inputVariable','payload','/ns1:processSalesOrderElement/ns1:header/ns1:detail',bpws:getVariableData('varindex'))"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:detail"/>
    </copy>
    </assign>
    <assign name="Assign_4">
    <copy>
    <from expression="ora:getElement('inputVariable','payload','/ns1:processSalesOrderElement/ns1:header/ns1:detail/ns1:dateRequested',bpws:getVariableData('varindex'))"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:detail/ns1:dateRequested"/>
    </copy>
    </assign>
    <assign name="Assign_1">
    <copy>
    <from expression="bpws:getVariableData('varindex') + 1"/>
    <to variable="varindex"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:businessUnit"/>
    <to variable="Invoke_1_startSecureCustomerRequestDate_InputVariable"
    part="parameters"
    query="/ns5:startSecureCustomerRequestDateElement/ns5:businessUnit"/>
    </copy>
    <copy>
    <from variable="outputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:detail/ns1:dateRequested"/>
    <to variable="Invoke_1_startSecureCustomerRequestDate_InputVariable"
    part="parameters"
    query="/ns5:startSecureCustomerRequestDateElement/ns5:jdDateRequestedJulian_DRQJ"/>
    </copy>
    </assign>
    <invoke name="Invoke_1"
    partnerLink="BT_SecureCustomerRequestDateManager"
    portType="ns4:Oracle_E1_SBF_SEI_PkgBldFile_BT_SecureCustomerRequestDateManager"
    operation="startSecureCustomerRequestDate"
    inputVariable="Invoke_1_startSecureCustomerRequestDate_InputVariable"
    outputVariable="Invoke_1_startSecureCustomerRequestDate_OutputVariable"/>
    <scope name="Scope_2">
    <sequence name="Sequence_3">
    <assign name="Assign_5">
    <copy>
    <from variable="Invoke_1_startSecureCustomerRequestDate_OutputVariable"
    part="result"
    query="/ns5:startSecureCustomerRequestDateResponseElement/ns5:jdDateRequestedJulian_DRQJ"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:dateRequested"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    </sequence>
    </while>
    My problem is how to update the date for each detail record back to my InputVariable.
    There is no XPATH function like updateElement or changeElement?!?
    I will use the information from InputVariable with the manipulated dateRequested later on to Invoke WS to create Sales Order in a target system.
    Thanks,
    Niklas

    Hi Niklas,
    have you considered also moving from assign activities to transformations?
    e.g. (in a loop)
    1. using an XSLT to prepare data for the 'BT_SecureCustomerRequestDateManager'
    -- input document ... from 'inputVariable'
    -- input parameter ... from 'varindex'
    -- output ................ to 'Invoke_1_startSecureCustomerRequestDate_InputVariable'
    2. invoking 'BT_SecureCustomerRequestDateManager'
    3. using an XSLT to modify 'inputVariable'
    -- input document ... from 'inputVariable'
    -- input parameter ... from 'varindex'
    -- input parameter ... output from 'BT_SecureCustomerRequestDateManager'
    -- output ................ to 'inputVariable'
    Then you will not need to create custom Java program (code). It is easy to do the logic/modification inside of an XSLT.
    Also BPEL process code will be easier to read.
    Regards,
    Martin.

  • How to get ALL validate-errors while insert xml-file into xml_schema_table

    How to get all validate-errors while using insert into xml_schema when having a xml-instance with more then one error inside ?
    Hi,
    I can validate a xml-file by using isSchemaValid() - function to get the validate-status 0 or 1 .
    To get a error-output about the reason I do validate
    the xml-file against xdb-schema, by insert it into schema_table.
    When more than one validate-errors inside the xml-file,
    the exception shows me the first error only.
    How to get all errors at one time ?
    regards
    Norbert
    ... for example like this matter:
    declare
         xmldoc CLOB;
         vStatus varchar
    begin     
    -- ... create xmldoc by using DBMS_XMLGEN ...
    -- validate by using insert ( I do not need insert ;-) )      
         begin
         -- there is the xml_schema in xdb with defaultTable XML_SCHEMA_DEFAULT_TABLE     
         insert into XML_SCHEMA_DEFAULT_TABLE values (xmltype(xmldoc) ) ;
         vStatus := 'XML-Instance is valid ' ;
         exception
         when others then
         -- it's only the first error while parsing the xml-file :     
              vStatus := 'Instance is NOT valid: '||sqlerrm ;
              dbms_output.put_line( vStatus );      
         end ;
    end ;

    If I am not mistaken, the you probably could google this one while using "Steven Feuerstein Validation" or such. I know I have seen a very decent validation / error handling from Steven about this.

  • How to get the real path of the xml file

    I have a java application
    following is the package structure
    com>>gts>>xml
    having file---------> MyXML.xml
    com>>gts>>java
    having java program to read the file
    Problem is if I use File file = new File("..\\xml\\MyXML.xml");
    java.io.FileNotFoundException: E:\LEARNING_WORK_SPACE\JavaXml\..\xml\MyXml.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    How do I get the real path of the xml file.
    Edited by: shashiwagh on Jan 29, 2010 11:46 AM

    Hi,
    if your XML file is inside a package you can easily get it from the classloader.
    Note that your application maybe packaged inside a jar so it is not safe to use java.io.File for this purpose.
    You have an xml file in :
    com/gts/xml/MyXML.xml
    in a class of the same module (that will packaged in the same jar) for example com.gts.java.XmlLoader :
    // To get the stream :
    InputStream is = this.getClass().getResourceAsStream("/com/gts/xml/MyXML.xml");
    // Or the URL :
    URL xml = this.getClass().getResource("/com/gts/xml/MyXML.xml");Hope it helps.

  • How to get info from weblogic-ejb-jar.xml? (MDB)

    I'm writing an MDB which is part of a request/reply. In order to reply, I
    need an initial-context-factory and provider-url. Is it possible to get
    this information using the MessageDrivenDescriptorMBean class? I can see
    that MessageDrivenDescriptorMBean has getConnectionFactoryJNDIName() and
    getProviderURL() which should be what I want, but I have no idea how to get
    an instance of MessageDrivenDescriptorMBean. Can I do that in the
    setMessageDrivenContext method of my MDB?
    If not, I can put that information in the env, but I'd rather not do that as
    it is redundant information.
    Thanks.
    Eric

    Forgot... WL6.1.
    "Eric F" <[email protected]> wrote in message
    news:[email protected]..
    I'm writing an MDB which is part of a request/reply. In order to reply, I
    need an initial-context-factory and provider-url. Is it possible to get
    this information using the MessageDrivenDescriptorMBean class? I can see
    that MessageDrivenDescriptorMBean has getConnectionFactoryJNDIName() and
    getProviderURL() which should be what I want, but I have no idea how toget
    an instance of MessageDrivenDescriptorMBean. Can I do that in the
    setMessageDrivenContext method of my MDB?
    If not, I can put that information in the env, but I'd rather not do thatas
    it is redundant information.
    Thanks.
    Eric

  • How to get Adobe Elements 11 to finish downloading with the "Shared Technologies Error"

    Hey everyone
    I've tried many times to get my Adobe Elements 11 software to download, but every time more than half way through an error pops up saying Shared Technologies error, unable to install. Then it deletes everything and shuts down. It says for me to restart my computer and try again, I've done that many times..... if anyone has any information on how to finally get this software up and running that would be greatly appreciated!!
    Thanks guys!
    Heather

    Troubleshoot installation | Photoshop Elements, Premiere Elements | Windows
    Mylenium

Maybe you are looking for

  • Counting records in Visual Composer

    Hi folks, I do have question I cannot find a solution ( maybe due to christmas turkey paralysis ) I am using VC to call a RFC function in ERP system 'RFC_READ_TABLE' to access data from table. The table I access is a customer table containing Delta-

  • Product code for acrobat X pro is not recognized.  how to activate

    HELP!!!!  I have the teacher/student edition for acrobat X.  I originally downloaded to desktop.  However, I now use laptop.  Since it has no drive, I downloaded the 30 day trial.  I have the serial number/activation code....but it is not recognized.

  • Using prepared statements to set order by

    I just wanting to confirm and see how people handle this. I have and java String sql statement that I have added an order by. String sql = ".... order by ?" ps = con.prepareStatement(sql); ps.setString(1,sortBy); This would allow me to have one sort

  • Javascript Alerts in Content Viewer

    Hi there, I am trying to bugtest an Edge Animate html file so have added an alert to it to listen for tap events. It works great in the browser. But when previewed in Content Viewer I get a big fat zero. Can anyone tell me if alerts are supported in

  • Char loop problem

    Hi, I'm having trouble with this char loop of mine. It tells me that there is a .class that is expected and I'm not too sure as to what that is... I'd like each value coming out of the loop to go into this char array and then to be converted to a str