File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes method to  create header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "method to  create header " Watch "method to  create header " New topic

method to create header

Shyam Sunder

Joined: Dec 23, 2006
Posts: 24
Hi Friends,
iam using dom4j.jar file to create xml.
is there any method to create header.
like document.addElement();

I am sharing a part of my code

(Edited to make code more readable and to make post not be 2,000 characters wide - Paul C.)
[ December 26, 2006: Message edited by: Paul Clapham ]
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

What do you mean by "header"?
Shyam Sunder

Joined: Dec 23, 2006
Posts: 24
Originally posted by Paul Clapham:
What do you mean by "header"?

Header in the sense I have page like Leave Letter.
Header is nothing but "Leave Letter"
I agree. Here's the link:
subject: method to create header
It's not a secret anymore!