Results 1 to 2 of 2
  1. #1
    leonard is offline Member
    Join Date
    Jul 2007
    Posts
    43
    Rep Power
    0

    Default how to generate xml with Dom4j

    I want to generate a string xml (that it is in object 'Document') with Dom4j framework
    Do you know how can I do that?
    thanks in advance

  2. #2
    fred is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default

    Hi!,
    I don't know with this framework, anyway you can use:
    Java Code:
    String xmlSinHeader = xmlComplete.substring(xmlComplete.indexOf("?>") + 2);
    try it!

Similar Threads

  1. Generate a Class file
    By Daniel in forum New To Java
    Replies: 6
    Last Post: 04-20-2009, 06:37 AM
  2. Dom4j probelm with clearContent method
    By aorteu in forum New To Java
    Replies: 0
    Last Post: 11-23-2007, 04:36 PM
  3. Generate XML request from web form
    By sabatier in forum XML
    Replies: 1
    Last Post: 08-09-2007, 08:53 PM
  4. how to generate dynamic pdf
    By valery in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 11:01 PM
  5. How can I generate MsWord from java?
    By simon in forum Advanced Java
    Replies: 2
    Last Post: 08-01-2007, 05:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •