Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

xquery insertion

Options
  • 19-01-2013 10:09pm
    #1
    Registered Users Posts: 2,815 ✭✭✭


    I'm using xquery embedded in java against an xml file in an eXist db. I'm able to do queries and replaces (updates)

    Is it possible to insert nodes and elements.

    For example, lets say I've an xml file with levels
    CONTINENT
    ...COUNTRY
    ......CITY

    I would want to append a new country to the Europe node and then add a city to that new country.

    Is this possible using the technologies mentioned above. If so, a sample of the xquery I would need to achieve this would be very appreciated

    Thanks


Advertisement