Can't omit both the rowset and the row element?

consider the simple document below. Notice that row-element and
rowset-element are both empty, so neither type of element will
be generated. Also notice that the xsql:query tag is embedded in
other tags.
I get "oracle.xml.sql.OracleXMLSQLException: The row enclosing
tag or the row-set enclosing tag is ommitted; consequently to
get a well formed XML document, the result can only consist of a
single row with multiple columns or multiple rows with exactly
one column each." However, in reality the result will be a valid
XML document because I enclosed the query in a single top-level
<table> tag. So the error checking code in the XSQL servlet is
generating a generating a false positive (that is, seeing an
error that isn't there).
My question is, how can I work around this problem? I know I can
let the servlet generate a rowset element and use an XSLT
stylesheet to remove it but is there a another way?
Thanks,
Brian
By the way, the "numbers" table contains the numbers 1-1,000,000
and so it can be used to generate multiple copies of the output
of any query. In this example, I expect to get 55 <th> tags in
the output (yes, my HTML table is really that wide), all nested
in a single <tr> tag which is nested inside a single <table> tag.
<table connection="XXX"
xmlns:xsql="urn:oracle-xsql"
xmlns='http://www.w3.org/1999/xhtml'>
<tr><th rowspan='2'>ID</th>
<xsql:query rowset-element=''
row-element=''>
<![CDATA[
SELECT 'fvc'          AS "th"
          , 'fev1'     AS "th"
          , 'fef25_75'     AS "th"
          , 'fev1/fvc'     AS "th"
          , 'vc'          AS "th"
          , 'tlc'          AS "th"
          , 'rv'          AS "th"
          , 'frc_n2'     AS "th"
          , 'frc_pl'     AS "th"
          , 'erv'          AS "th"
          , 'dlco'      AS "th"
     FROM numbers
     WHERE n < 5
]]>
</xsql:query>
</tr>
</table>

In XML, single quotes are equivelent to double quotes. This
enables you to have attribute values like "That's Neat" and
'About 2" Long'.
The problem is that an xsql query can only return a tree as a
fragment (e.g. there must be one root element). I think this is
too restrictive.

Similar Messages

  • TS3280 How can i enable both paired bluetooth and ios keyboard input at the same time?

    How can i enable both paired bluetooth and ios keyboard input at the same time?
    This is needed for the app im working on. Need some user input via keypad as well as scanner input via a paired bluetooth scanner.

    You probably should not be using a keyboard bluetooth profile for a scanner, I am not a developer for apple so do not know the location for you to find out the correct profile you should be using for an input device that is not a keyboard. Sorry,
    I am sure if you navigate the apple developer site you will probaly finmd what you're looking for.
    https://developer.apple.com

  • HELP, PLEASE.. I'm looking for a App that I can install on both my iPad and iPhone, then when I load a document, picture, or anything on that app on iPhone or iPad, it will Sync with the other Device so both devices will end up with the same file .

    HELP, PLEASE.. I'm looking for a App that I can install on both my iPad and iPhone, then when I load a document, picture, or anything on that app on iPhone or iPad, it will Sync with the other Device so both devices will end up with the same file ...

    iCloud Drive: https://www.apple.com/icloud/icloud-drive/
    Dropbox: https://itunes.apple.com/us/app/dropbox/id327630330?mt=8
    OneDrive: https://itunes.apple.com/us/app/onedrive-for-ios/id477537958?mt=8

  • Can I use BOTH IE & FF and retain the shortcuts to both to use at will?

    Can I use BOTH IE & FF and retain the shortcuts to both to use at will? I can download FF ok and use for a day or so along with IE, but after that I start to get messages from Windows saying IE is not my default browser and do I want to make it the default. If I answer no, many links in my windows mail and other links in the windows system don't work...I get a message that the file can't be found . If I answer yes, the FF shortcuts disappear and can't bring up the FF from the FF folder, I get a msg that the FF folder is corrupt!

    Hi, aparently we're a problem while you installed firefox. try to uninstall and reinstall firefox again,
    after you do that, open firefox and go to Tools>options>Advanced>General, and see that it have to be an option at last that sez "always check to see if firefox is the default browser on startup" uncheck that option.,
    Then go to IE, go to tools>internet options>programs>and clic on "Make Default".
    With this you make that IE the default browser.
    Bye

  • Recommendations for an external hard drive I can use for both the Mac and PC

    Hello,
    I’ve used PC’s for nearly most of my life, and recently Imade the leap to using a Macbook Pro (the 15” Intel i7) as I got tired of theconstant crashes.  Long story short – Ineed to have a common external hard drive that I can use with both the PC’s andthe Mac I own.  Mostly I need theexternal drive to save my Microsoft Office documents, and family photos (aswell as Mp3’s and other programs).  I’vegone to the Mac Store in town, but I keep getting told that you cannot have acommon external hard drive between the two computers.  I’m just having a hard time excepting that,as I keep reading on Apple’s own website making the sales pitch of how PC userswho switch to a Mac wouldn’t have to purchase replacement hardware.  Are there recommended external drives thecommunity could recommend?  Also, wouldit be best to create a network drive to accomplish my goal? Any advice isgreatly appreciated. 

    Only one computer can be connected to one drive at a time without a server being involved or a NAS drive.
    I don't think your needs are along those lines it's too complex.
    Just a external drive formatted exFAT will do between Mac's and PC's.
    Swtich the cable and connect to one or the other as needed or get two drives.
    There are some hacks floating around that create a portable wireless shared storage so anyone with a wif can connect and share files with at like coffee shops.
    Is that what your looking for?

  • How can I have both genius playlist and regular playlist on my new 160g ipod classic. The list of songs are there, but when I click playlist, I only get the genius playlists.

    How can I have both genius playlists and regular playlists available on my new 160g classic ipod. I can see my entire song list, but no playlist other than the 3 genius playlist I just made.  Also how can I delete a genius playlist. Made the same playlist twice by mistake. Thanks.

    This was not a simple task.  Got it handled.  Had to call Apple support. Apparently, the 160g only syncs the genius playlist.  You have to go in and "tell it" to sync the entire playlist as well as the genius playlists. There is also an option for only syscing certain songs. On itunes, there is two sections; one for the stuff that is synced on your ipod and another separate list for the stuff in your library!  This is exciting for me as I am not computer savvy to say the least. 

  • Can I use both iPhoto 6 and 5 on the same Mac?

    I gave up on iPhoto 6 when it comes to publishing web galleries (see my posts at http://discussions.apple.com/thread.jspa?threadID=456532&tstart=0 )
    Can I use both iPhoto 6 and 5 on the same Mac?
    Thanks!

    Lior:
    Welcome to the Apple Discussions. Yes you can but it takes a lot of caution! You can have both application running their own library. But the problem comes in when you launch V5 into the last used library, a V6 library, and it can corrupt that library so it won't open in V6 again. Conversely, if you open V6 and the V5 library was the last to be opened and you don't pay attention, you'll convert it to a V6 and lose the V5 access.
    So you have to make sure you ALWAYS launch iPhoto with the Option key depressed and manually select the library to use each time. Also Name each library differently. I use V6 LIbrary and V5 Library. You can rename your current one and then launch iPhoto with the Option key depressed and navigate to it to open it.

  • Can I save both DVD-R and DVD-Video files onto the same DVD?

    Can I save both DVD-R and DVD-Video files onto the same DVD?

    Hi Stan,
    I just want the user to be able to run my video clips either on a 
    computer or on a standard DVD player. It would be nice to include both 
    formats on a single disc. I am new to this and am not sure what format 
    is most widely used for standard DVD players. Thanks for your response 
    and any guidance you can give me.
    Quinn
    Quoting Stan Jones <[email protected]>:
    Stan Jones http://forums.adobe.com/people/Stan+Jones created the discussion
    "Re: Can I save both DVD-R and DVD-Video files onto the same DVD?"
    To view the discussion, visit: 
    http://forums.adobe.com/message/4996961#4996961

  • What is the max. cable length that the Differential TTL signals can run in both at high and low frequencies?

    Hello,
                I want to now the max. cable length that the Differential TTL signals can run in both at high and low frequencies.

    That is very dependant on the type of cable, its construction, and inherent impedance and capacitance. This may be of use:
    http://beiied.com/PDFs2/SSI_14-15-bit-encoder_addendum.pdf
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Can I have both Lightroom 3 and Lightroom 5 both installed on the same computer?

    Can I have both Lightroom 3 and Lightroom 5 both installed on the same computer? I like the "fill light" feature in 3 and use it a lot. I would have not gotten 5 except that the images from my new Canon 5D Mk III are not re4cognized on 3. I have 5 on a laptop and 3 on my desktop but would like to have both on my desktop .

    Yes you can do this, but you can also get rid of Lightroom 3 and use the "Fill Light" command in Lightroom 5. You need to set the Process Version to 2010 (default is 2012 in Lightroom 5). Use the menu command  Settings > Process > 2010
    But honestly, you would be wise to stop using "Fill Light", as the new sliders in Lightroom 5 produce superior image quality than anything you can come up with using "Fill Light". Yes, the new sliders take a little time to get used to, but your patience and effort learning the new sliders will be rewarded. You can find some tutorials and videos on using Process Version 2012 on that Internet thing.

  • HT201342 Can is use both the @icloud and @me email addresses?

    Can is use both the @icloud and @me email addresses?

    Yes, your previous @me email will continue to function as before.

  • How can I view both the layers panel & effects panel in PSE 11?

    I have PSE11 and purchased Paint the Moon effects.  How can I view both the Layers panel and the Effects panel at the same time?  Was this an option in older versions of PSE that are used in the Paint the Moon tutorials?

    At the very bottom right of the editor window click the little arrow to the right of the More button and choose Custom Workspace. Then your panels will behave the way they did in earlier versions--you can drag them out of the bin, see more than one, remove panels from The Clump, etc.

  • Can I access both platforms, window and mac with one cloud account

    can I access both platforms, window and mac with one cloud account

    Yes.
    One Cloud membership = 2 software activations: Win/Win or Mac/Mac or Win/Mac.
    http://www.adobe.com/au/products/creativecloud/faq.html
    "Are there any unique benefits that come with my paid membership?
    Yes, as a member of Creative Cloud, you get many benefits that you do not get when you purchase a traditional shrinkwrapped product:
    Access to both the Mac OS and Windows® versions of the desktop applications and the ability to install them on your primary computer and one backup computer. So, if you have a Mac at home and a PC at work, you can install your applications on both as long as they are not running at the same time. See the product license agreements page for more information."

  • TS1398 How can I use both, Windows PC and iMac, when using WiFi?. It is either-or. What can I do?

    How can I use both, Windows PC and iMac, when using WiFi?. It is either-or. What can I do?

    What does this have to do with using an iPad?
    But yes, you should be able to connect to your home WiFi network with multiple computers and devices. In my house my wife, my daughter and I will all be using the WiFi Internet connection at the same time with our Laptops and I will also be using my iPad, my daughter uses her iPhone, and we have no issues at all.
    Is this what you want to know about?

  • Can I have both Oracle 8i and Oracle 9i servers on a s Solarix Box

    Can I have both Oracle 8i and Oracle 9i servers installed on a single Solaris box !? Or say .. any other flavour of unix
    Thanks in advance.
    ---Srini

    Yes! By all means, you can.
    You will just have to install Oracle under different directories for different versions and set the ORACLE_HOME accordingly.

Maybe you are looking for

  • Unable to Install Adobe AIR 2 on Windows 7

    I'd already installed a previous version. Recently I downloaded an app which requires AIR to work, it tried installing/updating it but couldn't. I decided to reinstall it but I was met with the same error both the times, "Installation may not be allo

  • Is there a way to stay connected to a network but use wireless for my internet?

    Hello all. Quick question. I am looking at using my phone's mobile hotspot for my iMac to connect to via wifi since it's on 4G, and this internet at this house is dire. Really, really slow. I've got a wireless router plugged into the cable modem, whi

  • Validation on Integer data type attribute

    Hi, Working on jdev 11.1.1.3.0 I have to do validation on integer data type like, it should not allow 13.20(only single digit numbers.). I am doing validation on AMImpl and converting the int into string String per=Row.getPer().toString();// here if

  • How to connect database using coding in trigger in forms

    Oracle forms6i Hai All Is there any possiblity to connect database using coding. For example when we open a form and we use some button and write some coding and when we execute a small will appear and we give username,connection identifier and datab

  • Creating geospatial PDFs on a server

    Hi, Does anyone have any experience creating geospatial PDFs on a server, or know of a good method for doing so?  This would be on Apache, using data from a remote instance of GeoServer, in case that's relevant.  There's the PHP PDF library, but I di