Turn off ?xml version = '1.0'?

I am using OracleXMLQuery to get a XML document. When I review the DOM object, the first child has the value "<?xml version = '1.0'?>" and the second child has the <rowset> tag. I need a DOM object that does not have the <?xml version = '1.0'?> line in it. It should start with the <rowset> tag. How do I turn this off in OracleXMLQuery?

At the end, I decided to kill off the first child.
In Java,
OracleXMLQuery xq = new OracleXMLQuery(conn, "select * from emp");
xmlDocToReturn = xq.getXMLDOM();
Node lst = xmlDocToReturn.getFirstChild();
xmlDocToReturn.removeChild(lst);

Similar Messages

  • How to turn off XML tag when outputting xml nodes?

    I'm outputting some xml data and each time ColdFusion adds the <?xml version="1.0" encoding="UTF-8"?> tag. Is there any way to turn this off?

    It's difficult to tell what are are doing and how best to remedy it without you giving us at least some idea what your code looks like.
    Adam

  • In FM9, can you turn off xml parsing messages for non-structured generated files?

    Hi folks,
    In Frame9, we finally are able to gather books containing xml files and update the book's xrefs and numbering, hoorah.  This works great.
    The issue is that we have generated TOCs and Indexes that are not structured but are part of the book. We have no need to structure them, as they are used in PDFs only and are not required when we go to html.  When we update a book, we get an error logged...
    The Application configured for the XML book component is not available.
    ...for every single chapter in the book. I am assuming this is because there is no structured app that is relevant to the TOC and Index, which just appear in the structured view as "BOOK-COMPONENT".
    This error is not a show-stopper but it mucks up our processing, and we'd like to turn it off.  Does anyone know if that is possible?
    Thanks in advance for any help,
    Shelley Hoose
    Rogue Wave Software

    Hi Shelley,
    The error... "The Application configured for the XML book component is not available."
    is seen when the XML files in your books do not have an Application associated with them. You would will always see this mesaage when you update the Book if the Application is not set.
    To set Application to use for an XML file inside a book in FrameMaker9-
    Select XML File in book > Right Click-Select Properties.
    Select Application in the Use Structured Application dialog.
    Select continue to associate the XML file with an Application.
    You might find this blog post helpful if you use XML files in books- XML Authoring Projects using Hierarchical Books
    Regards,
    Nakshatra

  • I Phone 3GS - help with turning off 3G version 5.5.1

    I have been to settings/general/network as suggested in other topics, but I do not have a 3G on/off button.  I have cellular data (on), data roaming (currently off), personal hotspot(currently off), wifi (on) and VPN(not connected).
    If I turn wifi off then 3G automatically comes up.
    I am going abroad and do not want my phone to  access 3G, just need it for phone messages.
    Can anyone help me please.  Thank you.

    Connect to iTunes on the computer you usually Sync with and Check for Updates.
    Yours is an iPhone 3Gs and will update to iOS 6.1.6

  • How to avoid versioning being turned off and how to avoid file loss?

    Hi,
    I have a customer that requires versioning of documents. So I suggested that all files to be versioned are to be put in a folder that is verison enabled. That works fine.
    The problem now is, that let's say 20 versions already exist, and users are still able to turn of versioning. So if someone turns of versioning in that folder, all 20 versions are lost, aren't they?
    My question now is: How do I prevent users from turning off the versioning? What options do I have in standard to keep the files? Can I somehow only allow the preson who turned on versioning to also turn it off (incl. Admin)?
    I am using a CM Respository.
    Thanks for your help,
    Dieter.

    Hi,
    According to the documentation, to disable or enable the versioning all you need is write permissions for the folder.
    What you could do is play with the visibility of the Versioning command. You could remove it from menus, or set the Roles With Visibility property to only selected roles. For example if you set the Roles With Visibility to super_admin, then only the super admin will be able to see the command.
    Either that or you could create a custom versioning command that will take care of all that you want.
    Best regards,
    Avishai Zamir

  • Every time I start iTunes I get the message: "iTunes exec has been set to run in compatability mode for an older version of Windows. Turn off compatability mode for iTunes before you open it." How do I turn off the compatability mode?

    Every time I start iTunes I get the message: "iTunes exec has been set to run in compatability mode for an older version of Windows. Turn off compatability mode for iTunes before you open it." How do I turn off the compatability mode? Particularly when I have to do it before I turn on iTunes.

    Try the following document, only be sure that none of the boxes in the compatibility mode tab are checked (not just the compatibility mode box itself):
    iTunes for Windows: How to turn off Compatibility Mode

  • Getting error message that states itunesexe has been set to run in compatibilty mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it .How do i turn off compatibility mode?

    recieved error message that states" itunes exe has been set to run in compatibility mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it. How do i access compatibility mode and turn it off ? Believe i have Windows 7.

    Try the following document, only be sure that none of the boxes in the compatibility tab are checked (not just the compatibility mode box itself): 
    iTunes for Windows: How to turn off Compatibility Mode

  • How can I turn-off the apps which I have opened once in ISO 7.0.2. In previous version of ISO it was easy to turn- the opened apps by double clicking on home button and then click and hold on respective apps then click on cross sign.

    How can I turn-off the apps which I have opened once in ISO 7.0.2. In previous version of ISO it was easy to turn-off the opened apps by double clicking on home button and then click and hold on respective apps then click on cross sign but in this version I could not do so and my iPad appears slower.

    Close inactive apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen

  • Question about the sensor... just got my 4s yesterday after screwing up my 3 with the laterd version update.  EVery call I have been on has either changed to speaker, called another number or ended the call or activated facetime, which I have turned off.

    Question about the sensor... just got my 4s yesterday after screwing up my 3 with the laterd version update. EVery call I have been on has either changed to speaker, called another number or ended the call or activated facetime, which I have turned off. never had this trouble with my 3...I don't even want to talk to anyone on this phone! Is the sensor bad? That is what the AT&t rep suggested.

    Restore as new... if the problem still continues then there is a hardware issue.
    If it stops after a restore as new, then the issue is with the backup the device is currently setup with.

  • HT202213 Have newest version of ITunes and a new AppleTV. ITunes File Home Sharing only shows option to turn off home sharing.  No home sharing icon and Apple TV claims home sharing is not turned on.  Where is this advanced menu?

    Cannot get home sharing to work with my new apple TV.  Have the latest version of ITunes and the apple TV is connected to my wi-fi network.  The instruction page says to go to the Advanced menu option of ITunes and choose Home Sharing.  This option does not exist.  The closest I can find is under the File option>Home Sharing where my only option is to turn off home sharing.  There is no home sharing icon and Apple TV insist that the home sharing is not turned on.
    I must be missing something obvious here.

    Cannot get home sharing to work with my new apple TV.  Have the latest version of ITunes and the apple TV is connected to my wi-fi network.  The instruction page says to go to the Advanced menu option of ITunes and choose Home Sharing.  This option does not exist.  The closest I can find is under the File option>Home Sharing where my only option is to turn off home sharing.  There is no home sharing icon and Apple TV insist that the home sharing is not turned on.
    I must be missing something obvious here.

  • Itunes will not connect to the internet or access store with working internet connection. ive already tried updating to latest version and turning off windows firewall. running a new dell computer w/ windows 7 with minimal programs installed

    Itunes will not connect to the internet or access store with working internet connection. ive already tried updating to latest version and turning off windows firewall. running a nItunes will not connect to the internet or access store with working internet connection. ive already tried updating to latest version and turning off windows firewall. running a new dell, windows 7 ultimate, no virus or firewall programs installed.

    This my sound too simple, but I just kept clikning on the arrow next to the selected music and it finally "Kicked" in.
    I live in Europe ,So Be persistent and don't give up !  Aug. 2013

  • How to turn off Check Out prompt in RH7 for VSS version control.

    Using RH7 HTML, and VSS version control. Have been using without problem for 2 years. Now I had to get a new computer
    set up, VSS seems to be correctly set up with RoboHelp, and asks to 'get latest' when I open a project, in the usual way.
    However, each time I try to edit a topic in RH now, I am prompted to check out the topic.This should happen automatically. the RH tip that displays says:
    "To turn off prompts when performing version control tasks manually, clear the option on the version control tab. Files are then checked out automatically.
    Note: Files not selected in the list cannot be checked out."
    this is unclear - there IS no version control tab, and which option are they saying to clear? there is a version control toolbar, and File>Version Control menu, neither of which has a 'prompt checkout' option.
    I need not to check out manually every time!

    Use the Tools > Options menu. There should be a "Version Control" tab in that dialog box.

  • TS1717 While downloading the latest iTunes version, my computer turned off. When I opened iTunes, it says that "The file "iTunes Library.itl"  cannot be read  because it was created by a newer version of iTunes" Help please :(

    While downloading the latest iTunes version, my computer turned off. When I opened iTunes, it says that "The file "iTunes Library.itl"  cannot be read  because it was created by a newer version of iTunes" Help please

    That message is usually a sign that you tried to roll back to an earlier build of iTunes, but occasionally I've seen it connected to a new upgrade. This technique should fix things.
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Did the most recent update and now my TB Display turns off randomly on both my air and mini. I running  TB Firmware Version:     23.6

    did the most recent update and now my TB Display turns off randomly on both my air and mini. I running  TB Firmware Version:
    23.6

    When did you get this firmware version?  My TBD is at 22.2 and the TBD bus is at 23.4.  I thought I had the latest firmware.

  • Can you turn off autosave and versions in mountain lion?

    Is this possible? 

    Still haven't checked in ML, got delayed with real-world things like doctors, but FWIW, this Terminal command turns off auto-save globally:
    defaults write -g ApplePersistence -bool no
    You might be able to do it on a by-apo basis. E.g., for TextEdit, try:
    defaults write com.apple.TextEdit ApplePersistence -bool no
    Finally, since versions are stored in each user's hidden ~/Library/Saved Application State/, lock the specific app subfolder,
    com.vendorname.appname.savedState/, to preclude versioning.   

Maybe you are looking for