cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Linking Java and Arbortext

Highlighted
Newbie

Linking Java and Arbortext

Hello gurus!

Today I'm having a problem with some of my java methods, I created an
Arbortext button which calls through aDocument doc = Acl.getDOMDocument("0");
getElementsByTagName("Sect1");

childsByTag.getLength());
for(int i=0; i < childsByTag.getLength(); i++){
this.getNodeContent(node,");
childByTag node that I have found in my first oid_find_childrenoid,root_children_arr,"SectX") < in java and get the
elements of the root_children_arr, in order to process them in a
recursive function.

Please if anybody could help me I would be pretty grateful. As always I
really appreciate your time, help and support.

Regards,
Paulette

Tags (2)
2 REPLIES 2
Highlighted

Linking Java and Arbortext

You could either iterate through the DOM itself, or just use an XPath to
get a set of applicable nodes.

For XPath, you'll also need to add some helper functions, as XPath support
isn't native, but can be exposed through ACL.

See example:

trick I would think.


On Wed, Feb 27, 2013 at 12:30 PM, Paulette Zorrilla <
paulette.zorrilla@oracle.co...




































Highlighted

RE: Linking Java and Arbortext

Thank you! It works now using Ac.lfun(...) 🙂

Announcements