Skip to Content
author's profile photo Former Member
Former Member

UDF: DOM parser

HI,

do i need a special import to use this code and is it enough to fill it in the UDF import line ?

I think it´s important to store this java class somewhere in the XI server ?

code:

DOMParser parser = new DOMParser();

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 12:29 PM

    No. You dont need any spl imports. DOM is parser is a part of java.lang package.

    You can use the piece of code by Stefan in the other post.

    Regards,

    Jai Shankar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 12:48 PM

    Hi Borden

    to learn about how to use java in XI for DOm parser You can use follow link. It

    Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing.

    http://java.sun.com/javase/6/docs/api/org/w3c/dom/package-summary.html

    hope this may solve your problem

    thanks

    sandeep sharma

    PS: if helpful please reward points

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 30, 2007 at 01:04 PM

    For DOM parser I have following imports in my Java program:

    import javax.xml.parsers.*;

    import javax.xml.transform.*;

    import javax.xml.transform.dom.DOMSource;

    import javax.xml.transform.stream.StreamResult;

    import org.w3c.dom.*;

    Hope that helps

    Stefan

    Message was edited by:

    Stefan Grube

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.