# How to use the Processing XML class in other Java Editors?

**URL:** <https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700>\
**Category:** Libraries\
**Created:** [September 20, 2018, 3:57pm UTC](https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700 "2018-09-20T15:57:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul94](https://avatars.discourse-cdn.com/v4/letter/p/bbce88/32.png) [@Paul94](https://discourse.processing.org/u/Paul94)\
**Post date:** [September 20, 2018, 3:57pm UTC](https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700/1 "2018-09-20T15:57:51Z")

</div>

Hello,

I want to use the XML class in BlueJ but it doesn’t work. I have tried several others like PFont for example which does work. As I found out the class XML is part of the core library.

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [September 20, 2018, 4:06pm UTC](https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700/2 "2018-09-20T16:06:47Z")

</div>

`import processing.data.XML;`

---

<div class="post-metadata">

**Author:** ![Paul94](https://avatars.discourse-cdn.com/v4/letter/p/bbce88/32.png) [@Paul94](https://discourse.processing.org/u/Paul94)\
**Post date:** [September 21, 2018, 4:10pm UTC](https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700/3 "2018-09-21T16:10:23Z")

</div>

Thank you!😀

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [September 24, 2018, 1:28pm UTC](https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700/4 "2018-09-24T13:28:48Z")

</div>

In general, if you are trying to figure out how to import a Processing component, find it in the code repository, check the directory path, and look at the “package” statement at the top of the file.

> **[processing/processing](https://github.com/processing/processing/tree/master/core/src/processing)**
>
> Source code for the Processing Core and Development Environment (PDE) - processing/processing

For example, XML.java file is found in [processing / data](https://github.com/processing/processing/tree/master/core/src/processing) and its package statement says:

> <https://github.com/processing/processing/blob/master/core/src/processing/data/XML.java#L23-L25>
