How to generate the XML file to HTML?

Hi all,
I am new to XML.
Can I somehow see the HTML-Output of the XML-File, when I have the XSL-File too, but don't use any XML-Editor (XMLSpy) and FOP? I do not want use any additional tools - only the database tools.
What I need for this?
Do I need the XSLT-File too?
============================
My test.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<ROW num="1">
     <TABLE_NAME>ABR_ART_ABR_DAU_MATRIX</TABLE_NAME>
     <TABLESPACE_NAME>PS2000_STAMM</TABLESPACE_NAME>
     <PCT_FREE>10</PCT_FREE>
     <INI_TRANS>1</INI_TRANS>
     <MAX_TRANS>255</MAX_TRANS>
     <INITIAL_EXTENT>516096</INITIAL_EXTENT>
     <NEXT_EXTENT>65536</NEXT_EXTENT>
     <MIN_EXTENTS>1</MIN_EXTENTS>
     <MAX_EXTENTS>2147483645</MAX_EXTENTS>
     <PCT_INCREASE>0</PCT_INCREASE>
     <LOGGING>YES</LOGGING>
     <BACKED_UP>N</BACKED_UP>
     <NUM_ROWS>33</NUM_ROWS>
     <BLOCKS>20</BLOCKS>
     <EMPTY_BLOCKS>0</EMPTY_BLOCKS>
     <AVG_SPACE>0</AVG_SPACE>
     <CHAIN_CNT>0</CHAIN_CNT>
     <AVG_ROW_LEN>100</AVG_ROW_LEN>
     <AVG_SPACE_FREELIST_BLOCKS>0</AVG_SPACE_FREELIST_BLOCKS>
     <NUM_FREELIST_BLOCKS>0</NUM_FREELIST_BLOCKS>
     <DEGREE> 1</DEGREE>
     <INSTANCES> 1</INSTANCES>
     <CACHE> N</CACHE>
     <TABLE_LOCK>ENABLED</TABLE_LOCK>
     <SAMPLE_SIZE>33</SAMPLE_SIZE>
     <LAST_ANALYZED>1/8/2004 11:45:1</LAST_ANALYZED>
     <PARTITIONED>NO</PARTITIONED>
     <TEMPORARY>N</TEMPORARY>
     <SECONDARY>N</SECONDARY>
     <NESTED>NO</NESTED>
     <BUFFER_POOL>DEFAULT</BUFFER_POOL>
     <ROW_MOVEMENT>DISABLED</ROW_MOVEMENT>
     <GLOBAL_STATS>YES</GLOBAL_STATS>
     <USER_STATS>NO</USER_STATS>
     <SKIP_CORRUPT>DISABLED</SKIP_CORRUPT>
     <MONITORING>NO</MONITORING>
     <DEPENDENCIES>DISABLED</DEPENDENCIES>
     <COMPRESSION>DISABLED</COMPRESSION>
</ROW>
============================
============================
My test.xsl-file:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<title>Test XSL ALL_TABLES</title>
</head>
<body>
<xsl:for-each select="ROW">
<h2>Tabelle: <xsl:value-of select="TABLE_NAME"/></h2>
     <hr/>
     <table border="1" cellpadding="0">
                         <tr>
                         <td><xsl:value-of select="TABLESPACE_NAME"/></td>
                         <td><xsl:value-of select="PCT_FREE"/></td>
                         </tr>
                    </table>
          </xsl:for-each>          
</body>
</html>
</xsl:template>
</xsl:stylesheet>
============================
I am waiting for your answers, when possible with examples please.
Regards
Leonid Pavlov

XSLT to convert the XML document to Html:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<title>Test XSL ALL_TABLES</title>
</head>
<body>
<table border="1" cellspacing="0">
<tr>
<th>TABLE NAME</th>
<th>TABLESPACE NAME</th>
<th>PCT FREE</th>
</tr>
<xsl:for-each select="ROW">
<tr>
<td><xsl:value-of select="TABLE_NAME"/></td>
<td><xsl:value-of select="TABLESPACE_NAME"/></td>
<td><xsl:value-of select="PCT_FREE"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

Similar Messages

  • How to generate an XML file from SSIS (based on an XSD)?

    I have an XSD that describes an XML format. I also have a sample XML file as well from the XSD. I am trying to understand SSIS's capability to generate the XML file in an ETL process. I would need to create the XML file based on the XSD that
    I have. It is safe to assume that all the data elements are in the DB that I am incorporating in the ETL and it is also safe to assume that the data in the XML may be from multiple different tables (so massaging is probably necessary). 
    Would this be a job for C#/VB or can I do this through an SSIS process/task? Please help me understand my options. Thanks.

    Dear All,
    Indeed the post by RamJaddu did not answer the question. I am having the same issue: I have been provided an .xsd file which contains a data schema, and I have all of the necessary
    data in a .mdf file in order to create the required .xml file. Having queried SQL Server and received my data in "myDataSet" I can use C# to create the .xml ignoring the schema using
    string strSchemaFile = @"F:\Documents\UserCost\VictorianDataCollection\VCDCSchema_v2.xsd";
    string strXmlFile = "testXmlExport.xml";
    myDataSet.WriteXmlSchema(strSchemaFile);
    myDataSet.WriteXml(strXmlFile, XmlWriteMode.IgnoreSchema);
    but how do I export the .xml file so that is conforms with the .xsd format?
    If any of you have worked this out the answer would be most appreciated.
    All the best,
    Nick
    "Everything should be made as simple as possible, but not simpler" - Einstein

  • How to generate an XML file for an animation of IK armature

    Can someone please tell me how to generate an XML file for an animation of IK armature.
    I have a 5 keyframe/16 frame animation of a human character made up of a series of moveiclip symbols that is animated with an IK armature.  I need the XML information from the animation. 
    When I go to Commands > Export Motion XML I get the error message "There is more than one object on frame 1" and then nothing happens.
    Thank you,
    c

    I hope that's not the case.  I want to write to adobe about it.  I think it's a great feature and it functions really well even though it is not a very developed IK tool.  My biggest issue with it is ouput options and integration with motion tweens.
    I have seen a lot of examples of animators using it online, just no one talked about output.  I just feel it hasn't been developed.  It can generate a sprite sheet but only for a single pose frame of the animation, and not all the key frames or pose tweens.  I find that functionality quite odd, as if adobe just forgot about IK when added in sprite sheets, etc. and the reason it half works is just an accident.

  • HOW TO CONVERT A XML FILE TO HTML FILE FORMAT IN WINDOWS APPLICATION

    Hi iam a fresher iam working on a project in that i should convert the data in xml file to html file. I dont have any idea regarding this can anyone help me how to convert the xml file to a html file format. I just written the code till how to read the xml
    file. Now i stucked how to write the code for converting to html format.
    Thanks and Regards,
    Dileep.

    Hi iam a fresher iam working on a project in that i should convert the data in xml file to html file. I dont have any idea regarding this can anyone help me how to convert the xml file to a html file format. I just written the code till how to read the xml
    file. Now i stucked how to write the code for converting to html format.
    Thanks and Regards,
    Dileep.
    Hello,
    For converting xml file to html, we could refer to the way shared in the following thread which uses an XSLT stylesheet to transform the XML into another format using the
    XslTransform class.
    http://www.codeproject.com/Articles/12047/How-to-Convert-XML-Files-to-HTML
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to get the XML file if we are using the Product short name.

    Hi,
    Till now I have used Short name of the Concurrent Program for Code while creating a Data Definition. Now saw a seeded template which has given the Code by Product short name. If we have the concurrent program then it is easy to refer the fields by checking the XML file. In this case how to find the XML file or how to refer all the fields if we have given code with Product short name. I saw this for iReceivables(ARI). Anybody please help me.
    Thanks.

    Hi Siva
    Just to clarify, rather than the short name of the conc program there is a shipped data definition that just uses the product short name? What is the data def so I can check it.
    Regards, Tim

  • How to call the XML file as PrivateResourcePath in JSP

    Hi All,
    I want to call the layer-config.xml values in JSP dropdown list. How to call the XML file as PrivateResourcePath in JSP... please advise me if any solution.
    locaiton: dist/PORTAL-INF/layer-config.xml
      <?xml version="1.0" encoding="utf-8" ?>
    - <layer-config>
    - <system>
      <layer>Test</layer>
      <internal>true</internal>
      </system>
    - <system>
      <layer>Test1</layer>
      <internal>false</internal>
      </system>
    - <system>
      <layer>Test3</layer>
      <internal>false</internal>
      </system>
      </layer-config>
    Thanks in advance.

    Hi,
    The below link may help you.
    [Accessing image from dist/imgaes folder inside JSPDynpage Component;
    Regards,
    Suresh Bachimanchi

  • How to call the XML file as Private

    Hi All,
    I want to call the layer-config.xml values in JSP dropdown list. How to call the XML file as PrivateResourcePath in JSP... please advise me if any solution.
    locaiton: dist/PORTAL-INF/layer-config.xml
      <?xml version="1.0" encoding="utf-8" ?>
    - <layer-config>
    - <system>
      <layer>Test</layer>
      <internal>true</internal>
      </system>
    - <system>
      <layer>Test1</layer>
      <internal>false</internal>
      </system>
    - <system>
      <layer>Test3</layer>
      <internal>false</internal>
      </system>
      </layer-config>
    Thanks in advance.

    Hi,
    The below link may help you.
    [Accessing image from dist/imgaes folder inside JSPDynpage Component;
    Regards,
    Suresh Bachimanchi

  • How to overwrite the xml file...

    Hi,
    can any one help me how to overwrite the xml file.....
    ~~Sk

    Flash Player cannot write XML files at all. but using
    php+flash we could do it .

  • How to convert from xml file to html using java code

    How to convert from xml file to html file using java code

    Get yourself Apache Xalan or Saxon or some XSLT processor
    String styleSheet = "/YourXSLTStylesheet.xsl";
    String dataSource = "/YourXMLDocument.xml";
    InputStream stylesheetSource = TransformMe.class.getResourceAsStream(styleSheet);
    InputStream dataSourceStream = TransformMe.class.getResourceAsStream(dataSource);
    OutputStream transformedOut = new FileOutputStream("filename.html");
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Transformer transformer = tFactory.newTransformer(new StreamSource(stylesheetSource));
    transformer.transform(new StreamSource(dataSourceStream), new StreamResult(transformedOut));You'll also need to learn XSLT if you don't already know that. Here's a good place to start
    http://www.w3schools.com/xsl/

  • How to rename the XML file generated during payment run

    Hi,
    We have a requirement to rename the XML file during payment run, format some fields of XML file and upload it onto Application server with the new XML file name. All these activities need to be performed during payment run F110.
    Please let know if there is any User exit or Enahancement to achieve these functionalities.
    Thanks !
    Regards,
    Ravinder

    Hi,
    We have achieved the second functionality also i.e. populating the additional nodes or custom nodes of an extended tree.
    This is what we have done...
    We have copied the standard exit FM: DMEE_EXIT_TEMPLATE_EXTEND_ABA into a custom one and assigned it to each (custom) node in 'Source' tab. Line item text FPAYP-SGTXT will not be returned via this FM, so we fetched it explicitly from BSEG table using the input FPAYP-DOC2R (this field will have the company code, document number, fiscal year and item no, all concatenated).
    Thanks,
    /Ravinder

  • How to generate an XML file following a XSD schema

    hi, i have a XML Schema (.xsd) and i have to generate automatically the structure of the XML according to the XSD Schema.I have been searching on the internet and found some solutions using XMLBeans and JAXB, but that`s not exactly what i am looking for. I use JDOM to parse XML and i'd wish to use only Jdom to generate XML if it's possible....Thank's

    Dear All,
    Indeed the post by RamJaddu did not answer the question. I am having the same issue: I have been provided an .xsd file which contains a data schema, and I have all of the necessary
    data in a .mdf file in order to create the required .xml file. Having queried SQL Server and received my data in "myDataSet" I can use C# to create the .xml ignoring the schema using
    string strSchemaFile = @"F:\Documents\UserCost\VictorianDataCollection\VCDCSchema_v2.xsd";
    string strXmlFile = "testXmlExport.xml";
    myDataSet.WriteXmlSchema(strSchemaFile);
    myDataSet.WriteXml(strXmlFile, XmlWriteMode.IgnoreSchema);
    but how do I export the .xml file so that is conforms with the .xsd format?
    If any of you have worked this out the answer would be most appreciated.
    All the best,
    Nick
    "Everything should be made as simple as possible, but not simpler" - Einstein

  • How to generate the ATR files for reports with out manually?

    Hi all,
    how to create the ATR files for reports in OBIEE 11g with out manually?
    is there any other method to create the ATR files by using the OBIEE Server?
    please provide me the solution for this?
    we are creating manually for each and every report, it is time taken process how can we generate ATR files automatically
    by using the OBIEE Server?
    Thanks,

    Hi,
    I am afraid not.ATR are attributes files contains the object's full name, access controllist (ACL), description, and so on.Each catalog object has a corresponding attributes file, I am not sure why do you have to generate the atr files.In case you need info about atr files: http://businessdecisionsystems.com/blog/?p=7
    If you have huge number of similar reports(with filter variations and same kind of layout), try to play around with the xml to minimize the development effort.
    Rgds,
    Dpka
    Edited by: Dpka on Oct 4, 2011 12:00 AM

  • How to find the XML file size in the scenarios?

    Hi All,
    Recently i have attended an interview at a MNC.
    They asked some realtime questions like
    1.how to find the XML document size in a File-File scenario?
    2.What is mass-assignment replication etc.....
    Can anybody tell me the solution for these.
    Best regards
    Hari prasad

    If the input is a flat file, there is no exact way to calculate the size of the generated XML file, since it depends on many factors (number of fields in the recordsets, size of the name of the fields, number of records, etc).
    As a rule of thumb, generally ppl use XML file size = 2 x Flat file size, in order to do sizing calculations etc. But again, that is just an estimation, not a precise calculation.
    Regards,
    Henrique.

  • How to generate a XML file from a XML schema...?

    Hi guys...!
    I have a XML schema and I want to write a XML file based on that schema. I have heard about this feature that eclipse has, which given a XML schema, can generate a XML file for you.
    Does anyone of you know about this feature? or is there another way to do it. The schema that I have is very huge...
    I will really appreciate any help from you guys...
    Thank...you..
    --- Spirit Away...

    don't cross post
    http://forum.java.sun.com/thread.jspa?threadID=649205&tstart=10

  • How to generate an xml file from a soapbody

    i'm trying to use SOAPMESSAGE from a webservice as a Datasource for my JasperReport, I'm thinking of doing it as getting the SOAPBody and saving it as xml file and setting that xml file as datasource to my JasperReport. My problem is how will a get the SOAPBody and save it as an xml file? or is there other way to make SOAP from webservice as a datasource for my Jasperreport?
    Thanks in advance for your help.

    Dear All,
    Indeed the post by RamJaddu did not answer the question. I am having the same issue: I have been provided an .xsd file which contains a data schema, and I have all of the necessary
    data in a .mdf file in order to create the required .xml file. Having queried SQL Server and received my data in "myDataSet" I can use C# to create the .xml ignoring the schema using
    string strSchemaFile = @"F:\Documents\UserCost\VictorianDataCollection\VCDCSchema_v2.xsd";
    string strXmlFile = "testXmlExport.xml";
    myDataSet.WriteXmlSchema(strSchemaFile);
    myDataSet.WriteXml(strXmlFile, XmlWriteMode.IgnoreSchema);
    but how do I export the .xml file so that is conforms with the .xsd format?
    If any of you have worked this out the answer would be most appreciated.
    All the best,
    Nick
    "Everything should be made as simple as possible, but not simpler" - Einstein

Maybe you are looking for

  • ASA 5505 - Cannot ping outside natted interface

    Hello, I have a Cisco ASA 5505, the problem is I am not able to ping to outside natted interface (ip: 172.88.188.123 and 124 and 125) from inside network Could someone help me to resolve this? I have looked for ASA documentation through the internet

  • Null pointer exceptions in CallableStatement

    Hi, Has anyone seen this problem before? I have an app that needs to invoke a stored proc on a SQLServer 2000 database, using the MS SQLServer 2000 JDBC drivers. We were doing this via CallableStatement classes, but unless we specify implicit transac

  • Creating Custom tags

    When I attempt to use my custom tag (my:setcolor) in BEA workshop I get the following error: ERROR: No type with this name could be found at this location The error message appears when I mouse over my tag. I attached is my JSP file, TLD file and JAV

  • FCE freezing computer.

    I'm using FCE 1 and DVD Studio Pro 2. Both apps are installed on my boot volume, a hard drive on a PCI controller and my scratch disk is a hard drive on my onboard IDE-ATA socket. I save project files to the scratch disk volume. When I try to export

  • Date separate year, month and day

    Hello everyone and thanks in advance, I'm new to this and the truth is not doing this. Well, I have a PDF with several pages which I designed and has been asking me in a complete date in the format dd / mm / yy and subsequent pages he asks me the sam