Urgent! How to suppress indents in output from (XML , XSL) -- HTML

I make transformation (XML , XSL) --> HTML using parser v2 of Oracle XDK for Java v 9.2.0.2.0
I want to generate html in which several tags will follow one after another without new line, and indents.
Like this
<html>
<body>
<img src="1.jpg"/><img src="2.jpg"/>
</body>
</html>
Only in this case images will be visualized in IE5 together without spaces.
But xsl-processor is formatting output text: put each tag on new line and make indents for child tags.
I tried to
1) eliminate white spaces in xsl
2) use <xsl:output indent="no"/>
3) use <xsl:strip-space elements="*"/>
4) use method setPreserveWhitespace(true/false) of XMLParser (oracle.xml.parser.v2.XMLParser)
Xsl-processor continue to format output text.
my xml
<list>
<element name="1.jpg" />
<element name="2.jpg" />
</list>
my xsl
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="no"/>
<xsl:strip-space elements="*"/>
<xsl:template match="list">
<html><body>
<img src="{element[1]/@name}"/><img src="{element[2]/@name}"/>
</body></html>
</xsl:template>
</xsl:stylesheet>
html-output
<html>
<body>
<img src="1.jpg"/>
<img src="2.jpg"/>
</body>
</html>
Please help me!

html-output
<html>
<body>
<img src="1.jpg"/>
<img src="2.jpg"/>
</body>
</html>
Please help me!

Similar Messages

  • How to call a SQL function from an XSL expression

    Hi
    In R12, in Payroll Deposit adivce/Check writer, We need to sort the earnings tag <AC_Earnings> in to two different categories as regular and other earnings. In the DB and form level of element defintiion we have a DFF which differentiates between the two kinds of earnings. But the seeded XML that is gerneated by the check writer does not have this field.
    The seeded template displays all the earnings in one column. How can we achieve this in the template without modifying the seeded XML.
    The one approach i have is to write a function and based on the return value sort the data. For this I need to know :
    1) How to call a SQL function from an XSL expression that is allowed in BI template.
    If anyone ahs faced similar requirements please share your approach.
    Thanks
    Srimathi

    Thank u..
    but i'd seen that link wen i searched in google..
    Is it possible without using any 3rd party JARs and all?
    and more importantly plz tell me what should be preferred way to call a javascript function?
    Do it using addLoadEvent() or Windows.Load etc
    OR
    Call it thru Xsl? (I donno how to do dis)
    Thanks in Advance..
    Edited by: ranjjose on Jun 3, 2008 8:21 AM

  • How do I generate HTML from XML & XSL using XSL Processor ?

    I want to generate a HTML from XML & XSL using XDK for C on
    linux-8i.
    I run the XSLSample well.
    But it only generate a XML from a XML & a XSL.
    Can any one give me some advise or sample code?

    Just use HTML tags instead of xml tags in your stylesheet, and
    you'll generate HTML instead.
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <html>
          <body>
            <xsl:for-each select="ROWSET">
              <table border="1" cellspacing="0">
                <xsl:for-each select="ROW">
                  <tr>
                    <td><xsl:value-of select="EMPNO"/></td>
                    <td><xsl:value-of select="ENAME"/></td>
                  </tr>
                </xsl:for-each>
              </table>
            </xsl:for-each>
          </body>
        </html>
      </xsl:template>
    </xsl:stylesheet>

  • How to suppress System.out's from clientgen?

    Hi,
    I'm using WebLogic 9.2.2 with Ant 1.6. I have this task when building my web application:
         <target name="gen-web-svc-client">
              <clientgen wsdl="${PROVISIONING_SERVICE_WSDL_URL}" destDir="${srcDir}" packageName="com.myco.regui.provisioning.client" serviceName="ProvisioningAccountService" classpath="${java.class.path}" >
              </clientgen>     
         </target>
    The client generates and works fine. Minor problem is that when it is run, there is some output sent to standard out and I was wondering if anyone knows how to suppress it? Below is an example of what I see ...
    <WSEE>Preparing to Send -> [Name:[{http://bea.com/2004/06/soap/workarea/}WorkContext]
    Content:[<java version="1.5.0_11" class="java.beans.XMLDecoder">
    <string>weblogic.app.RoutingEngine</string>
    <int>214</int>
    <string>weblogic.workarea.StringWorkContext</string>
    <string>v1.0.1</string>
    <string></string>
    </java>]]<WorkAreaClientHandler.handleRequest:31>
    Thanks for any help, - Dave

    Same problem about a year later. Did you ever find a soluton to suppress the stdout messages? The following message comes out 5 to 10 times a second, not sure if it's related to Ant or not.
    <Aug 3, 2010 2:00:03 PM MDT> <Notice> <Stdout> <000000> <<WSEE>Preparing to Send -> [Name:[{http://bea.com/200
    4/06/soap/workarea/}WorkContext]
    Content:[<java version="1.5.0_22" class="java.beans.XMLDecoder">
    <string></string>
    </java>]]<WorkAreaClientHandler.handleRequest:31>>

  • How to send a binary output from ni daq 6009

    I am trying to get a binary output from ni daq 6009 to make the selections of a multiplexer.
    I am trying to make the selection directly from the labview program.
    Please help me in getting this binary output from ni daq 6009 to do the selection

    Try something like this. 
    I'm not a fan of daq-assistant express vi's... use the primitives.  Create the task outside the main structure, pass that task inside the loop and do a write where needed.  Close the task after the main loop.  This improves speed and labview performance.
    Attachments:
    ocelot.png ‏43 KB
    ocelot.vi ‏21 KB

  • Urgent: How to exclude a particular value from the selection in the infopac

    How to exclude a particular value from the selection in the infopackage.
    Ex: not load for cost center 10000
    Thank you,
    sam

    Hi Sam,
    You cannot do this directly as exclusion, but you can include all other values, even as ranges and thus exclude the particular value, else you can also try to do this by writing a routine.
    Hope this helps...

  • How to create a mono output from a mono aux send?

    Trying to create a mono output from a mono aux send but option available is only a stereo output. Any way to force a mono output?

    Yes - I'm aware of the mono vs stereo. Let me outline more precisely what I'm attempting to do. (By the way, I know this can be done as I do it easily in MOTU's Digital Performer.) The desire is to create a mono send inside Logic that I can then send out through my MOTU interface into a Lex 300 reverb unit. I then take the analog outputs from the Lex 300 and bring them back into Logic. I want the send to be mono as I am mostly sending from mono recorded instruments and voices. So chain would look like this:
    Track 1
    Send Bus 8
    _Bus 8 Mono output_
    MOTU 2408 Input
    Patch Bay cable
    Lex 300 Mono input ///
    (now coming out)
    Lex 300 Stereo Out
    patch bay
    MOTU Stereo Inputs 15/16
    Logic Stereo Input 15/16
    Mix.
    The problem with the chain is that I cannot select a _mono output_ - it only allows for a stereo output. I can pan it one way or the other but it still does not seem to function correctly and toggling the mono/stereo button does not change the fact that this is still a stereo output. I hope this does not make it more complicated - it seems like there should be a simple solution. Any ideas? Thanks.

  • How to create an Excel file from XML in the Receiver File Adapter Comm Ch

    How do I create an Excel file from XML in the Receiver File Adapter Communication Channel? I have my mapping done and I am outputting the file as a comma delimited csv file. However, the target can only process an Excel file (.xls). How can I generate an Excel in XI?
    I saw this blog, but I don't know how to create a XSLT transformation.
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    Any help would be appreciated. Thanks.

    Here are the steps I took to create an XSLT transformation in XI 3.0:
    1. I created my source and target XSDs using XMLSpy.
    2. I created the XSLT mapping from source to target in XMLSpy (referencing the souce XSD schema).
    3. I created another XSLT mapping to format the target into Excel XML.
    4. Import the source and target XSDs in the IR's External Definitions
    5. Zip each XSLT mapping (.xls) and import it into the IR's Imported Archives
    6. Reference the XSL mappings in the Interface Mapping

  • How to automatically create fillable PDFs from XML

    We are looking for a way to create fillable PDFs that users can enter data into and save (so the PDF needs Reader Rights applied) and we want to be able to automatically create these PDFs from XML files. We are able to do what we want in a manual fashion using Acrobat Pro v8 but we need a way to automate this due to the volume of XML files that we will need to convert.
    Is there any way that this can be scripted from a command line interface with Acrobat.. like:
    Acrobat.exe –input FileName.xml –output FileName.pdf –applyReaderRights true
    If there is no command line options for this is there any way that this could be coded using .NET or any other programming language?

    You cannot automate applying usage rights with Acrobat. For that you'd need to use Adobe's LiveCycle Reader Extensions.
    How exactly are you currently converting XML into fillable forms? Are you using an XDP to somehow convert to an XFA-based PDF?

  • How to convert Sequence file documentation from TXT or HTML to MS Word ?

    Hello, I would like to modify a DocSupport.prj which in default generate only TXT or HTML to support MS Wors *.DOC. I have already change the dialog (add *.doc filter..), that was simple. But the major problem is how to convert the output from doc.c to some *.doc file. I found somewhere here Word9 ActiveX  Instrument  for CVI, but I don't understand, how  the CVI gets informations about the steps etc.  from *.seq file for another use. The original code in doc.c is quite hard to understand it quickly. Thanks for help.

    Hi Pet007,
    You should be able to just change the file it saves to's extension to .doc. You'll notice there is a define for txt, you could either change this to doc or if you still want to be able to use txt, create a new define and use this. If you do this you'll need to also add a define above (as you see it defines an integer for each different format type and uses those throughout the program as well). That should give you a good starting point for modifying this code. Unfortunately it is quite extensive to actually accomplish this, or else I could give a step by step guide, but it is rather long. But you should be able to get it working from this. The reason this should work is because Microsoft Word (.doc) files understand plain text just like .txt files. However, if you want to add formatting (fonts, bold text, etc) you would need to use the ActiveX Instrument for CVI which just access the ActiveX server from Microsoft. For more information about ActiveX in CVI visit the following link.
    Using LabWindows/CVI as an ActiveX Automation Controller to Control Automation ServersAlso, this link gives an example of using Excel with CVI through ActiveX, which may give you some useful information about doing this type of thing.
    Embed Excel ActiveX Documents on a CVI PanelFor more information on using Word's ActiveX Server, check out the following Microsoft Portal.
    Word Developer Portal
    Brandon Vasquez | Software Engineer | Integration Services | National Instruments

  • How to avoid the null values from xml publisher.

    I am creating a report which have the claim numbers with the values CLA001,CLA111,null, null . when i preview my report it is showing some spaces for null values also. How can i avoid the spaces from the report.
    I am giving for loop for the claim numbers in the template.
    <?for-each:ROW?> <?sort:CLAIMNUMBER;'ascending';data-type='text'?>
    <?CLAIMNUMBER?>
    <?end for-each?>
    Please help me out to solve this problem.
    Thanks,
    vasanth.

    Hi Sheshu,
    According to your description, you are experiencing the null values and infinity values when browser the calculated measure, right?
    Based on my research, the issue is caused by that dividing a non-zero or non-null value by zero or null. In this cases, we need to check for division by zero to avoid this situation. Here is the sample query for you reference.
    IIF(
    Measures.[Measure B]=0,null,
    Measures.[Measure A] / Measures.[Measure B]
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How can I generate IDOC(WPUUMS) from XML file in POSDM or in SAP Retail

    Hallo Retail expert,
                                I have following scenario,
    I have Retail Store who send me their daily sales report through Wincor Nixdorf Point of sale. There i am using standard POSLOG2 to SEEBURGER(its a middleware which act as Converter) xml format and then i post that data first in POSDM and then with BAPI i transfer or book that data to SAP Retail.
    Above is the one scenario which is working.
    This is the Second scenario.......
    I have some external Retail store, they dont have Wincor Nixdorf POS, so they send me their Sales Report through SEEBURGER(its a middle Hardware which act as Converter) and SEEBURGER Convert that Sales data to XML format. My question is....
    How can i upload or Convert a XML File into IDOC (WPUUMS)in SAP or in POSDM?
    any new suggestion are welcome.
    Thank you all in advance.
    regards,
    Niel

    Hi,
    1. To get the required XML Schema, use transaction code WE60 to go to the IDoc documentation -> enter the IDoc type you want to use (WPUUMS01). Flag control and data record. Then display the XSD by choosing Documentation -> XML Schema from the menue bar. Now you can donwload the XSD for usage in Seeburger.
    2. Create your mapping from the POS format into the IDoc XML format in Seeburger.
    3. Create an XML File Port in ERP or POS DM using transaction code WE21.
    3. To inbound the XML file from Seeburger into POS DM or SAP Retail Seeburger should trigger the function module EDI_DATA_INCOMING. Parameters for this FM are the Pathname to the XML file and the Portname you just created. Based on the port name the FM can derive the port type xml and the data will be handled as XML data.
    Regards Carsten

  • How to load images in List from Xml and view the image and resize the image & save in Flex?

    Hi Friends,
    I am new to flex i am doing application for image resizing rotating and save the resize image.
    I want to load the images from xml file to listcontrol and show that images as a icon in the listview,then i want to drag that image to panel that time it should show it original size of the Image.then it allows user to resize ,crop,rotate the image.then i want to save the resize image,when i save the resize image it should replace the original image in the xmllist.
    I am looking for some useful suggession ,if you dont mind want to see some snippet code.
    It will help me to understand the concept.
    Cheers,
    B.Venkatesan

    Not in Crystal Reports Basic for Visual Studio 2008. You'll have to upgrade to CR 2008 (12.x). Then use kbase [1320507|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] as a guide on how to do this.
    Ludek

  • How to delete a perticular node from xml file using java code

    Hii All,
    Now i am trying to delete a perticular node from xml file.Like...
    XML file:
    <Licence>
    <SERVER>
    <was id="1">1</was>
    <was id="2">2</was>
    </SERVER>
    </LICENCE>
    I am working in messaging service using JABBER framework with whiteboard facility.
    Here Some commands i have created to add,modify,delete nodes from xml file.They Are
    1.If u want to add a new node then.
    create Licence.SERVER <ss id="3">ddd</ss> lic.xml
    (here u want to add a new node called "ss" under Licence.SERVER.
    And lic.xml is tyhe xml file name where it was saved.
    2.If u want to delete a node(Suppose <was id="1">),then the command should be
    delete Licence.SERVER.was:id='"1" lic.xml
    A problem arises that here it find two was attributes.And it delete the last was attribute,not the requested node.
    PLEASE HELP ME IN SOLVING THIS CODE..
    ------------------------------------

    Looks like you clicked on "Post" before you pasted in the code you were talking about.

  • How can i Use the symbols from the main html page?

    Hello!
    Im trying to find a solution for days!!
    i need to use my symbols from the html page, for example to hide the symbol i want to use: sym.$( "sym1" ).hide(); or to make it draggable (with jquery UI) i wanna use: sym.$( "sym1" ).draggable(); but it doesn't work.
    i know i can do the same from the edgeActions.js file and here is the working code:
          Symbol.bindElementAction(compId, symbolName, "document", "compositionReady", function(sym, e) {
             var ex1 = sym.$( "farmer" );
             //ex1.html( '<input type="text" />' );
             yepnope({
                 both: [
                     "libs/jquery-ui.min.js",
                     "libs/jquery-ui.css",
                 callback: function() {
             ( ex1 ).draggable();
    but the main problem is that it's always include this file as the very last .js, so in case Im trying to use the symbols from the index.html page (For example:  ( ex1 ).draggable();  ) the variables are undefined (because it read the html first)...
    Please Help, Im desperate..
    Thank you very much!!!
    Eran

    Hi, Eran-
    You will want to use the AdobeEdge.* APIs, which should give you access from external JavaScript into your Edge Animation.  The API document has information on that.  However, you will need to wait until the runtime loads, so you should use the bootstrapping method that is outlined in Josh Hatwich's post on our blog:
    http://blogs.adobe.com/edge/2012/05/15/bootstrapping-edge-compositions/
    Hope that helps!
    -Elaine

Maybe you are looking for

  • Redirected network drive, iTunes, and iOS 8.0.2

    It took me two days to troubleshoot this problem.  I'm up and functioning again, but I thought I'd post this in case anyone else has the peculiar circumstances that broke my iTunes.  Systems:  Windows 8.1, iTunes 11.4.0.18, iPhone 5S 32GB.  Symptoms:

  • Laser Jet Printer/Color Text Prints Grey

    Hi everyone, I have a HP LaserJet 2430, black & white printer hooked up to my iMac. I'm running Snow Leopard 10.6.6. When I want to print, for example, an email where a color was used for the font, the colored font prints in grey. When I was able to

  • Help on SQL

    SELECT * FROM apps.FND_CONC_REQ_SUMMARY_V --request_id,last_update_date,actual_completion_date,user_concurrent_program_name I want to pull out distinct user concurrent program details which was last completed. There were multiple request_ids for each

  • Printing form name  for FORM-16A

    hi   could u plz help me in finding printing form&prg. name for FORM-16A       my concernig functional want to insert QUATERLY AKNOWLEDGEMENT NO. in FORM-61A  , but he is not entering them any where in SAP .     guide me the solution for this. urget

  • My Thunderbolt will not read my SD card!

    I have not done anything unusual to my phone, but the other day my phone refused to read my SD card and will not allow me to take pictures or access the ones I have, I did not drop it, i have tried taking it out and re-inserting it several times. Rea