Lower case tag names in XSQL query

XSQL queries appear to default all column tag names to upper case, even when you specifically use lower case characters. Is there any way to get them into lower case?
For example,
<?xml version="1.0"?>
<test connection="devel" xmlns:xsql="urn:oracle-xsql">
<xsql:query rowset-element="" row-element="" null-indicator="yes">
select 'hello' as hi from dual
</xsql:query>
</test>
Results in,
<?xml version="1.0" ?>
<test>
<HI>hello</HI>
</test>
I would really like to get <HI> to <hi>...
thanks.

You can also preserve case by putting quotes around the column alias:
For example,
<?xml version="1.0"?>
<test connection="devel" xmlns:xsql="urn:oracle-xsql">
<xsql:query rowset-element="" row-element="" null-indicator="yes">
select 'hello' as "hi"
, 'Hello' as "Hi"
, 'HELLO' as "HI"
from dual
</xsql:query>
</test>
This way you can also get mixed case.

Similar Messages

  • Lower Case File Names on 5D iii?

    Can I modify the filing naming on the 5D iii so that it is all lower case rather than uppercase? If that's not possible, it is at least possible to change the extension from JPG to jpg?

    Hi homeboy!
    Thanks for the post!
    The file name on the EOS 5D Mark III has four alphanumeric characters followed by a four-digit image number and extension.  The first four characters are set upon factory shipment and unique to the camera. 
    However, you can change them.  With [USER SETTING 1], you can change and register the four characters as desired.  With [USER SETTING 2], if you register three characters, the fourth character from the left will be appended automatically to indicate the image size.  Please follow these steps to access these settings:
    Press the MENU button
    Select the [Tools #1] tab.
    Select [File Name].
    Select [Change User Setting 1] or [Change User Setting 2].
    Enter any alphanumeric characters.
    This didn't answer your question or issue? Find more help at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • UPPER and lower case file names problem on CD

    Hello,
    I have a CD which contains, in web page format, the contents of a bibliographical work formerly published on paper. The link codes in all these web pages use lower case filenames. Unfortunately, the files on the disk are a mix with some of them in uppercase, i.e. AD4.HTM and some in lower case, i.e. intro.htm.
    This disk used to work, under OS 9 in Internet Explorer. But now, under OS X 10.4.11 and using either Safari or Firefox, I'm getting Page Not Found errors whenever the filename is uppercase.
    I could copy all the files off the CD to my hard drive and run a renamer utility to change all of them to lower case. But I have another CD from the same publisher -- same problem -- and may get more, and I don't particularly want all those files on my drive anyway. There's a lot of them!
    Is there any kind of setting -- perhaps accessible through one of those arcane terminal commands for setting hidden preferences -- which would allow me to tell the Finder (or maybe Safari or Firefox) to not care about the case of the filenames?
    Note that I can change the case of a local HTML file and either browser can still find it. This is only happening on the CD.
    TIA
    Rob

    I don't think I'll try that one. The most recent update of SheepShaver was slightly over 2 years ago, which indicates to me that the developer is busy doing other things.
    I'm very conservative in what I'll install into my system, and old, one-developer software does not fit my standards.
    If no other answer comes up, I think I'll copy the files to my hard drive, rename them, then write out a CD with the renamed files and use that one instead. Of course the original CD may contain copy protection features which will prevent this -- I haven't tried it yet.
    Message was edited by: Rob Stevenson

  • XSQL query output as parameter for next xsql query

    Hi,
    Is it possible to use the output of one xsql query as input parameter for the next xsql query in the same file. I am trying to retreive an id from the query and use it in the next one. I cannot combine all the queries into one, since I intend to make the first query a database function that returns the id I am looking for. I am looking for something like this
    <xsql:query>
    select '1000' as myid
    from dual
    </xsql:query>
    <xsql:query>
    select add1,ro1
    from table1
    where id = {@myid}
    </xsql>
    I need the id returned by the first query to be used in the second one. Eventually my first query will be a stored procedure that validates the users rights and on sucess return the following tag <myid> 1000 <myid>.
    Please let me know , how I can achieve my goal of validating a user's priveleges and then executing the second query.
    Thanks
    Padmaja

    Hi ,
    Thanks for the response.This works if the first query is a select .
    If the first query was a call to a db procedure that returned the <myid>100<myid> would this still work?
    <xsql:set-page-param name="myid">
    <xsql:include-owa>
    xyz;
    </xsql:include-owa>
    </xsql:set-page-param>
    <xsql:include-param name="myid"/>
    <xsql:query>
    select name from mytable where id={@myid}
    </xsql:query>
    I have to use include-owa as the db procedure xyz does some cookie validations and then returns an id based on that. The procedure xyz returns an xml tag of form <myid>100<myid>
    This does not work as the value of myid is not available to the second query.
    Thanks
    Padmaja

  • Generate lower-case nodes in XML

    Hi,
    In my PL/SQL procedures, I generate XML files based on SQL queries, like this:
    SELECT XMLELEMENT ("web_vpreparations",
    XMLAGG(
    XMLELEMENT ("web_vpreparation",
    XMLFOREST (CODE as "code",
    COMMERCIAL_NAME as "commercial_name",
    As you can see, I rename my column names to their lower-case equivalents, because the client-side application which processes the XML file expects them to be in lower-case.
    I now have a huge view with hundreds of columns and would like to avoid having to rename each one. Is there a chance I can tell the PL/SQL or the SQL to return the XML nodes in lower-case?
    I'll appreciate any help on this problem.
    Chris.

    does XMLTable exist in Oracle 9i, for some of my customers?No. XMLTable was introduced in 10g (not sure the exact version though).
    What am I doing wrong?Sorry can't say. I know for sure that it works for 10.2.0.4.0:
    SQL> select * from v$version where rownum = 1
    BANNER                                                         
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    1 row selected.
    SQL> select trim(column_value) cv
    from xmltable(
    'for $i in ora:view("hersteller_x")/ROW[HERSTL=1]/* return element {lower-case($i/name())} {$i/text()}')
    CV                                                                             
    <mandant>1</mandant>                                                           
    <herstl>1</herstl>                                                             
    <kurzbez>01FSL</kurzbez>                                                       
    <name>SEMICONDUCTOR INC.</name>                                      
    <versland>D</versland>                                                         
    <urland>US</urland>                                                            
    <versweg>4</versweg>                                                           
    7 rows selected.

  • Mixed Case tags in XML

    Is it possible to return mixed case tag names in the XML from Oracle? We are using mixed case column and table names in our database and have a requirement to produce the XML output in mixed case too.

    What kind of mixed case you want? Currently it works for me.
    Here is how to create a table with column name to be case-sensitive:
    drop table jinyu_test;
    create table jinyu_test
    "Jinyu" number,
    "ContentManage" varchar2(400)
    insert into jinyu_test values(1,'Try this 01');
    insert into jinyu_test values(2,'Try this 02');
    Here is the result we get using DBMS_XMLQuery:
    | <?xml version = '1.0'?>
    | <ROWSET>
    | <ROW num="1">
    | <Jinyu>1</Jinyu>
    | <ContentManage>Try this 01</ContentManage>
    | </ROW>
    | <ROW num="2">
    | <Jinyu>2</Jinyu>
    | <ContentManage>Try this 02</ContentManage>
    | </ROW>
    | </ROWSET>
    You can see the tag corresponding to the column name is case-sensitive.

  • Conversation lower case to upper case by default not wanted

    Hi,
    Oracle converts lower case table names and columns names to upper case by default. To keep lower case letters names must be quoted. This "work around" is not acceptable.
    Is there a way to change this behavior either for the database or for a session?
    Thanks

    Easy answer. We are migrating from sybase ASE to
    oracle. Sybase supports mixed lower/upper case by
    default.Which is a proprietary behavior. After all these years of accusing Oracle of not conforming to standards, when they do (or come close) it bites them. <g>
    Users are familiar with reading column names like
    "RxCellsHec0Clp0" instead of "RXCELLSHEC0CLP0".
    Yes, there are users working directly with sql.If the users are used to putting the column name in double-quotes, then creating the table with identifiers in double-quotes will conform to the expected behaviour. That simply means that each and every reference to the table requires double-quote around the identifiers.
    And it is quite impossible to get them changing all their queries
    from select RxCellsHec0Clp0 from ...
    to select "RxCellsHec0Clp0" from ...One alternative is to wrap every table (of concern) with a view. My thought would be to leave the table with upper case identifiers, have the view with mixed-case identifiers, and use private synonyms to redirect the user to the view.
    The assumptions are
    1) user-oriented security is in place
    2) users use the quoted-identifier syntax

  • Saved passwords although upper and lower case when displayed in the list of saved passwords transfer to the appropriate location as lower case only.

    running windows 7 64bit pro
    Geico website is the only place where we have upper and lower case user name
    current version firefox 6.0.2

    Make sure that you haven't saved Uppercase and Lowercase versions of that name and password.
    Remove saved Password(s):
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    See also Password Manager:
    *http://kb.mozillazine.org/Password_Manager

  • Dynamic Tag Query  with dynamic tag name.

    Hi,
    In our implementation we have 10+ users. Each one want to monitor only one production line ( eg. one tag value ) in the dashboard by default when they login.
    I was able to design this requirement CONCEPTUALLY but facing some trouble technically.
    Here is my issue.
    Tagname will be coming from one of the BLS Transaction input parameters (Transaction.Tagname). I am able to build tag query using xMII Tag Query block, able to configure repeater. Here is the spot where I was struck. While assigning tag value to XML Row
    i.e IlluminatorRow_0.Tagvalue = Repeater_0.Output{/Row/AssetUtil1}.
    In the above assignment link it requires a hardcoded tagname. In my case it will be dynamic. I tried different ways like
    1. IlluminatorRow_0.Tagvalue = Repeater_0.Output{/Row/@Transaction.Tagname}.
    2.IlluminatorRow_0.Tagvalue = Repeater_0.Output{/@Transaction.Tagname}.
    But no luck.
    Can someone help in how to do this dynamic tagname assignment.
    Thanks,
    Srinivasa.

    Hi Srinivas,
    another option is to use "Dynamic Links" which from your sample code is what you were trying to do. For this, the proper syntax is:
    Repeater_0.Output{/Row/#Transaction.Tagname#}
    Make sure that the tag name you pass to the historian is the same as the tag name returned by the historian as part of the data set, and make adjustments for that. For example, some historians escape non-alphanumeric characters when they process your request (e.g. passing "abc.def 12-rt" as the tag name can be returned from the historian as "ABC.DEF_12_RT", etc.).
    Hope this helps,
    Sascha

  • TopLink map a field which name in low case

    I used Oracle ADF to modeling my database table. My table name and all filed names are in low cases. I used TopLink Create Java Objects from Tables wizard to crate Java objects from my table, and created map. In the TopLink mapping, the query keys are in low cases. But when my session bean execute the named query, the query statement from executeQuery doesn't put double quotes around the filed name and table name. The query statement like: select name from space. So it will cause error like "java.sql.SQLException: ORA-00942: table or view does not exist". The query statement should like:
    select "name" from "space";
    Can anyone tell me where to edit the mapping or customize code to put double quotes around field name and table name?

    I'm not sure if the JDev UI has an option to output table and field names with quotes. You could use a SessionCustomizer in your TopLink sessions.xml file to iterate over the Session's descriptors and change each of their table and field names to include the " character.
    In general you will make you life much easier if you just create the tables and field using normal upper case or case insensitive names.
    It would be nice to have an easier way to quote all table and field names, please feel free to log this issues on EclipseLink Bugzilla.
    James : http://www.eclipselink.org

  • xsql:query - Is there a character limit on the SQL contained in the tag?

    Is there a limit to the length of the SQL contained in the
    <xsql:query> tag ?
    I've been very successful with short queries using xsql:query
    tags, however, for longer queries they seem to fail the XML
    Syntax check using JDeveloper 3.2.3.
    The resulting error from the XSQLServlet is XSQL-005 page is not
    well formed with the following:
    XML-0201: (Fatal Error) Expected name instead of .
    XML-0122: (Fatal Error) '=' missing in attribute.
    XML-0125: (Fatal Error) Attribute value should start with quote
    (Posted example 10/16/01)

    Hello Bill,
    >> … to our apex environment (9.2)
    The following might give you some more information on your possible situation -
    Re: Is there a maximum number of characters allowed in PL/SQL Anonymous Blo
    ORA-06550 recieved when trying to modify existing page after 3.1 Apex upg
    Regards,
    Arie.

  • XML element names required in lower case

    Hi,
    I am on release 4.6C
    I create an XML file from internal table using FM SDIXML_DATA_TO_DOM and SDIXML_DOM_TO_XML.
    The internal table is defined such that the  fieldnames of internal table are same as element names in XML file.
    The XML file gets created properly, but the element names appear in upper case.
    The requirement is to have it in lower case.
    Does anybody have any idea about how to control the case here?

    Hi Sudhir
    you can convert field names manually using translate command to convert it to lower case.
    hope this helps.

  • ORDS (2.0.7) - URL Mapping - Names need to be lower case

    Using the latest ORDS (2.0.7) - when using settings to setup multiple databases, I have noticed that the the "URL Mapping" rule will not be picked up if the "Name" of the connection is not all lower case.
    The "Routing Rule" can be mixed case, but the "Name" of the rule can not.
    I found this to be an odd behavior.
    Has anyone else come across this?
    -- Tim St.

    Using the latest ORDS (2.0.7) - when using settings to setup multiple databases, I have noticed that the the "URL Mapping" rule will not be picked up if the "Name" of the connection is not all lower case.
    The "Routing Rule" can be mixed case, but the "Name" of the rule can not.
    I found this to be an odd behavior.
    Has anyone else come across this?
    -- Tim St.

  • Case sensitive Tag names

    Hi friends
    I have  a question, is it  possible to transfer case sensitive tag names into xml structure ?  for exemple, I want to transfer    Tag name "DateCreated" .  I did a test but  start tag names is "DataCreated" and it is  Translated  in "DATACREATED" and this is a problem.
    Thanks
    Sergio

    Sergio,
    Usually what ever you have given in your xsd or message type you will have the same. So please check it. I just tested this and it seems to be the same as defined in your xsd or message type.
    Regards,
    ---Satish

  • Cannot Drop table with lower case name

    Hi,
    One of my developer created a table through application in oracle 10g R2,
    when I list tables
    select * from tab;
    the table name is shown in lower case or Initcap.
    I cannot drop or manipulate that table.
    How can I drop that table(s)?
    Thanks & Regards,
    Fahim

    use the same case what your table has used and put double quotes on both sides for example if your table is lower case use like:
    DROP TABLE "your_table";HTH
    Ghulam Mustafa Butt

Maybe you are looking for

  • UPS and Leopard

    I have bought an Atlantis Land UPS Host Power 1501 and i have connected it to my aluminium iMac through an usb port. The sw that Atlantis Land give with the UPS isn't compatible with MACOS X. Is Leopard capable of controlling an UPS without any sw? I

  • FCP7 upgrade without a previous version installed?

    So yes I screwed up. let's get that out of the way. When I bought FCPX I left on my machine FCP7 for a while but then I though, eh, I'm not using 7 for the forseeable future, let's get rid of it for the time beilg and if I need it I'll just reinstall

  • Node problems

    Hi! I have a problem with the org.w3c.dom.Node (implementation) object... or more specificly its method getNodeValue. My problem: I have a Node object and im trying to get its value like this: node.getNodeValue() returns: null one line later.... node

  • Essbase excel add-on error after installing IR Studio.

    Hyperion software compatibility issues? Getting Essbase excel add-on error ("Error 1040007 Cannot find message database") after installing Hyperion Interactive Reporting Studio 9.3.1. We are able to consistently reproduce the error on several worksta

  • Report of projects across cost centers and vice versa

    Hi friends, Do we have any standard report of Projects across Cost Centers and vice versa? In our case, it is statistical cost center postings and real project postings. How can we get a standard report of Projects across Cost centers ? thanks in adv