The hyphen in the name of XML line causing problems

I have an xml file that I am turning into a qury object so I can have the query interact with my SQL database

The XML file has 15 lines and got 13 of them successfully in a query.

The problem is that 2 other fields have hyphens and dashes - in line names. As (WORK_E-MAIL)... See the - between E-mail

So, when I go to the value in the query with this code

< cfset temp = QuerySetCell (orderquery, "WORK_E_MAIL",

#mydoc.rowset.ROW [i]. WORK_E-MAIL. XmlText #, #i #) >

I get this error message

Error occurred while processing request

Invalid construction: arguments or name is missing.

Is it possible to alias the line name with the hyphen, maybe like this {WORK_E} MAIL or this [E-MAIL] WORK_E

I need ge cut these 2 lines named in my application.

Any ideas?

Have you tried to use the syntax assosicative?

MyDoc.rowset.Row [i] ["WORK_E-MAIL"]. XMLText

Tags: ColdFusion

Similar Questions

  • Please help me with the name of production line automatic incremental table.

    Are there features of the ADF to auto generate the name of incremental table row


    Best regards
    KT

    No, it's something that you write yourself.

    You can take the same approaches even if - it generate in a trigger, or override the create() in detailed form [url http://mjabr.wordpress.com/2011/03/11/make-sequence-number-as-default-value/] here, which was released earlier method

    John

  • Cover the Tags in links traceable, causing problems

    Hey everybody,

    We are working on a new resource library of Wordpress that will forms Eloqua blocked in front of her.  We also build the final detail pages, where will the active link. But the span in traceable links tags throw out of the HTML on the page.

    HTML for the download with traceable link button:

    HTML.png

    What looks like the page with the scope of the tags in the link (no download button, link is now associated with the text below where the button should be):

    No Button.png

    What it should look like (deleted span tag):

    Button.png

    Does anyone have ideas/solutions for this?

    Hi John,.

    I don't know why using Wordpress shortcodes because all errors to be honest, but it is another option to follow these links that can even would be most suitable according to your statement / rating of the needs. Drop me a line if this sounds interesting and I can share an example of code with you.

    See you soon,.

    Chris

  • Except for the previous version of 2015 caused problems

    Hi all

    I made a race of CLD practice using the example of irrigation system. I I built in 2015 of LabVIEW and saved for a previous version of LabVIEW 2014 before posting in the forum of Certification for the comments. When it was opened by another member through 2014, delimited reading Spreadsheet.vi is not found. I can't reproduce the error because I do not have an installation of 2014. The original thread is HERE. I enclose my original draft of 2015 as "Registered for previous" version 2014. Also attached is a screenshot of the attempt to open the 2014 version. This could be a problem with the backsave?

    Thank you all.

    Dan

    Read from a spreadsheet file is obsolete and replaced by reading delimited spreadsheet.  It is actually planned to break.

  • Programs of the development of the application during flight and causing problems; How to disable?

    Currently, I am having a problem where on Win 7 where other applications will steal focus away from what I do, no matter whatever it is, I do. This can range from the annoying popup on demand to restart my work station. The latter has become an obstacle to the point that some people in my office, including me, are considering filing for damages. The reason is that some applications will ask to reboot to apply updates when I type an e-mail, finishing a piece for marketing, or generally doing limited work. If I happen to hit most of any key during this time, it will automatically select the 'Yes' or 'Restart now', which led to the lost emails, went work because it has not been saved, or even calls dropped at a meeting. Where the logic behind the deposit for damages.

    However, I wanted to ask if there is a way to prevent applications from stealing the focus and the opportunity to respond to the entry they should not receive? Prior to Windows 7, I know that there was a way to RegEdit values to prevent them from happening, but they have strangely removed from Win 7, which brings me to my question here. Y at - it another way to stop the apps coming to the fore and interrupt our work, or is it just a flaw in the system that has no solution?

    Hello

    Thank you for the follow-up. I suggest you to post this question in the TechNet forums. It's because it's a consumer forums and questions where computers are connected to the corporate network or is defined under the policy of the company are best handled by the Technet Support team.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro

    I hope this helps.

  • Use of the JRE instead of JInitiator causes problems of development of mouse for Oracle Forms

    Hi all

    We run Oracle Forms application based using JRE instead of JInititor.

    (1) the application is run on an individual laptop with Windows XP SP3 as an operating system.
    (2) with the help of oc4j of Oracle Developer Suite 10.2.0.1.0 to run the application
    (3) JInititor is more used and JRE version 1.6.0_26 or JRE version 1.6.0_27 used to launch the application. It works very well.
    (4) the browsers used to access the applicarion are IE8 and Mozilla Firefox 8.0.1

    Questions:
    (1) cannot have the focus of the mouse on an item. Even when the cursor seems to be in another element, for example after ctrl + E, point B article content watch editor has (which is the first on the form).
    (2) the LOV on any item shows what brings the LOV on section (first one on the form).
    (3) we are forced to use the keyboard to access the respective item all the time.

    Can anyone suggest a solution to this problem?

    Kind regards
    Aparna

    HELO,

    You, normally I think shoud upgrate to the version of forms 10.1.2.3,.

    François

  • RadioButton in 1st line causing problems DataGrid

    I have a DataGrid with radio buttons in a column using itemRenderer. The data grid resides on a TitleWindow that is created and hopped up whenever the user clicks a button. The dataProvider of the DataGrid is an ArrayCollection collection, and option buttons are selected or not based on a Boolean value in every item in the collection ArrayCollection when the window and the DataGrid is displayed. If the user clicks a RadioButton that is different in the DataGrid control, then the elements of the ArrayCollection collection are updated with the new Boolean values.

    The problem is with the RadioButton control in the first row with its selected value. With radio buttons in all the other lines, when the TitleWindow and DataGrid are displayed, correct RadioButton is selected depending on the Boolean value of the item in the collection ArrayCollection. But if RadioButton from the first line is one that should be selected, it is not. I created a listener for the on option buttons valueCommit event, and the results are interesting: valueCommit for radio buttons in all lines not to mention that the first is triggered only once, with the selected value is true. But if the RadioButton control in the first line is one that should be selected, valueCommit is shot 5 times, all first 3 reports the value selected as true and last 2 times reported to be set to false.

    Any help on this would be greatly appreciated. A similar bug has been reported , but it provides no work around.

    Solution: instead of using radio buttons as the itemRenderer, I used an image that works much more clean and which does not produce a so unpredictable behavior.

  • How the name of a link in back/write.

    myDoc = app.activeDocument.links var

    function UpdateAllOutdatedLinks() {}

    for (var i = 0; i < myDoc.length; i ++) {}

    myLink var = myDoc [i];

    $write = myLink.file.name;

    }

    }

    UpdateAllOutdatedLinks)

    This is the "myLink.file.name" that gives me bad. Should what I use to write the name of the link. Ultimately I'll send them to a table and write this table to an xml file, but for now I just need to figure out how to get out the name. Thank you.

    What is confusing, is that you use myDoc to see the links, so that most of the people (I guess) would be expected to refer to a document. It is clearer to for example use myLinks to refer to the links in the document.

    Back to their names and links. Given a document and a link (for example a graph), then this line:

    app.activeDocument.links [0] .name

    Returns the name of the graph - just the name. This line:

    app.activeDocument.links [0] .filePath

    Returns the full path.

    I noticed at the time of your line "$write = myLink.file.name'." This is another problem because $write is not a function. To display something in the console of the ESTK, use

    $.writeln (myLink.name);

    Peter

  • Windows Mail Contacts: How can I find the names in alphabetical order A - Z?

    original title: Windows Messaging Contacts

    I use Windows Mail in Vista. If I open my Contacts icon, all my names are listed in order alphabetical by last name, except they start from the Z - A instead of A to Z. However, if I click on "New Message", click the "To" box, all names are blurred; that is, they are not in alphabetical order, and I can't get a person with the same name as another. How can I a) find the names in alphabetical order, from A to Z when I click on the box 'To', and b) retrieve my contacts displayed A - Z?

    Thank you.

    By clicking on the header above the names of contacts line, they should be used in the other direction. Brian Tillman [MVP-Outlook]
    ------------------------------
    If a response may help, please vote it as useful. If a response to the problem, please mark it as an answer.

  • The file of the bar - descriptor.xml (and make the application of command line)

    I made a game with air and it is online for sale on Android and iOS. It is somewhat popular and I thought to put up on Blackberry for quite awhile now and with the Port of soon-to-start-A-Thon, this seems to be a great time to finally make it.

    BlackBerry is not very common that here where I live in Sweden, however it still looks like an interesting with a potential platform if I want to get the trip. Unfortunately I don't own a camera myself so I'll use the Simulator. With some graphic problems with the simulator when running in mode BB10DevAlpha (icons does not appear right) and the Simulator is very slow when running in mode BB10DevAlphaSafe (chart appears on the right, but it seems that updating them requires more CPU my computer are available).

    The game is built using nothing other than Adobe Flash Professional CS6 and a bunch of command line tools to build the package and sign. I've only got an old computer with Windows XP now since the death of my main PC, all at the time and since the Port-A-Thon is just a few days I do with what I got.

    Firstly I understand that only AIR 3.1 is supported by Blackberry 10, so I use the old AIR SDK 3.1 to create a SWF (flash) file.

    What I really need to do should be used in the exported SWF file of the game, then use the command line tools provided by RIM to build the package, right?

    Except that I did not count on bar - descriptor.xml to be so difficult to understand.

    I was brought to the documentation here: https://developer.blackberry.com/air/documentation/bb10/bar-descriptor_config_file.html

    It says Adobe AIR at the top, the platform selected is Blackberry 10 and the title says "bar-descriptor configuration file", so it must be in the right place!

    I start by trying the 'bar-descriptor configuration example file"on this page:

    ===========================================================



      
          None
          fake
      

     
      
       Name of the author
     
      
       gXXXxXXx ##XxXxXxxxXxXX #xxx
     
      
       Core.Games
     
      
       Icon.PNG
     
      
       HelloWorld - splash.png
     
      
       read_geolocation
       use_camera
     
      
       1

    ===========================================================

    Of course during the test I replaced a few things in the example above with the correct filenames for images etc, I just copied the example of right - off this time to you guys show what I mean.

    Firstly, I extract "blackberry-tablets-sdk - 3.0.0" in a folder on the disc, then I make sure as a full path to the "bin" in the SDK folder inside the path on the OS environment variable.

    Then I read on "Applications of Test using the command line": https://developer.blackberry.com/air/documentation/bb10/testing_your_application_cmd_ms_2010851_11.h...

    Now I run:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf myappnameicon86.png bg splashscreen1024.png - device 192.168.8.128

    Note that "bg" is a folder with 500 images that must be accessible from the app. I hope that I can just add the folder like this and not type a path to each image file...

    What I get (in lib\adt.jar via the bat file):

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Okay, so the example did not straight on the box.

    Now, I've read all paragraphs in the first URL I linked above ("the bar-descriptor configuration file"). I start my own XML file and make sure to include everything that is marked as "necessary". That's what I'm left with:

    ===========================================================



        MyCompany
        
            
            com.mydomain.myappname
            My App name
            3.0.0
            
                splashscreen1024.PNG
            

            1.5.0
        

        run_native
        
            application
            
                bb.action.VIEW
                application/octet-stream
            

        

    ===========================================================

    I have no idea of what concerns the block whole call target, but it took, so he must be there.

    Now I launch (notice that myappnameicon86.png is gone since no icon is mentioned in the above XML code, it is not mandatory):

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf bg splashscreen1024.png - device 192.168.8.128

    Yet once, I get:

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Frustrated I get autour on the forums for answers, because the official documentation is nowhere getting me.

    I'm left with this:

    ===========================================================


    http://ns.Adobe.com/air/application/3.1">
        com.mydomain.myappname
        1.5.0
        
        My App name
        
        My App name
        
        
            myappname.swf
            standard
            fake
            true
            true
            landscape
            GPU
            fake
        

        
            myappnameicon36.PNG
            myappnameicon48.PNG
            myappnameicon72.PNG
        

        fake
        fake
        
            qnx.fuse.ui.skins.QNXDevice
            qnx.fuse.ui.skins.QNXNetwork
            qnx.fuse.ui.skins.QNXSensors

            qnx.fuse.ui.skins.QNXSkins
        

    ===========================================================

    Looks like the XML code that I use when I build for Android.

    First of all it doesn't have the tag root of qnx, but also nothing of the icons are of the required size (86 x 86). The tag required splashscreens and invoke target is also absent, to name a few. No idea of what the entire block of 'extensions' really do.

    Surely, this does not work:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane myappnameicon36.png myappnameicon48.png myappnameicon72.png bg-device 192.168.8.128

    Success in building the package BAR to my infinite surprise!

    He even managed to install on the Simulator. An icon for the game. However when it auto-couru the app went into landscape, thought for a second and then crashed (or you leave?) without a message.

    Perhaps because the required qnx tag was missing in the XML?
    Perhaps because images in the bg file could not be loaded?
    Perhaps because he had no permission to keep screen from dimming?

    I have no idea. I tried to add XML to qnx at the address previous to the bar - descriptor.xml, I thought that maybe he needed both the qnx block for when you run the application and the application block for when packaging. But now, he has complained of something like XML is not not clean ("' fatal error: markup in the document following the root element must be well-formed." ").

    So he came to it, I have to ask for help if I ever make the deadline of the Port-A-Thon.

    (1) how am I supposed to write the bar - descriptor.xml?
    (2) what command line starting by "blackberry - airpackager.bat" is OK to use?
    (3) all I have to do is build the SWF using Adobe Flash Professional CS6 and then pack it using the Blackberry SDK, right?

    First of all, there are two xml files that you need.

    One is called the manifesto, is to AIR and is called yourappname- app.xml. It is identical to the ones you use for Android and IOS, though some elements will be ignored. It's one you need to switch on the command line, and is probably causing the 'Namespace' missing error message. A file manifest a minimum is:

    
    http://ns.adobe.com/air/application/3.1">
    
        com.example.appname
        My Fabulous Game
        1.0.0
    
        FileNameOfYourSwfWithoutExtension
        YourCompanyName
        
            [This value will be overwritten by Flash Builder in the output app.xml]
            true
            false
            none
            cpu
            false
        
    
    

    Replace the text in red with your own stuff.

    The second xml file is called to the bar of descriptor. It is for App World and the installation process and is called bar - descriptor.xml. It contains information about signing code, icon, permissions etc. A simple bar - descriptor.xml is:

    
    
       
          none
          true
          landscape
          false
          cpu
       
    
       
       your-name-on-certificate
       your-id-on-certificate
    
       core.games
    
       
       1
    
       
       
          icon86x86.png
       
       splash-landscape.png
    
       
       2.1.0.1314
    
       
       access_shared
       access_internet
       play_audio
       set_audio_volume
    
    

    Make sure that you at least change the red dots.

  • Read the value of XML or JSON based on the name of the key

    I can't figure out how to get the value of the url to Image_Calendar1 JSON or XML data.  Sorry if it's 'obvious', but I am a new developer.

    I was cheating and ListItemData.value [1] .url but in this case, that the XML feed changes the number values of the moments which throws out of my method.  I need to be able to get the value based on the name of the key.  Is this possible?

    Thank you. Examples of the XML and the JSON /port.

    Okay, it might not be pretty, but what I do to solve my problem is to convert the ListItemData in JSON and stringify it.  I then split the string with 'key' and then count the lines.  Would not work if 'key' wasn't in each line, or if there are child elements of the child elements.  But... it works for me at the moment.  Future, me I hope, will be more intelligent and can fix it when it breaks.

    var testString = String (JSON.stringify (ListItemData))

    var javascriptcount = String (testString.split("key").length - 1).

    Console.log ("try to use the length:" + javascriptcount)

  • the formatting generated XML using XMLELEMENT() my output approximates to a single line, I want to be in an XML format

    Hi I have a problem in the formatting of XML file, that I generated with xmlelement() when I run it gives me putput in one line

    is it possible that I got my output as an XML file...

    This is the expected behavior. PRETTY print (ing) is required for humans. XML parsers do not need XML to be pretty printed. If you open the XML file in a browser such as Windows Explorer or Firefox, the browser will display enough output for you.

    In all, the exit 'single line' is made for PERFORMANCE reasons (lack of useless end of line and CTRL line breaks etc.)

    SELECT xmlelement ("employee name", model ") as"RESULT XML.

    FROM DUAL;

    X

    SELECT xmlelement ("employee name", xmlelement ("name", false))

    , xmlelement ("LastName", dummy)

    ) as "RESULT XML.

    FROM DUAL;

    X X

    XMLSERIALIZE enough to print the result if necessary via indentation

    SELECT XMLSERIALIZE (SIZE of withdrawal CONTENT xmlelement ("Employee Name", xmlelement ("name", model), xmlelement ("LastName", false)) as CLOB = 1).

    FROM DUAL;

    X

    X

  • Firefox icon displays correctly, however the name below is just a bunch of repeated ms, ns and hs in a line continues. How can I solve this problem

    The name under firefox on my desktop icon displays an expandable string of ms and hs and ns in a lines. all other icons are the normal display with proper names below. What could be the culprit... Please help

    You can attach a screenshot?

    Use a type of compressed as PNG or JPG image to save the screenshot.

    If this happens more often you can consider making a shortcut on the desktop to read-only.

  • The name of the Table may be 2 lines

    Can the name of the Table "numbers be 2 lines?

    I don't seem to be able to make a table name two lines.  You can use a box of text instead, while hiding the name of the table:

    Disable the table name in the Table formatter (lower-right)

    Add a text box

  • Is it safe to remove the date in the name of the xml document?

    Hi, the iTunes library xml document is titled "iTunes Library" 2015-07-11. Is this correct and problems can occur if l remove the name date?

    L ask because my Sonos system has trouble with importing iTunes playlists and they are suggesting that the document name length perhaps the question.

    Thank you

    This file is a copy of the database (.itl) iTunes created by iTunes, during an update.  The XML version of the library is always called iTunes Library.xml.  Is there is no basis for comment by Sonos, that it may be related to the length of the absolute path of the XML file - where it is on your system?

Maybe you are looking for

  • I can NOT add content to do anything.

    I downloaded the update of Firefox told to do. Then, I signed on my aol account. I tried to write an email and cannot add content to the letter. Just address and subject.How can I fix this problem or uninstall the update of Firefox? Thanks for your h

  • Re: Satellite A300 - very slow to start

    Hello My A300 has developed a problem. When I boot it to take about 2 minutes to go to the BIOS screen, then, the screen turns white with a cursor flashing at the top left of the screen, it stays like that for about a minute and it starts and runs pe

  • Windows 7 insstallation updates fail. Error code 80070643

    Hello. My new laptop has just 8 days with Windows 7 Premium. Now, updates fail with the error code 80070643.Service packs: Office 2003 SP3. KB907417. KB975958.Until yesterday, updates have been working well and I have sucessfully made many updates wh

  • Activation after restoration

    Recently, I used the 3 CD that my emachine t3085 accompanied to reinstall xp. He hung on behalf of the pc option so I rebooted the pc and the vga mode, this allowed me to enter the code of the product to the back of the pc. When I try to reboot it as

  • Update Windows stuck at 0%, now, windows is no longer enabled. Legal copy. Help!

    I have a laptop I bought in 2008 with Windows Vista 64 installed. The product key is valid (and I can prove it if necessary). Laptop has been with SP1 or no service pack. I updated to Service Pack 2, when it came out. Then because I was annoyed with