Header with delimiters

I'm creating a XML-output file. As usual, there are no delimiters between the tags. So the file is not readable with a simple textviewer (like notepad). But one of our customers needs this
delimiters to process the XML.
I had introduced indent="yes" in the xsl:output node of xslt file. This seems to have worked for the output file. But a header will be added to the output file through a message
assignment shape in the orchestration. I would the indent to be applicable to the header of the output file too.
Is there any parameter or work around to insert delimiters (crlf) to the header of the output XML-file?

The following is the sample output file. Individual jobs are indented through xslt. Need header bit to be indented as well.
<message><header userid="" date="08/01/2014"><schema version="1" name="New" /><source productversion="" product="" system="" /><destination productversion=""
product="" system="" /></header><body><jobs><job action="" contract="65" client_ref="4162213" description="OUT OF HOURS - no hot water " job_type="ELECR" required_date="03/12/2013
00:00">
  <job_lines>
    <job_line line_no="1" line_type="WE" code="Z04" description="OUT OF HOURS - TOTAL LOSS OF ELECTRICAL HEATING 1ST NOV TO 30TH APR" quantity="1">
    </job_line>
  </job_lines>
  <job_property ref="72121095" alt_ref="43558" name="44-49 Floor 7 FLAT 44                                  
" short_name="44-49 Floor 7 FLAT 44                          " house_no="44 " street="Grantham Towers"
address_line_1="44-49 Floor 7 FLAT 44 " tenant="Mr S Tsegaye">
  </job_property>
  <job_notes>
  </job_notes>
  <job_lines>
    <job_line line_no="1" line_type="XE" code="Z04" description="OUT OF HOURS - TOTAL LOSS OF Power failure 1ST NOV TO 30TH APR" quantity="1">
    </job_line>
  </job_lines>
  <job_property ref="72121096" alt_ref="43565" name="89 Floor 17 FLAT 34                                  
" short_name="89 Floor 17 FLAT 34                          " house_no="89 " street="Grantham Towers"
address_line_1="89 Floor 17 FLAT 34 " tenant="Mr S Tsegaye">
  </job_property>
  <job_notes>
  </job_notes>
  </job></jobs></body></message>
The expected output is as follows
<message>
 <header userid="" date="20/12/13">
  <schema version="1" name="new" />
  <source productversion="" product="" system="" />
  <destination productversion="" product="" system=""/>
 </header>
 <body>
  <jobs>
   <job action="" .............

Similar Messages

  • Is there a way to create a heading with shading behind the text and thin lines above and below?

    I'm working with InDesign CS6, Windows 7.
    Is there a way, using paragraph rules, to create a heading with shading behind the text and thin lines above and below the text?
    I'd like to create headings that look like these:
    Thank you!

    I have a document where I almost do such, but without the fill. I use a Head Style which Spans Columns for this instance; it allows the haeds to flow and fill the width.
    Paragraph Rules above and below are turned on with plenty of offset.
    I tweaked my setting to accomodate your need - It required only one instance, not above and below, and changing the stroke to a double stroke. 
    It may be necessary to create a custom stroke to modify the proportion of stroke vs fill. There is a difference of thin-thin and  thick-thick, neither of which seemed perfect but might be dependent on the Character height.
    Creating custom strokes is accomplished via the Strokes Panel.

  • Do I need to have my site uploaded to a remote host for embeded formscentral form  to work? I am getting a broken section of header with a warning sign on top corner saying "!Local host." Cheers

    Hey there all.
    I am wondering if there is something wrong with my embedded form or if it is simply because
    I have not uploaded my site to remote host yet? I am only getting a broken part of the header with
    no actual form, with a warning "!local host" in top left hand corner. If anyone could enlighten
    me on this problem it would be greatly appreciated, it is my first time making forms

    Cheers, I noticed some browsers were treating the form differently. I am uploading to a test server tomorrow, hopefully all goes well, thanks for your reply  

  • How to assgn charge head with GL and Sales order

    Dear Exparts'
    I am a new user of SD module .I have created a charge head but stuck in GL assignment and Assign the charge head with Sales order.(sales order is already created)
    Can any one tell me any direct transaction code or SPRO for the said problem.
    Yeasin

    hi,
    maintain condition type kf00 in pricing procedure and assign G/L account, maintain the condition record in vk11,now goto sales order change(va02),goto contion tab and press update,new pricing will be carried out
    regards
    senya

  • How create header with user id time date to VC-report's output as display ?

    How create header with user id time date to VC-report's output as display ?
    This info should come from the VC - not all the way from R3-side via FunctionModule/BABI. So only userid, date, time to output as normal text (which is not editable of course). Thanks =)

    Hi ann-mari
    Go through following link may it help u
    Form Item disabled based on portal role
    /people/community.user/blog/2007/01/17/visual-composer-explorations-using-portal-roles-to-influence-ui-element-behavior
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/usingrolestoinfluenceapplication&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/passingvaluesvia+URL&
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
    Best Regards
    ````Satish````

  • I want to cut out a head from a photo and insert it into another photo again. In the head hair flying in the wind and the blue sky can be seen between the hairs. This blue sky I want to remove, so I can only use the head with hair flying in another photo.

    I want to cut out a head from a photo and insert it into another photo again. In the head hair flying in the wind and the blue sky can be seen between the hairs. This blue sky I want to remove, so I can only use the head with hair flying in another photo. Is it possible to simply delete this blue color of the sky?

    Make your selection and then use Refine Edge.
    See this video tutorial from Bob Gager.
    https://www.youtube.com/watch?v=xrl3Qwg6zSc

  • JTable - Check box in column header with sorting

    Hello
    I have 3 problems/questions.
    1. When adding sorting to a table with
    setAutoCreateRowSorter(true);and you click on a column header, normally a sorting arrow will appear, and indicate in what direction its sorting,
    but in the column head with the checkbox, even though the sorting works, the arrow will never appear. Is there anyway to fix this?
    2. Is there anyway to get the checkboxes in the table cells to be aligned left (I dont mean the columnheader checkbox, but the ones below)?
    3. When you click on the columnheader to either sort or check the checkbox, you will have to wait about a second between each click, or else it won't react and won't sort. sometimes you will have to click twice for it to react. If you click a lot of times fast, then it won't react until you stop for a second, and click again, though it will react only on the first click, but not the secont, third, fourh, and so on, until you stop for a second. Is there anyway to fix this, or atleast make it have a better reaction time?
    This is the code for creating the table:
    public class Example extends JFrame{
        private Container container;
        private JTable exampleTable;
        public Example(){
            container = getContentPane();
            ExamleTableModel examleTableModel = new ExamleTableModel();
            exampleTable = new JTable(examleTableModel);
            TableColumn tc = exampleTable.getColumnModel().getColumn(0);
            tc.setCellEditor(exampleTable.getDefaultEditor(Boolean.class)); 
            tc.setCellRenderer(exampleTable.getDefaultRenderer(Boolean.class)); 
            tc.setHeaderRenderer(new CheckBoxHeader(new MyItemListener()));
            container.add(new JScrollPane(exampleTable), BorderLayout.SOUTH);
            exampleTable.setAutoCreateRowSorter(true);
            setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );       
            this.pack();
            setSize(500,500);
            setVisible(true);
        }This is the code for the checkboxheader:
        class MyItemListener implements ItemListener 
                public void itemStateChanged(ItemEvent e) { 
                    Object source = e.getSource(); 
                    if (source instanceof AbstractButton == false) return; 
                    boolean checked = e.getStateChange() == ItemEvent.SELECTED; 
                    for(int a = 0, b = exampleTable.getRowCount(); a < b; a++) { 
                        for(int c = 0, d = exampleTable.getRowCount(); c < d; c++) { 
                            if(exampleTable.getColumnName(c).equals("")){
                                exampleTable.setValueAt(new Boolean(checked),a,c);
        class CheckBoxHeader extends JCheckBox 
            implements TableCellRenderer, MouseListener {
            protected CheckBoxHeader rendererComponent; 
            protected int column; 
            protected boolean mousePressed = false; 
            public CheckBoxHeader(ItemListener itemListener) { 
                rendererComponent = this; 
                this.setHorizontalAlignment(JLabel.LEFT);
                rendererComponent.addItemListener(itemListener); 
            public Component getTableCellRendererComponent( 
                    JTable table, Object value, 
                    boolean isSelected, boolean hasFocus, int row, int column) { 
                if (table != null) { 
                    JTableHeader header = table.getTableHeader(); 
                    if (header != null) { 
                        rendererComponent.setForeground(header.getForeground()); 
                        rendererComponent.setBackground(header.getBackground()); 
                        rendererComponent.setFont(header.getFont()); 
                        header.addMouseListener(rendererComponent); 
                setColumn(column); 
                rendererComponent.setText("");
                setBorder(UIManager.getBorder("TableHeader.cellBorder")); 
                return rendererComponent; 
            protected void setColumn(int column){this.column = column;} 
            public int getColumn(){return column;} 
            protected void handleClickEvent(MouseEvent e) { 
                if (mousePressed) { 
                    mousePressed=false; 
                    JTableHeader header = (JTableHeader)(e.getSource()); 
                    JTable tableView = header.getTable(); 
                    TableColumnModel columnModel = tableView.getColumnModel(); 
                    int viewColumn = columnModel.getColumnIndexAtX(e.getX()); 
                    int column = tableView.convertColumnIndexToModel(viewColumn); 
                    if (viewColumn == this.column && e.getClickCount() == 1 && column != -1) { 
                        doClick(); 
            public void mouseClicked(MouseEvent e) { 
                boolean active=true;
                JTableHeader header = (JTableHeader)(e.getSource()); 
                switch (e.getID()) {
                case MouseEvent.MOUSE_CLICKED:
                case MouseEvent.MOUSE_PRESSED:
                case MouseEvent.MOUSE_RELEASED:
                    JTable tableView = header.getTable();
                    TableColumnModel columnModel = tableView.getColumnModel();
                    int viewColumn = columnModel.getColumnIndexAtX(e.getX());
                    int column = tableView.convertColumnIndexToModel(viewColumn);
                    Rectangle bounds = tableView.getCellRect(-1, column, false);
                    if (e.getX() > bounds.x + 16) { // only if one the checkbox
                        if (e.getID() == MouseEvent.MOUSE_CLICKED) {active = false;}
                    }else{active=true;}
                if(active){
                    handleClickEvent(e); 
                    ((JTableHeader)e.getSource()).repaint();   
            public void mousePressed(MouseEvent e){mousePressed = true;} 
            public void mouseReleased(MouseEvent e){} 
            public void mouseEntered(MouseEvent e){} 
            public void mouseExited(MouseEvent e){} 
    }If you want the code for the ExamleTableModel, I will post it if you ask (having trouble with the character limit).

    What are you supposed to cast it to? I might have tried to cast it to something wrong.
    I tried
    TableCellRenderer tcr = table.getDefaultRenderer(Boolean.class);
    ((DefaultTableCellRenderer)tcr).setHorizontalAlignment(SwingConstants.LEFT);and that gave me a ClassCastException. But I might have been trying to cast it to the wrong thing.

  • Creating PS Network header with one activity

    I need to create to a projekt the network header with one activity. so I want top proceed the following coding:
         CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
          CALL FUNCTION 'BAPI_BUS2002_CREATE'
            EXPORTING
              i_network = gs_network
            TABLES
              et_return = et_return.
          CALL FUNCTION 'BAPI_PS_PRECOMMIT'
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            IMPORTING
              return = es_return.
            CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
            CALL FUNCTION 'BAPI_BUS2002_ACT_CREATE_MULTI'
              EXPORTING
                i_number    = ls_number
              TABLES
                it_activity = gt_activity.
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              IMPORTING
                return = es_return.
    But I get an Runtime Error with "MESSAGE_TYPE_X" because the PRECOMMIT was not successful.
    Has anyone an idea how to handle that ??
    thx a lot
    Edited by: Rob Burbank on Nov 18, 2009 9:42 AM

    DATA: lt_return   TYPE TABLE OF bapiret2,
            l_wa_return TYPE bapiret2.
      CALL FUNCTION 'BAPI_PS_INITIALIZATION'
      CALL FUNCTION 'BAPI_BUS2002_CREATE'
        EXPORTING
          i_network = pi_wa_aufnr
        TABLES
          et_return = lt_return.
      READ TABLE lt_return WITH KEY type = 'S'
                           TRANSPORTING NO FIELDS.
      IF sy-subrc = 0.
        REFRESH lt_return.
        CALL FUNCTION 'BAPI_PS_PRECOMMIT'
          TABLES
            et_return = lt_return.
        READ TABLE lt_return WITH KEY type = 'S'
                           TRANSPORTING NO FIELDS.
        IF sy-subrc = 0.
          READ TABLE lt_return INTO l_wa_return INDEX 3.
          pc_aufnr_new = l_wa_return-message_v2.
        ENDIF.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          IMPORTING
            return = l_wa_return.
      ENDIF.
    this is the sample code to create network & to get the network number created

  • Dual-head with Radeon HD 2400LE not working/behaving strangely

    I have a Radeon HD 2400LE video card. and I'm attempting to set up dual-head with a 17" (1280x1024) scree and a 24" (1920x1200) screen.  I originally tried fglrx, and it worked mostly, but caused partial lockups every few hours (the mouse cursor would move, but didn't seem to pass any events to anything - even hover wouldn't work).  I'd like to use the radeonhd driver in any case, and I'm currently trying it from git/AUR, version 20090116-1.  I'll post my xorg.conf here shortly, once I've cleaned it up a bit.  Anyhow, I'm running KDE 4.2, and the display settings list VGA (my second monitor), DVI-digital (my first monitor), DVI-analog (the same port), and TV (S-Video - not used).  However, clicking "Identify Outputs" displays the VGA output properly, but the DVI-digital output indicator is shown halfway off the top-left corner of the VGA-connected screen.  Enabling the DVI monitor's output does something, because the monitor recognizes that it's connected, but it won't display anything, and changing the DVI settings causes various weird issues with the VGA-connected screen.  I'm not using Xinerama, as I was planning on doing the whole thing with KDE and the help of XRandR.  I could really use some help with this, as I've been fighting with dual-head all week.
    Thanks

    Here is my xorg.conf, it sounds like you are trying to acheive a similar setup to what I have, maybe you'll find this helpful
    let me know if you have anyquestions on it.
    Section "Module"
    Load "dbe"
    SubSection "extmod"
    Option "omit xfree86-DGA"
    EndSubSection
    Load "glx"
    Load "freetype"
    #Load "type1"
    Load "dri"
    Load "drm"
    EndSection
    Section "Files"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Server Flags"
    Option "AutoAddDevices" "false"
    EndSection
    Section "Input Device"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules" "xorg"
    Option "XkbModel" "microsoft"
    Option "XkbLayout" "us"
    EndSection
    Section "Input Device"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "Auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    Option "Emulate3Buttons"
    EndSection
    Section "Monitor"
    Identifier "monitor0"
    Option "DPMS" "true"
    EndSection
    Section "Monitor"
    Identifier "monitor1"
    Option "DPMS" "true"
    Option "RightOf" "monitor0"
    EndSection
    Section "Device"
    Identifier "device0"
    Driver "radeonhd"
    BusID "PCI:1:5:0"
    Option "monitor-DVI-D_1" "monitor0"
    Option "monitor-VGA_1" "monitor1"
    Option "RROutputOrder" "DVI-D_1"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "device0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Section "ServerLayout"
    Identifier "Multihead Layout"
    Screen "Screen0" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    EndSection
    Section "DRI"
    Group "video"
    Mode 0666
    EndSection
    Last edited by Cyrusm (2009-01-25 04:34:14)

  • Fillable header with adobe livecycle -form design

    I have created a from with adobe livecyle.  Unfortunately the header I inserted in the master page contained fillable fields and this does not seem to work.  How can I create a header with fillable fields that will repeat on subsequent pages as a heading?
    Thanks for your attention.
    Mayka

    I'm actually having the exact same problem. I imported a form into Designer 7.0 as an Adobe Reader 6.0 "compatible" form. At first, there were several warning messages in various fields but I changed all of these fields so that they would be compatible. The form works in 6.0, however, whenever a user initially opens the form in 6.0 a message pops up promting the user to upgrade to 7.0 for the form to work. Over half of our users are running Adobe Reader 6.0 so any information on how to prevent this dialouge from coming up would be very appreciated.
    Thank you,
    Jeff

  • TS3276 On the left side of the mail page there is an "On My Mac" header with several folders included. One of the folders, in white, is one called "recovered mail" I don't know how this got there and am not able to delete it. Not receiving any email now.

    On the left side of the mail page there is an "On My Mac" header with several folders included. One of the folders, in white, is one called "recovered mail" with 843 messages in it. I don't know how this got there and am not able to delete it. I am also no longer receiving any email now. Help!

    set the wake-on lan on the main computer
    The laptop's too far away from the router to be connected by ethernet. It's all wifi.
    No separate server app on the laptop, it's all samba
    The files are on a windows laptop and a hard drive hooked up to the windows laptop. The windows share server is pants, so I'd need some sort of third party server running. Maybe you weren't suggesting to use Samba to connect to the windows share though?
    I'm glad that you've all understood my ramblings and taken and interest, thanks The way I see it, I can't be the only netbook user these days looking for this kind of convenience, and I certainly won't be once chrome and moblin hit the market.
    Last edited by saft (2010-03-18 20:38:08)

  • FCP Pro HD: Export talking head with transparency!

    I've read through a number of posts about this, but what I'm trying to do is this:
    I've shot video of a talking head on a green screen.
    I've keyed the shot.
    Now I want to export the movie with the Flash Video Encoder and just get the talking head with no background. The background will be transparent so that when I import to Flash, I can have objects moving behind it.
    IS THIS POSSIBLE IN FCP PRO HD???
    It seems like everyone points to After Effects for this type of work.

    Do not render before export. If you do, you will get the flat rendered output - no transparency...
    Are you talking about a FCP 4.5-specific issue?
    (I ask because I'm able to export an alpha channel for a sequence, even though it's been rendered, in FCP 5.0.4)

  • How to set advance table header with a value?

    I have a advance table in which there are columns monday,tuesday.....sunday and i need to set the column header with the current week date for monday, tuesday.....sunday
    i can find the date from the VO query for each day
    but
    how can i set the Advancetable column header with the current date for monday,tuesday.....sunday ?

    Hi,
    Try the way suggested by Meher, if you are not able to find the OASortableHeaderBean then try the below one
    // Get a handle to the column's header
    OAColumnBean columnBean =
      (OAColumnBean)tableBean.findIndexedChildRecursive("<columnBeanId>");
    OASortableHeaderBean colHeaderBean =
      (OASortableHeaderBean)columnBean.getColumnHeader();
    colHeaderBean.setText(sysdate);Regards,
    Gyan
    Edited by: Gyan on Feb 2, 2011 10:24 PM

  • Quantity to be displayed with delimiters

    Hi,
    The quantity value is stored in a string (in debug mode)
    eg: The quantity 9999999.123 gets stored in a string as 9999999.123
    I need to convert/display 9999999.123 as a string with delimiters(99.99.999,123)
    could you please help me out.
    regards,
    Karen

    Hi
    Try to move it to a number variable and then use statament write to format the output:
    .DATA: S_NUM TYPE STRING VALUE '9999999.123'.
    DATA: C_NUM(1000) TYPE C,
          P_NUM TYPE P DECIMALS 3.
    MOVE S_NUM TO P_NUM.
    WRITE P_NUM TO C_NUM LEFT-JUSTIFIED.
    WRITE C_NUM.
    Max

  • I've tried everything I can think of to get my Iphone 4S to play albums like an Ipod does.  All it ever does is play the songs but not the albums in alphabetical order.  I used to think I was reasonably intelligent until I butted heads with this phone.

    I've tried everything I can think of to get my Iphone 4S to play albums like an Ipod does.  All it ever does is play the songs but not the albums in alphabetical order.  I used to think I was reasonably intelligent until I butted heads with this phone.

    Yes i've tried all of that. I've turned it all the way on and off and erased all of my music and put it back on and nothing works. And with the breaking up CDs and putting into compilation categories i have already fixed all of that stuff. It's fine it just doesn't show up in the list of artists. I can find the album in the songs category and the albums category it's just it doesn't show tha name of the artist. All of the other albums that i downloaded before i updated my itunes to th most recent update are fine. It's just the two that i downloaded afterwards. Thanks for trying though.

Maybe you are looking for

  • HT201304 How do I install apps without the  app store

    How do I install apps without the  app store

  • Can't access internet & use iPod at the same time

    Is anyone else having this problem since the last update? Also, Skype kills iPod if it is playing songs. I'm not sure if this is a hardware or software problem? It was working fine until the latest iPhone software update.

  • Html Gui not working

    Dear eXperts, i want to enable sap gui for html. For this i've activated the following services from the transaction SICF: 1). /sap/public/bc/its/mimes 2). /sap/bc/gui/sap/its/webgui 3). /sap/public/ping Also, on se 80->utilities ive set Integrated I

  • Any way to boot the Nokia Booklet 3G from SD(HC) ?

    Mentioned in /t5/Mini-Laptops/nokia-booklet-doesnt-boot-and-no-bios/td-p/896609#M1800 but this probably merits a thread of its own: Isn't there a way to boot from an SD card (which has the advantage over USB of not sticking out - and will often be th

  • Flip4Mac playback of ASF (MPEG4 Codec) files - white image with sound

    Hi, I've been emailing Flip4Mac support and they seem to be helping, but are taking a while to reply to my emails. I installed flip4mac a year or so ago, in order to playback some video files I had from an old video camera. The files are asf in forma