Results 1 to 2 of 2
  1. #1
    freaksta is offline Member
    Join Date
    Nov 2009
    Rep Power

    Default XML instantiation by xpath

    Dear all,

    im wondering if there is an API, that offers me the following possibility:

    Let us assume, we have a XML Schema defining valid documents and an XPath describing a certain ressource in an xml document. Is there an API (e.g., JAXB) that offers me the possibility to "automatically" create the needed elements in order to insert a value into the element/attribute adressed with the XPath? In the terms of JAXB the whole object structure has to be build.

    I know this is a quite heavy task, because of possible dependencies, but perhaps there is a way to solve that. Just building a vast number of if-else-blocks cant be the right way.

    Any ideas? Thanks for your help.

  2. #2
    Menre is offline Member
    Join Date
    Feb 2008
    Rep Power



    You may be able to do it with any of these APIs

    1) ALTOVA - XMLSpy 2010 Editor
    Free Download: Altova XMLSpy XML Editor

    2) oXygen XML Editor
    oXygen XML Editor

    3) XMLMind
    XMLmind XML Editor: XMLmind XML Editor

    I hope this helps.


Similar Threads

  1. Instantiation order
    By Jeremy720 in forum New To Java
    Replies: 3
    Last Post: 07-17-2009, 04:19 PM
  2. instantiation
    By Camden in forum New To Java
    Replies: 1
    Last Post: 03-02-2008, 05:44 PM
  3. Instantiation
    By kavithas in forum New To Java
    Replies: 2
    Last Post: 12-05-2007, 05:56 PM
  4. Instantiation using an instance factory method
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 09:25 PM
  5. object instantiation and arrayList
    By lockmac in forum New To Java
    Replies: 5
    Last Post: 08-09-2007, 07:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts