How can i add a header like this?

I am using the XMLFilter class to create an XML document using SAX as shown here:
http://www.cafeconleche.org/books/xmljava/chapters/ch08s05.html
However i want to add a header like this to my xml document:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
How can i do this? I cant use startElement() etc. since they create a standard tag. Apart from manually appending it to the

Show us the part of your code that actually does the output. If it's a Transformer, you'll need to put in the code that I posted in this forum twice just last week. If it's something else, then, I don't know, you'll need to do something else. But I don't see anything in that link that actually outputs XML.

Similar Messages

  • How can i add Document Header Text for s_alr_87012357

    Hi Gurus
    How can i add Document Header Text for  s_alr_87012357(Advance Return for Tax on Sales/Purchases).do i need change the standard program or is there any alternate to do this please  help me  out.

    i found it .its in output list and i did change the layout settings.thanks

  • How can I add a header/footer to a document?

    I am using Adobe X Standard, version 10.1.2 and everything I am reading tells me to go to tools>pages>Header & Footer>Add Header & Footer, but once I click on tools to the left, the only options I have are export and create pdf files and send files. There is no tools option in the tool bar on the top. File, edit, view, window & help are my only options. How can I add a header/footer to a document?!

    What you describe tends to indicate that you're using Reader, not Acrobat. If you do have Acrobat installed, make sure you're using it and not Reader.

  • How can I make a image like this one? (image in description)

    Hi guys I need to know how can I make a image like this one http://img31.imageshack.us/img31/2710/69823211.gif
    I need step by step instructions please. How can I animate it like that? Whats the font? Tell me everything please.

    To do a step by step instruction on here will take someone a very long time, as you havent really said at what level you are at.
    On Youtube there are a lot of animation tutorials for PS. But essentially in this case you are moving that white streak across a few frames at a time.
    The font might be found with the help of http://http://www.myfonts.com/WhatTheFont/

  • How can I design hand logo like this?

    I want to explain how to design a hand logo like this, thank you very much.

    Have a look at this http://www.youtube.com/watch?v=-Uxl9-ktPN8 to get you started.
    For this kind of design (which CAN be designed in Photoshop) you might be better exploring Illustrator.
    Good Luck
    Cheers
    John

  • How can i add a textbox to this

    how would i add a textbox to this
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    import javax.swing.border.*;
    public class Editor extends JFrame{
         JFrame frame;
         JPanel panel;
         //JTextBox field;
         JComboBox combo;
         public static void main(String[] args) {
              Editor l = new Editor();
    private JPanel pnlNorth = new JPanel(); // North quadrant
        private JPanel pnlSouth = new JPanel(); // South quadrant
        private JPanel pnlEast = new JPanel(); // East quadrant
        private JPanel pnlWest = new JPanel(); // West quadrant
        private JPanel pnlCenter = new JPanel(); // Center quadrant
    private JButton btnNorth = new JButton("Save");
        private JButton btnSouth = new JButton("Load");
        private JButton btnEast = new JButton("Head");
        private JButton btnWest = new JButton("Body");
        private JButton btnCenter = new JButton("somthing");
    private JMenuBar mb = new JMenuBar(); // Menubar
        private JMenu mnuFile = new JMenu("File"); // File Entry on Menu bar
        private JMenuItem mnuItemQuit = new JMenuItem("Quit"); // Quit sub item
        private JMenu mnuHelp = new JMenu("Help"); // Help Menu entry
        private JMenuItem mnuItemAbout = new JMenuItem("About"); // About Entry
         public Editor(){
              JFrame.setDefaultLookAndFeelDecorated(true);          
              frame = new JFrame("Editor");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              panel = new JPanel();
              //field = new JTextField(5);
    frame.setJMenuBar(mb);
    mnuFile.add(mnuItemQuit);
    mnuHelp.add(mnuItemAbout);
    mb.add(mnuFile);
    mb.add(mnuHelp);
       pnlNorth.add(btnNorth);
            pnlSouth.add(btnSouth);
            pnlEast.add(btnEast);
            pnlWest.add(btnWest);
            pnlCenter.add(btnCenter);
    frame.getContentPane().setLayout(new BorderLayout());
              frame.getContentPane().add(pnlNorth, BorderLayout.NORTH);
              frame.getContentPane().add(pnlSouth, BorderLayout.SOUTH);
            frame.getContentPane().add(pnlEast, BorderLayout.EAST);
              frame.getContentPane().add(pnlWest, BorderLayout.WEST);
              //panel.add(field);
              frame.add(panel);
              frame.setSize(300, 300);
              frame.setVisible(true);
    }

    whats the method thenyou're kidding, right? I'm not going to tell you how to do exactly what you've already been doing

  • How can i create a website like this?

    Hello Adobe Community
    I've had this idea in my head for a while, but i cannot think of how to create it.
    I think of creating a website with a very nice layout where you can purchase and submit your own ebooks to sell, and they need to be approved by an admin before it shows up on the website.
    I have been thinking about this for some time but i don't have a clue on how to create a website like this and it must take a very long time.http://puu.sh/5Ki7Q.png
    My idea: You can hover over the ebooks to get more information about them, you can see star rating and feedbacks / comments under the ebooks.
    I need help with getting started on the right track, i don't know very much about Dreamweaver, but i am starting to get good at it. I know HTML and a little CSS.
    I would really appreciate any help i can get.

    Unless you have very strong coding skills with PHP & MySql,  I think you could do most of this with  WordPress and  WordPress plugins for e-commerce, star ratings, lightbox viewer, reviews, etc...
    Nancy O.

  • How can i add a header to each page of my form

    Hi
    Iam creating a form - it was based on one of the templates, however I would like to add a header to the top of each page (it currently only has it on the first page). Can someone please help?
    Many thanks
    Shev

    There isn't a direct way to do this for PDF forms (web forms have the header on every page). For PDF you would have to copy a text/image item at the top of each page yourself.
    Randy

  • How can I add new artwork like backgrounds & graphics, to the content list??

    I would like to add some of the images that i have created to the list of backgrounds, graphics etc under the Content-> Artwork lists.
    How can i do this?

    The effects tab contains special filters and smart objects, so you can’t simply add a jpeg. You need an image, an XML file and a thumbnail. It’s probably easier to keep your artwork in a separate folder and then when you want to add a background to an open image click File à Place
    Then navigate to your background and click Place. That will automatically open as a smart object on a separate layer and you can easily scale it to size or use blend modes/opacity, without loss of quality.

  • How can I make 3d shadow like this

    Look at her face
    How can I make shadow like this
    Thank you

    Could you post (a section of) the image you want to edit?
    I assume you could
    • create a fairly good mask of the skin areas and use that as a Layer Mask for a Layer Group
    • create Adjustment Layers, Solid Color Layers, plain Layers with appropriate Blend Modes, … and paint in artificial shadows

  • How can I find all messages like this?

    What criteria can I use in a smart mailbox to find all messages like this?
    The message from Robert Nicholson <[email protected]> concerning “Hi Testing” has not been downloaded from the server. You need to take this account online in order to download it.
    I have a lot of these because I use IMAP for my mail but there's no point in keeping these messages as they were deleted from the server a long time ago.

    Robert,
    I am not sure what a Smart Mailbox would have to offer with respect to this?
    However, the problem is likely not that the message has been deleted from the server, but that Mail 2.0 has problems with some IMAP servers at displaying some messages.
    I am hopeful, but cannot assure anyone, that a fix is being worked on for this, and perhaps will be available sometime in the future.
    If you were to access with a different version of Mail, such as 1.3.11, or another mail client, you might access these messages. Therefore, I would not be quick to try and eliminate them.
    Ernie

  • How can i create a page like this

    Hi
    I have a client who liked this page effect the gallery
    section looks like the mac doc is there a similar plug in i can
    purchase and integrate in one of the html pages?
    http://www.belloproductions.com/index-3.html

    Hi Kiran,
    As you wrote "i selected different pic from standard list,but it is displaying one standard pic only."
    I hope you want to change the picture of Headings only ie your workset in above mentioned case right ??
    To change the picture go the role->then select added workset -> then open properties of worset ->now look for the
    Pictogram  properties of workset here from drop down select your desired pic and save the changes.
    Now open portal the look for the changes ie new logo for the heading.
    If  new picture is not coming the try to clear the portal caches and check again .... other way to get the changes remove the
    assigned role from user and change the role id and assign to user again now you will get new changes
    without clearing  the cache.
    how to add custom pic?
    To add custom pic you need to add the new pictures in the par file called  com.sap.portal.navigation.mimeservice.par
    So download the this par file from ROOT/WEB-INF/deployment/temp this location from Portal support , even you can copy from server too.
    Now import the par file in NWDS and copy your new pic in images directory ..now build the par file again and
    upload it on portal. But here new images will only appear in drop down list when you portal is restarted.
    I hope you know how to import par in NWDS  don't forget to add required jar file in both the lib folders.
    There can be other way also to change the picture where portal restart is not needed . So if you don't want to change in this way then search for other method and let me know also.
    Regards,
    Piyush

  • How can I add a header to a text file without mapping? [Using only ID]

    Hi Experts,
    I am doing a scenario in which I want to add a dynamic header to a text file, due to the complications related to the structure, I dont want to create a message type, data type etc so I cant use mapping.
    I want to do all the manipuations in Integration Directory itself.
    Can you all please help me out in this?
    Thanks in advance
    Thomas

    Hi  Experts,
    I am new to XI, so only elaborate answers would help me
    This is the specific requirement i want;
    There is a 'source text file' which is a collection of 1000+ records, I want to make a 'target file' which is a combination of 2 fields, one field will be the dynamically generated name [for the target file] and the other field will be the whole 'source file' content.
    From the last response for my question, I understand the dynamic file generation part can be done using java mapping.
    Is there anyway by which I can get in the whole content of the source file into a field in the target file?
    Thanks in Advance
    Thomas

  • How can I make a gradient like this? (Edge between colors is hard, and bends)

    I'm using Illustrator CS5
    Looking to make a gradient similar to the one in the "BubbleBoddy" font here -
    What's the smartest way to go about doing this? I have a basic understanding of gradients, but I have no idea how to get the gradient line to bend like that, or how to get such a "hard edge" between the light and dark pink.
    Any help is greatly appreciated! Thank you!

    draw a curve, copy it, colour it, blend 'em (alt + ctrl + B or Object > Blend > Make
    then use your text as a mask.

  • How can I add roman letters like alfa, beta in pages09

    Dear community
    I use pages09, keynote09. and due to my work nature I have to write articles and prepare presentations, so I need to add alfa, beta, gamma symbols frequently, thankfully can anyone show me how to add such letters, thanks in advance
    Macbook pro 15" 2.0 Ghz, Lion OSx (10.7.2)
    email: [email protected]

    There are some third party application that can be use liked MathType Equation or MathMatic Personal that have the characters you need
    Some fonts have alpha, beta and other characters and can be searched for in the Special character palette in the Edit menu.

Maybe you are looking for

  • How to avoid focus issue while navigating via Browser Back button

    Hi I'm facing some problem in setting focus on Buttons. Please refer application: http://apex.oracle.com/pls/otn/f?p=47869:2 login credentials: Workspace: vsanthanam user: vijay pswd: apex_demo In this application, i have 2 pages. Page#2 has Submit b

  • CATT - vendor/customer master address field length over

    Dear all,    when use CATT to record vendor/customer master,the address some fields length are over recorded field length(ex. ADDR1_DATA-NAME4,ADDR1_DATA-STR_SUPPL3...etc) is there any config in CATT to solve this kind of problem?

  • Adding tooltip to WebHelp Search box

    I'd like to provide a tooltip or inductive text for the Search text box in WebHelp. Specifically, I want to tell users to enclose multiple words in quotation marks, since this format returns the most relevant results. Is there a way to add a tooltip

  • Rotating images and links

    I have a website that uses include commands to insert shtml files into different sections of my home page. I would like to have rotating images and text links in one of the include sections. For example, image one shows up with link to URL #1, then i

  • Query in Search Help

    Hi Gurus, we have a custom elementry search help. It uses a view , which is a combination of 5 tables. Now I need to change the logic of this search help as below. If there are entries found in 1st table with combination of a 6th (another table) tabl