QUICK XML BASIC QUESTION

I have a program that has a hierarchical type of data that it stores. I want to make the data captured avaliable through a web page. I was going to use JDBC-ODBC driver and access then asp at the web server. Can I use XML instead for this purpose? It would seem more platform independant.
Then xml file will be simple. What is the simplest way to create an XML file. I really dont want to have to download more class files so does jdk1.3,1 and above incolude the xml stuff that I will need. If not were should I look.
Any help is much appreciated, I am sorry that I have no dukes to offer!

Jimmy,
You need to XML writing logic to put the data from you web GUI to XML file and tranfer the same across the network using JMS (thru jndi) or mqseries through queues . And you need XML parser to map your data to your data objects.
Hope this helps.
Dukkar Lee

Similar Messages

  • Basic  XML Publisher Question: How to access tags in the higher levels?

    Hi All,
    We have a basic question in XML Publisher.
    We have a xml hierarchy like below:
    <CD_CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 1</CAT_NAME>
    <CD>
    <TITLE>TITLE1 </TITLE>
    <ARTIST>ARTIST1 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE2</TITLE>
    <ARTIST>ARTIST2 </ARTIST>
    </CD>
    </CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 2</CAT_NAME>
    <CD>
    <TITLE>TITLE3 </TITLE>
    <ARTIST>ARTIST3 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE4</TITLE>
    <ARTIST>ARTIST4 </ARTIST>
    </CD>
    </CATALOG>
    </CD_CATALOG>
    We need to create a report like below:
    CATALOG_NAME     CD_TITLE     CD_ARTISTCATALOG 1     TITLE1     ARTIST1
    CATALOG 1     TITLE2     ARTIST2
    CATALOG 2     TITLE3     ARTIST3
    CATALOG 2     TITLE4     ARTIST4
    So we have to loop at the level of <CD> using for-each CD. But when we are inside this loop, we cannot access the value of CAT_NAME which is at a higher level.
    How can we solve this?
    Right now, we are using the work-around of set_variable and get_Variable. We are setting the value of CAT_NAME inside an outer loop, and using it inside the inner loop using get_variable.
    Is this the proper way to do this or are there better ways to do this? We are running into troubles when the data is inside tables.

    you can use
    <?../CAT_NAME?>copy past to your template
    <?for-each:CD?> <?../CAT_NAME?> <?TITLE?> <?ARTIST?> <?end for-each?>

  • Basic question, how to create rtf template with a given xml file

    Hello guys
    I am new to BI publisher and I am learning how to create rtf templates using given xml fiel definitions by following the bi publisher guide
    The steps I am following is:
    1, create template using template builders, which is downloaded into MS words.
    2, In the empty template, map the xml columns with template field using BI publisher tag
    3, upload the template to BI Publisher as a layout.
    That's all I can understand.
    My question is:
    1,in which above step do I import XML file into template builder (if not bi publisher), how to do so?
    2,After template is created, how to associate this template layout with existing reports in BI Publisher, or is it necessary at all?
    3,In the template content in MS Word template builder, what should I enter other than BI publisher tags for mapping XML field to desired template field
    Or, if my understand of this process is entirely wrong, what's the right process of creating rtf template with a given XML file definition
    Thanks

    If you have a BI Publisher desktop installed, have a look a the demos,.. should answer most of your basic questions.
    (Windows) Start->Programs->Oracle BI Publisher Desktop->Demos
    Invoice Demo - good one for those with E-Business Suite
    Report Demo - Sample using BI Publisher

  • MapViewer - A team of newbies and definitely basic questions...

    Dear All,
    We are a team of programmers who are very new to MapViewer. We are an experienced team of GIS programmers, however, we find difficulty in applying known functions to MapViewer. It's a great application, but a lot of unknowns.
    We have very basic questions, as well as advanced ones. I would like to summarize them as follows:
    1. How can I let the map to be zoomed into a specific feature?
    2. How can I execute a query to find a specific feature?
    3. How can I execute network analysis query to find the shortest path or paths between two or more nodes?
    4. How can I find out the nearest node to the location when user clicks on an arbitrary location on the map?
    5. How can I execute generic queries, without (this is important) need to send/receive XML queries?
    6. The bottomline is: we just want to use ready made functions to make it as easy as possible.
    Anyhelp is greatly appreciated. We are stuck with the basics of MapViewer (Oracle Maps).
    Please help us find the light :)
    Best regards.
    Desperate MapViewer Team!

    Here are some quick answers, hopefully they are not too late.
    1. You will construct a theme (mostly a dynamic one) that contains the specific feature, then call the theme's setBoundingTheme(true). Typically what we see people do is: a) create a dynamic theme with a query that selects a set of features; b) create a FOI layer based on the theme (MVThemeBasedFOI); c) call the setBoundingTheme(true) on the FOI layer. The end result, is that MapViewer will process your query and return the FOI data to the Oracle Maps JavaScript client, which will zoom the map to include the set of features in the FOI layer. Check out Oracle Maps tutorial #35 for an example.
    2. This is partly answered above. Basically you will construct a theme with a dynamic query string. You may want to check out tutorial #37 which finds out and displays the buffers around a set of points; the buffers are constructed via a SQL query at run time.
    3. This is not really a MapViewer question; rather, you may need to consult the Oracle Spatial routing engine XML API; the gist is you send the XML route request to the routing server, which returns a set of coordinates for your directions, which you can construct (MapViewer) FOI objects out of and display them on the map.
    4. I'm not sure our routing engine or network data model API has such a function ready for use; what you can do is if you can formulate the SQL query string (with the current location represented as a binding variable), then you can create a theme out of this query condition, and simply supply the location at run time to get the set of nodes.
    5. Can you please elaborate on what do you mean by generic queries? A simple usage scenario will help.
    6. We understand; there are quite a lot of things that can be made easier out of the box and we are working towards that. in the mean time, just ask questions if you have them; and always check out the Oracle maps tutorials first (actually reading the MapViewer primer article should be the absolute first step :) ).
    thanks
    LJ

  • Basic question regarding SSIS 2010 Package where source is Microsoft Excel 97-2005 and there is no Microsoft office or Excel driver installed in Production

    Hi all,
    I got one basic question regarding SSIS 2010 Package where source is Microsoft Excel 97-2005. I wanted to know How this package works in production where there is no Microsoft office or Excel driver installed. To check that there is excel driver installed
    or not, I followed steps: Start-->Administrative Tools--> Data Sources(ODBC)-->Drivers and I found only 2 drivers one is SQL Server and another one is SQL Server Native Client 11.0.
    Windows edition is Windows Server 2008 R2 Enterprise, Service Pack-1 and System type is 64-bit Operating System.
    We are running this package from SQL Server Agent and using 32-bit (\\Machine_Name\d$\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTExec.exe /FILE "\\Machine_Name\d$\ Folder_Name\EtL.dtsx" /CONFIGFILE "\\Machine_Name\d$\Folder_Name\Config.dtsConfig"
    /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING E) to run this package. I opened the package and tried to find out what connection we have used and found that we have used "Excel Connection Manager" and ConnectionString=Provider=Microsoft.Jet.OLEDB.4.0;Data
    Source=F:\Fares.xls;Extended Properties="EXCEL 8.0;HDR=YES"; and source is ‘Excel Source’
    I discussed with my DBA and He said that SSIS is having inbuilt Excel driver but I am not convinced.
    Could anyone please clear my confusion/doubt?
    I have gone through various links but my doubt is still not clear.
    Quick Reference:
    SSIS in 32- and 64-bits
    http://toddmcdermid.blogspot.com.au/2009/10/quick-reference-ssis-in-32-and-64-bits.html
    Why do I get "product level is insufficient..." error when I run my SSIS package?
    http://blogs.msdn.com/b/michen/archive/2006/11/11/ssis-product-level-is-insufficient.aspx
    How to run SSIS Packages using 32-bit drivers on 64-bit machine
    http://help.pragmaticworks.com/dtsxchange/scr/FAQ%20-%20How%20to%20run%20SSIS%20Packages%20using%2032bit%20drivers%20on%2064bit%20machine.htm
    Troubleshooting OLE DB Provider Microsoft.ACE.OLEDB.12.0 is not registered Error when importing data from an Excel 2007 file to SQL Server 2008
    http://www.mytechmantra.com/LearnSQLServer/Troubleshoot_OLE_DB_Provider_Error_P1.html
    How Can I Get a List of the ODBC Drivers that are Installed on a Computer?
    http://blogs.technet.com/b/heyscriptingguy/archive/2005/07/07/how-can-i-get-a-list-of-the-odbc-drivers-that-are-installed-on-a-computer.aspx
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi S Kumar Dubey,
    In SSIS, the Excel Source and Excel Destination natively use the Microsoft Jet 4.0 OLE DB Provider which is installed by SQL Server. The Microsoft Jet 4.0 OLE DB Provider deals with .xls files created by Excel 97-2003. To deal with .xlsx files created by
    Excel 2007, we need the Microsoft ACE OLEDB Provider. SQL Server doesn’t install the Microsoft ACE OLEDB Provider, to get it we can install the
    2007 Office System Driver: Data Connectivity Components or
    Microsoft Access Database Engine 2010 Redistributable or Microsoft Office suit.
    The drivers listed in the ODBC Data Source Administrator are ODBC drivers not OLEDB drivers, therefore, the Excel Source/Destination in SSIS won’t use the ODBC driver for Excel listed in it by default. On a 64-bit Windows platform, there are two versions
    of ODBC Data Source Administrator. The 64-bit ODBC Data Source Administrator is C:\Windows\System32\odbcad32.exe, while the 32-bit one is C:\Windows\SysWOW64\odbcad32.exe. The original 32-bit and 64-bit ODBC drivers are installed by the Windows operating system.
    By default, there are multiple 32-bit ODBC drivers and fewer 64-bit ODBC drivers installed on a 64-bit platform. To get more ODBC drivers, we can install the 2007 Office System Driver: Data Connectivity Components or Microsoft Access Database Engine 2010 Redistributable.
    Besides, please note that 2007 Office System Driver: Data Connectivity Components only install 32-bit ODBC and OLEDB drivers because it only has 32-bit version, but the Microsoft Access Database Engine 2010 Redistributable has both 32- bit version and 64-bit
    version.
    If you have any questions, please feel free to ask.
    Regards,
    Mike Yin
    TechNet Community Support

  • If I upgrade to Mountain Lion on the computer that will install it, will my WIFI still work on the computer that cannot be upgraded? I know this is a very basic question

    If I upgrade to Mountain Lion on the computer that will install it, will my WIFI still work on the computer that cannot be upgraded? I know this is a very basic question. Trying to hold out as long as I can, but purchasing an iPhone for Christmas and new iMac next year when warrently expires.

    Thank U very much for the quick reply, I wanted to upgrade this weekend, but still on the fence. I can live with the software that is not compatible, they are on another compuetr, just didn't want the obvious stuff to stop working.

  • Basic Questions - capturing miniDV, exporting to DVD?

    I apologize for the basic questions, but it's been a while since I've done this start to finish...like five years.
    I shot a bunch of miniDV sports footage on a Canon GL2 and I am digitizing the footage via firewire (straight from my camera to my computer). I am using Final Cut HD. The output will be to DVD.
    The Easy Setup is set to DV-NTSC. The sequence and capture settings are both set to DV-NTSC 48kHz.
    1. Under system settings > playback control > What are the correct settins for "RT", "video quality" and "pulldown pattern"? Do these ultimately affect the output quality?
    2. What is the "best" way to output to DVD (using the least compression, looking the best)? The end product will be about 35 minutes long. Should I output to QT and burn in DVD studio Pro, or "print to video" using an external DVD burner via a Sony converter box (how I used to export to VHS)?
    Thanks for pointing me in the right direction! I'm rather desperate...

    Depending upon whether you mean desperate in terms of time required to deliver the project or just for a solution, you can quickly output to DVD using iDVD as follows.
    If the FCP project resides on the same computer as iDVD (or a connected FW drive), simply 'export' - 'quicktime movie' (uncheck the 'make movie self-contained' checkbox and use 'current settings')
    Open iDVD and drag the resultant quicktime file into one of the themes you have chosen. (In the iDVD preferences set to NTSC and as the project is less than 60 mins you can use 'best quality' or 'best performance'. (There is no option to compress audio in idVD)
    The iDVD interface is pretty straight forward to negotiate.
    You will have more control over the output quality using DVDSP, but the learning curve is a little steeper than iDVD, however the DVDSP tutorial manual is very good for a quick start - you have 2 options in DVDSP, either use compressor to compress audio and video before authoring the disc in DVDSP or drag the afore mentioned quicktime file into the assets pane of DVDSP and let DVDSP do the compression.
    (I'm not an expert, but I believe this method doesn't give you the option to compress the audio - compressing the audio is one way of giving you more latitude in giving the video better quality)
    So I reckon that to get the best results you ought to compress using compressor before bringing into DVDSP.
    This thread is very useful as a basic Compressor tutorial.
    http://discussions.apple.com/thread.jspa?messageID=3621676&#3621676
    Along with the DVDSP tutorial manual, I authored and outputted a 60 min DVD with 2 menus and chapters, using Compressor and the DVDSP templates having had no prior experience at all with either Compressor or DVDSP in less than a day and I'm not particularly competent, so I know these 2 resources are user friendly.
    Good luck,
    Dave

  • BASIC QUESTIONS - VERY URGENT

    I have some basic questions regarding Oracle XMLDB's features.
    Is there a special JOIN clause that can be used in Oracle XMLDB?
    Can we create partitions in a set of records that are all based on the same DTD? How do we query records from a particular partition?
    Is it possible to query records with synonyms of words present in the documents (some sort of a dictionary feature)?
    Is it possible to query records based on the hierarchical directory structure using which the documents have been stored? i.e. can we query all documents that are stored in a specific path (including/excluding subdirectories)?
    Can we select a particular field within the XML document to be the primary key? Can the documents be indexed based on this field?
    What is the general performance of XMLDB like? For a database of the order of say 50-100 million XML records, would the performance be better with oracle XMLDB or with oracle RDBMS + some XML-RDB mapping tool?
    It would be good if any one could help me out.
    Waiting for earlier response

    Ram
    Please review the Oracle XML DB basic demo, it will answer some of your questions.
    To answer some of your questions.
    XML DB is architected to work with documents that are based on an XML SChema rather than a DTD...
    If you documents are not based on a schema you will need to store them as CLOB Based XMLtype. At this point you will be better off storing then in a relational table with an XMLType column, rather than an XMLType table. You can add other columns to this table for partioning purposes...
    You can query documents based on an Hierarchy, but only if they are schema based. Non schema based XML would be stored in the repository, Again it can be queried in terms of the heirarchy, but you cannot control the partioning on non schema based XML stored in the XML DB repository.
    You can have a PK only with Schema based XML. You can partition Schema based XML on any element that is not part of a collection.
    Hope this helps

  • Basic Questions related EHPs for SEM

    Hi Guys,
    I've some basic questions related to EHPs: -
    1. If we don't mean to implement any of the new functionalities does it make any sense to implement EHP? In other words do EHPs also have some general improments other than the functionalities which can be specifically activated?
    2. If we just activate a functionality and don't implement/ use it can there be any negative impact?
    3. In case of a pure technical upgrade from SEM 4.0 to SEM 6.0 which EHP would be recommended?
    4. Is there a quick way to find all relevant notes in EHPn which are related to corrections for EHPn-1?
    Thanks in advance,
    -SSC

    HI,
    If you see some of my older posts I have had many issues with certain features of the EHP2 functionality but that doesn't mean I would recommned against it.
    BCS 6 EHPs 3 & 4  (BCS 6.03 / 6.04) - enhancement packs worth implementing?
    BCS 6 EHP 2 (BCS 6.02) - activation of enhancement pack
    My recommendation is to implement the EHPs but not necesarrily activate the functions (in SFW5) unless you need them - this means that you will only have to test once after EHP implementation and will have the ability to activate the other features as and when required (although testing is required after activation of course) whereas it might be difficult to persuade your client/basis team to implement EHP4 later if you don't do it now.
    In the features of EHP2 (activate FIN_ACC_GROUP_CLOSE) it states that there is a general performance improvement - although I have yet to experience it! From OSS note 1171344 "The functionality which is available in EHP2 consists of...
    ... Performance improvements of status management, reporting and initial start-up of consolidation workbench and monitor.
    Since activating FIN_ACC_GROUP_CLOSE I have had many OSS notes requiring application but i discovered that when the technical team implemented the EHPs (before i joined this client) they somehow forgot the latest SP (support packs) and didn't upgrade to the current level - so make sure that you get the right SPs too (see the links in Greg's link above) to avoid the many OSS notes.
    As for your question - "is there a list of OSS notes to specific to EHP upgrades? - the answer is most definietly "NO" - I already asked OSS in desperation!
    however, you can see the OSS notes that i have applied listed in the above link ( BCS 6 EHP 2 (BCS 6.02) - activation of enhancement pack )

  • Basic Questions from Prospective Lion Server Switcher

    I have five servers I am running right now using Windows 2003 Server and various 3rd party packages.     Several years ago I became a Mac fan, moved all of my client based stuff to Mac, and now want to start moving my server based equipment to the OSX platform.
    I stopped by my local Apple Store, and they had a version of OSX Lion Server running on a MacMini, but couldn't seem to answer the most basic of questions because as their business people stated "We are not Server Certified" ... they recommended I talk to an outside consultant to get these basic questions answered which seems a little extreme.
    So I'm hoping the group can help.
    (1) I read through most of the Lion Server Advanced Administrative manual.    Lion server appears from the manual to do most of what I need.   However, when I tried doing some of the functions in the manual on the demo Lion Server at the Apple Store, many of the functions I wanted to do did not seemed to either be installed, or their were buttons missing in the Server App.     I do not know if this was a permission level problem, because the account I setup for myself had administrative rights.
    (2) In the mail app, it only appeared you could setup one mail domain.    It appeared you could setup virtual domains and users through the user app, but not through the mail domain itself?
    (3) I could not find any where to enable DNS services.    The manual seems pretty straight forward in turning on DNS, but the Lion Server I saw had no DNS services running, or any way to enable them?
    (4) Same for mailman listserv type function ... manual seems to be straight forward on enabling under the mail server, but again, no signs of the settings or enabling under the mail service.
    (5) Under the mail app, didn't find any way to setup alternative SMTP ports  ( I allow now Port 26 besides the standard Port 25 and SSL ports for my users.) ... I find port 26 gets past most firewalls at hotels etc.      Didn't see any way to control SMTP authentification too.
    (6) Under the Lion Server tech description, it talk about a built in web editor, saw nothing of the kind.
    So did the apple store have a limited install or am I missing something that the lion server manual does not match the capabilities of lion server.
    Love to get a straight answer before purchasing hardware to replace 5 present machines.
    Thank you.
    David

    Thanks for quick response.   Indeed, in hindsight, it appears that they had only installed the Server App, but not the Server Admin tools.
    Unfortunately, I am not a system admin, but I played one on TV <grin>
    All kidding aside ... I'm willing to learn, but would need most of the basics controlled through the GUI ... and then feel comfortable reading up and editting configuration files and running commands from the Terminal.
    On this line, is there good documentation of this, or is this something that you know because you are familiar with Unix?    ie something like the alternate port issue ... is this something in the GUI, or something I would have to edit via Terminal?
    Just trying to make an informed decision before jumping platforms.
    Thanks
    David

  • BASIC Questions about JavaMail

    Hi Everyone
    I have some very basic questions about java mail.
    I have a weblogic web server. I think it's version 5 or something like that.
    when a user clicks a form on my application sends some information to my database (via my jsp/java program) , I need to send email to a person?
    Does anyone know how to do that ?
    Could someone please describe the process
    Stephen

    I would recommend that you first read the JavaMail design specifications http://java.sun.com/products/javamail/JavaMail-1.2.pdf
    Then, download JavaMail. It comes with a reference implementation of the API and also very good samples.
    Those samples should get you started very quickly on how to send email from Java program.

  • Very Basic Question - Resizing Image

    Cannot believe I am having to ask such a basic question, but in order to scan and send documents to a particular database, there are two requirements:
    1) 200 dpi, and
    2) Greyscale
    The greyscale I found quickly enough by going to image adjustments -----> B&W. However, how do I get to 200 dpi and then export? Thanks.
    Scott

    Applying a B&W adjustment doesn't change your output color space to grayscale.
    You should create an export preset for this particular purpose. To do this, go to Aperture -> Presets -> Image Export and make a new preset with correct values for image size and resolution. Use Generic Gray Gamma 2.2 as color profile.

  • Basic question - querying xmltype column

    Hi,
    Sorry for the basic question but please could someone paste in a working 'select where' statement which will pick out only those rows containing an element with specified content.
    For example, how would I return n complete XML documents as query results for a situation where 'element_1' has text content 'apples'?
    This does not seem to work:
    SELECT x.xml_body.extract('/root_element/element_1/text()').getStringVal()
    FROM xmltable x
    WHERE x.xml_body.extract('/root_element/element_1/text()').getStringVal()='apples'

    Hi Paul,
    The query you have given works. I tried that query in the following format and it works.
    Query 1:
    SELECT x.xmlcol.extract(/Employee/Name/text()').getStringVal()
    FROM table_name x
    WHERE x.xmlcol.extract('/Employee/Name/text()').getStringVal()='Anu'
    Query 2:
    SELECT extractvalue(x.xmlcol,'//Name/text()')
    FROM table_name x
    WHERE extractvalue(x.xmlcol,'//Name/text()')='Srini'
    Both the queries work. The xml is of the following format
    <Employee company="Oracle">
    <Name>Anu</Name>
    <Department>OTN</Department>
    <Location>India</Location>
    </Employee>
    Can you please tell the database version on which you are working?
    For more information on XMLType you can refer the XMLDB Samples located at
    http://otn.oracle.com/sample_code/tech/xml/xmldb/content.html
    You can also refer to the XMLType Sample present at this location
    http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/9i_jdbc/content.html#xmltype
    to know how to work with XMLType columns.
    You can get back to us if you have any more doubts.
    Regards,
    Anupama Majety

  • One very basic question about inheritance

    One very basic question about inheritance.
    Why we need inheritance?
    the benefit of inheritance also achieve by creating instance of base class using it in other class instead of extending the base class.
    Can any one please explain why we are using inheritance instead of creating object of base class????

    SumitThokal wrote:
    One very basic question about inheritance.
    Why we need inheritance?
    the benefit of inheritance also achieve by creating instance of base class using it in other class instead of extending the base class.
    Can any one please explain why we are using inheritance instead of creating object of base class????What did you find out when you looked on Google?
    One example of inheritance comes in the form of a vehicle. Each vehicle has similarities however they differ in their own retrospect. A car is not a bus, a bus is not a truck, and a truck is not a motorbike. If you can define the similarities between these vehicles then you have a class in which you can extend into either of the previous mentioned vehicles. Resulting in a reusable class, dramatically reduces the size of code, creates a single point of definition, increases maintainability, you name it.
    In short there are thousands of benefits from using inheritance, listing the benefits could take a while. A quick Google search should give you a few hundred k if not million links to read.
    Mel

  • Quick and easy question about creating folder

    Total Mac newbie with basic question.
    I want to put all my user manuals right on my desktop. All in a folder called user manuals. How would I do this? Smart folder? Just drag 'n drop? how can I quickly find them all?
    Thanks in advance!

    Hi MarieBoyer
    You can easily create a Folder on the desktop, by mouse click + contol to open the contextual menu, where you can choose New Folder, then give it a name.
    Or, more easily still just drag one of the existing folders onto the desktop and use it.
    As for finding all manual documents, they are just documents in general, and may not even have the word manual in their name, so searching by that criteria will in that case miss them. Otherwise you may have to search by each of their names, which would be rather tedious.
    So I suggest, of the manuals that you know of or come across, drag them into your new Folder on the desktop as you find them.
    regards roam

Maybe you are looking for