How to make an xml file

Hello

I like to use a file *.xml instad a *.ini file I love huges showing but I dident find out how it works.

What I like to do:

My *.inii file for example lokks lik this

_________________________

[Info]

Company = Quantum

Type = Qrs354

[Horizontal]

X_Nullpunkt = 2,500

X_minus90 = 1.27

X_plus90 = 3.65

[Vertikal]

Y_Nullpunkt = 2.50

Y_minus90 = 1.31

Y_plus90 = 3.69

_______________________

Now wolld lik do an *.xml file

Someoene cold show me a simple example for these problem

Danks much

AndrewB2013

Put the information into 3 groups (section names), clusters of wire writing in XML format.

/Y

Tags: NI Software

Similar Questions

  • I can't seem to figure out how to import multiple XML files in Flex

    I can't figure out how to import multiple XML files in Flex and connect it to the DataGrids. Does anyone have ideas how to make this happen?

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "955" = "600" minHeight >

    < s:creationComplete >
    <! [CDATA]
    loader.addEventListener (Event.COMPLETE, getData);
    loader.load (new URLRequest ("http://www.student.hint.no/~100471/mmt134/images/Reiseregning-Konradi_Kare_2011-01-30.xml"));   

    []] >
    < / s:creationComplete >

    < fx:Declarations >
    <! - Place non-visual elements (e.g., services, items of value) here - >
    < / fx:Declarations >

    < fx:Script >
    <! [CDATA]
    var testData:XML;

    var loader: URLLoader = new URLLoader();

    public void getData(E:Event):void {}
    testData = new XML (E.currentTarget.data);
    grid.dataProvider = testData.descendants ('TravelSpecificationVO');
    }

    []] >
    < / fx:Script >

    < mx:TabNavigator "22.7" = x y = '39.35' width = '536' height = "312" >
    < s:NavigatorContent label = "Tab 1" width = "100%" height = "100%" >
    < mx:DataGrid = "1.3" x = "-2.35" width = "507" height = "269" id = "grid" >
    < mx:columns >
    < mx:DataGridColumn dataField = "to_destinasion" headerText = "Til destinasjon" / >
    < mx:DataGridColumn dataField = "from_date" headerText = "Klokkeslett" / >
    < mx:DataGridColumn dataField = "from_destinasion" headerText = "Fra destinasjon" / >
    < mx:DataGridColumn dataField = "to_date" headerText = "Klokkeslett" / >
    < / mx:columns >
    < / mx:DataGrid >
    < / s:NavigatorContent >
    < s:NavigatorContent label = "hkuhk" width = "100%" height = "100%" >
    < / s:NavigatorContent >
    < / mx:TabNavigator >
    < / s:Application >

    Hope this helps you:

    
    
     
      
     
    
     
      
       
       
       
       
      
     
    
    
    

    Let me know if you need additional information.

    Best regards

    Pablo Souza

  • When I export my bookmarks to an html file, I get a file json instead. How to make a html file that I can import into safari?

    When I export my bookmarks as an html file, I get a file json instead. How to make a html file that I can import into Safari?

    Use bookmarks > organize bookmarks > import and backup > export HTML and make sure that you give the file an extension of .html file.

    See also:

  • How can I save xml file n, run the xml file? Please help me

    How can I save xml file n, run the xml file? Please help me

    Hello

    The question you have posted will be well suited in the MSDN forum. Click on the link below.

    http://social.msdn.Microsoft.com/forums/en/categories/

    In the meantime, I suggest you to return the item mentioned below.

    How to use XML Notepad to create an XML document

    http://support.Microsoft.com/kb/296560

  • How to make an excel file opens automatically whenever I start my computer? ___

    How to make an excel file opens automatically whenever I start my computer?

    Put a shortcut to the file in your startup folder.

  • When I download always little matter that downloads in the form of itunes file, even if it's a photoshop file. How to make a photoshop file to download in format photoshop?

    hen I always download little matter that downloads in the form of itunes file, even if it's a photoshop file. How to make a photoshop file to download in format photoshop?

    For example when I go to this site http://www.envelop.eu/design/templates I can't download these templates. They are confused white pieces of paper and are registered as itunes. He never gives me an option I want to download the files under. ARgh, please help.

    Also, I can't get to the itunes page. It lights up I see pictures and then it simply disables the images and it is just empty but there still the topics. I can play my music but I can not download music or to use the site.

    Either by the way, I have Vista I've ever wanted...

    Hello

    ·         You did it changes on your computer?

    ·         What browser do you use to download files from the internet?

    ·         Were you able to open files in Photoshop and iTunes successfully before?

    ·         In turn the images out on the site ITunes is only on the ITunes site?

    What happens when you click on the. File PSD that is downloaded should open Photoshop or iTunes, if it opens with iTunes and then try to change file associations and see if it works.

     

    Change the program that opens a type of file

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-the-program-that-opens-a-type-of-file

    If steps above has not fixed the problem followed the steps as shown below:

    To set file Associations in Windows Vista

    1. Click Start and click on Control Panel

    2. click on default programs

    3. click on Set Associations.

    4. Select a file type in the list and click the change program.

    You will be displayed a list of programs as well as a Description and the current default. You can click the change program to set or change the current default settings.

    For Web site problems, please follow the procedure according to the link below:

    Internet Explorer is slow? 5 things to try
    http://Windows.Microsoft.com/en-us/Windows/help/Internet-Explorer/slow-five-tips-to-boost-performance

    Hope this helps

    Kind regards

    Kiki

  • How to load an XML file for salesforce using API BULK?

    Hello

    Please let me know how to download an XML file for salesforce using API bulk?

    Thank you

    AND

    Hello

    I think it's a matter of SalesForce.com more and think that you will have better luck in looking at SOAP API Developer Guide for salesforce. Sending of a server API SOAP request is very straight forward and there are several tutorials and well documented in this topic.

    See you soon,.

    Stefan

  • How to import the XML file into an oracle table using a BPEL process

    Hi friends

    How can I import XML file in the db oracle table using a BPEL process

    (1) I have generated an XML file in my local system with a field
    (2) I created a temporary table in my oracledb with the same field in the XML file
    (3) that I want to import these XML files which is the local host to my db oracle using a BPEL process
    (4) for that what steps should I me fallow please suggest me if there is no document for this?

    Thanks in advance
    AT

    Hi to

    Here you go...

    http://blogs.Oracle.com/ajaysharma/2011/03/using_file_adapter_database_adapter_and_mediator_component_in_soa_11g.html

    I hope that helps!

    Thank you
    AJ

  • How to generate an xml file?

    I just starting to learn how to generate xml data with the actionscript here is what I have so far:

    var xml =
    < ErikPhotos >
    < / ErikPhotos >;

    so that {(xml.photo.length (< 20))
    var point: XML = < photo / >;
    DevBlog var = xml.photo.length () + 10001;
    Item.@name = photoIndex.toString () .substr (1);
    xml.appendChild (item);
    }

    trace (XML);

    If I followed what I get:

    < ErikPhotos >
    < name photo = "0001" / >
    < name photo = "0002" / >
    < name photo = "0003" / >
    < name photo = "0004" / >
    < name photo = "0005" / >
    < name photo = "0006" / >
    < name photo = "0007" / >
    < name photo = "0008" / >
    < name photo = "0009" / >
    < name photo = "0010" / >
    < name photo = "0011" / >
    < name photo = "0012" / >
    < name photo '0013' = / >
    < name photo = "0014" / >
    < name photo = "0015" / >
    < name photo = "0016" / >
    < name photo = "0017" / >
    < name photo = "0018" / >
    < name photo = "0019" / >
    < name photo = "0020" / >
    < / ErikPhotos >

    that is what I wanted... So far so good.  Now I want to do is make the script write a real xml file which will be in my directory after you run the script.

    If this isn't a web-based application, you can use adobe air.

  • How to have an XML file in the app and / or installation

    My application is an xml file that accompanies it (actually more than one) and contains data for the application

    We choose based on user input.

    Is it possible to have a resource file such as an xml file that is provided with the blackberry .cod file?

    I think of how you can put a java application needs resources in the java app jar file.

    If I can't do that, where these xml files should be?

    I see some file access described in the forum using the SD card.

    But obviously I don't want that, because these files xml are always necessary when the user starts the application.

    These files are part of the application, they should not be changed by the user.

    How would this work?

    Thank you!!

    lucidbee

    You add the XML file to your project and get as a resource in your code.

    See the following article:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To _...

  • How to make an ISO file Flash Player, instead of burning a DVD?

    I know how to make a DVD ISO file, install windows 10 preview, using Imgburn.

    But, how do an ISO file flash drive to install Windows 10 preview? How IMgburn can work for that? ImgBurn just do the conversion and then simply write to the flash drive.

    I can't believe you can "burn" a flash drive. (Someone correct me on this)

    danoVista

    Hi DanoVista,

    Thanks for posting the request in Microsoft Community Forums.

    With the ISO downloaded completely, simply transfer it to a USB flash drive. To burn an ISO to a USB stick, download Windows 7 USB/DVD tool is probably still your best bet.

    If you encounter a problem during the creation of bootable flash drive, you can use your favorite search engine for any utility that allows to format and create bootable USB flash drives.

    DISCLAIMER of THIRD PARTY SOFTWARE: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope this information helps. Response with status so that we can help you.

  • How to load an XML file and save it as a file fm

    Hi Experts,

    I have a bunch of XML files in a folder. I want to make is that I want iteratively, load the xml using a StructuredApplication and save it as a file FM. I was able to sucessfully load the XML file, but I'm having trouble to save a file of FM.

    Here is the code I wrote so far:

    If (sourceFolder! = null) {/ / If a valid file is selected}

    files = new Array();

    fileType = "*.xml";

    files = sourceFolder.getFiles (fileType);  Download all the files that match the pattern

    If (files.length > 0) {/ / get the destination to save the files}

    destFolder = Folder.selectDialog ('Select the folder where you want to save the converted XML files.', ' ~');

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

    Set the options to open the XML file.

    var openParams = GetOpenDefaultParams();

    var j = GetPropIndex (openParams, Constants.FS_OpenAsType);

    . propVal.ival openParams [j] = Constants.FV_TYPE_XML;

    j = GetPropIndex (openParams, Constants.FS_StructuredOpenApplication);

    . propVal.sval openParams [j] = "XML Snpsbook";

    j = GetPropIndex (openParams, Constants.FS_FileIsOldVersion);

    . propVal.ival openParams [j] = Constants.FV_DoOK;

    j = GetPropIndex (openParams, Constants.FS_FontNotFoundInDoc);

    . propVal.ival openParams [j] = Constants.FV_DoOK;

    j = GetPropIndex (openParams, Constants.FS_FileIsInUse);

    . propVal.ival openParams [j] = Constants.FV_DoCancel;

    j = GetPropIndex (openParams, Constants.FS_AlertUserAboutFailure);

    . propVal.ival openParams [j] = Constants.FV_DoCancel;

    var returnParams = new PropVals();

    I'M NOT ABLE TO GET THIS LINE TO RUN. sourceDoc RETURNS a REFERENCE of OBJECT INVALID.

    sourceDoc = Open (files [i] .name, openParams, returnParams);  Returns the document object

    Alert (SourceDoc.Name);

    Function to save. XML file. Extension of the FM

    var saveParams = GetSaveDefaultParams();

    var returnParamsp = new PropVals();

    Change the extension .xml FM

    var k = GetPropIndex (saveParams, Constants.FS_FileType);

    saveParams [k].propVal.ival = Constants.FV_SaveFmtBinary;

    saveAsName = sourceDoc.name.replace (/ \.) [ ^\.\\]+$/,".fm");

    var saveInFile = record (saveAsName, saveParams, returnParamsp);  Save as file FM

    saveInFile = new file (destFolder + ' / ' + targetFile);

    saveInFile.close ();  Close file

    }

    Alert ("the files are saved in the FM to ' + destFolder");

    } else {}

    Alert ('no matching files found!');

    }

    }

    Hi reda,.

    You are very close, but there are a few critical flaws in your code that will prevent the proper functioning:

    -Your paths in string literals must have sequences to escape the backslashes. A backslash character is treated as an adverb in an escape sequence, so those need to be escaped themselves. For example: "C:\\Users\\rajrev\\file.xml."

    -Your OpenXMLFile () function does not return anything, then the original DocumentSource variable never gets made.

    -It is better to use the ObjectValid() method to test a valid object of FM.

    -I am not an expert of regular expression, but I can't understand the logic in your replace() method, to create the new path of the file. In addition, the property "name" of the fileObject is invalid, it must be 'name '. I think that there are simpler ways to do.

    -Your call to the Save() method is incorrect. It should be fileObject.Save (saveAsName, saveParams, returnParamsp).

    All that being said, here is a quick review, without comment, that works for me:

    var sourceDoc = openXmlFile("C:\\Users\\rajrev\\file.xml","XML snpsbook");
    if (sourceDoc.ObjectValid()) {
    
        var path = sourceDoc.Name;
        var filename = path.substring((path.lastIndexOf("\\") + 1), path.length);
        filename = filename.replace(".xml", ".fm");
    
        path = path.substring(0, (path.lastIndexOf("\\") + 1));
        path = path + "transformed_files\\" + filename;
    
        //path testing
        //alert(path);
    
        saveToFm(sourceDoc, path);
        sourceDoc.Close(0);
    }
    
    // Function to open and XML file
    function openXmlFile(filePath, structApp) {
        var openParams = GetOpenDefaultParams();
        var i = GetPropIndex(openParams, Constants.FS_OpenAsType);
        openParams[i].propVal.ival = Constants.FV_TYPE_XML;
        i = GetPropIndex(openParams, Constants.FS_StructuredOpenApplication);
        openParams[i].propVal.sval = structApp;
        var  returnParams = new PropVals();
        var doc = Open(filePath, openParams, returnParams);
        return doc;
    }
    
    //Function to save the opened XML as an FM file
    function saveToFm(fileObject, savePath) {
        var saveParams = GetSaveDefaultParams();
        var i = GetPropIndex(saveParams, Constants.FS_FileType);
        saveParams[i].propVal.ival = Constants.FV_SaveFmtBinary;
        var saveAsName = savePath;
        var returnParamsp = new PropVals();
        fileObject.Save(saveAsName, saveParams, returnParamsp);
    }
    
  • How to make transparent psd files?

    How to make images transparent when psd I drag and drop the layer on the stage on flash cs6?

    For example an iv was do what he so far recorded as a psd and then go to the folder to import into the flash library. It's very very time consuming and would be a lot easyer if I can simply drag and drop the layer photoshop on the scene, but the problem is that the image gets a white box around it and that it is not transparent, when I do this.


    Is there an option in photoshop or flash to solve this problem and make the background transparent?

    Reminds me of Mario Bros. Yoshi

    I know what you want to do, but as the first answer mentioned, you can do it. Until Photoshop is updated to copy with transparency intact in the Windows Clipboard, you will not be able to do. The reason why I've linked and showed a screenshot of the GIMP is to prove that it is a limitation of Photoshop, not a limitation of Flash or the Windows Clipboard.

    Knowing this, it not there no way for you to copy/paste, drag/drop from Photoshop directly in Flash.

    Cartoon animation is essentially identical to the way most of the games work. You create one large master image that contains all the possible variations of your subject (a face, a car, etc.) and import that into a game. Do you the same thing during the animation, only you keep them all separate instead of a single image.

    Knowing that your experience with Flash is small and growing, I won't make the most optimal recommendation. I'll stick to 2 things that I've mentioned before, but elaborate on them.

    (1) save your assets on real png with transparency, then import them into Flash.

    The reason why I highly recommend this much is due to the function of update of the Flash (I'll explain) and it is possible to automate some (also will be explained).

    So, I grabbed a sheet of sprite in Yoshi and say that I did a new pose as you mentioned. In Photoshop I have then select and copy this new single pose, with transparency:

    As you know, once you do that you can bring up a "New Image" dialog box, and it will already have the size of your pixels copied (with adorned transparency):

    You can see the size is correct and the preset's Clipboard. After that, you just paste your new image in and clear the background to achieve transparency. Then save you it to a separate file. I always use save for Web to a pinch of optimization of size of files and general control:

    Yet once, I realize that it is much more that you want to do, but all of this can be automated which will be explained after virtually making a send operation button.

    Now we have the image as a separate new PNG image with transparency intact. This image should be imported into the Flash library:

    Now you have both a separate physical copy of this pose in a PNG file (which can be useful for many reasons) and Flash can use this file with it's built in control of update of the very rapid changes.

    Now say you touch up your a pose a bit. I'll make it really obvious and change the hue of all. You make your changes in Photoshop, follow the same process (even make changes to the original image size), possibly replacing the PNG you created for this installation:

    Now in Flash, all you need to do is use the update feature. Right-click on the image in your library, select update. Because it is a file with a physical location, that's all that is needed to change the image in Flash:

    The power in this is that if you make changes to dozens or hundreds of png, you can do this command in a single Flash. Select all modified images and press update and all your changes will be made at the time. You can't do this kind of things when you copy and paste directly into Flash.

    That said, almost all of the steps above can be automated using the Photoshops Actions Panel. No need to reinvent the wheel, Actions are explained here:

    http://help.Adobe.com/en_US/Photoshop/CS/using/WSfd1234e1c4b69f30ea53e41001031ab64-7448a.h tml

    I would recommend the Save action once you make your selection rectangle around what you want to save a PNG image. Save up to save for Web and stop there. Then in the future, you press the shortcut key that affect you and it will be part of your choice, open a new document, paste it in, turn off the background for transparency and you will bring to the dialog box in which you can name the image. It's pretty simple and automated. Then just import into Flash and enjoy the benefits.

    (2) use Photoshop to create assets, then another program to copy/paste in Flash

    Is not ideal to have 2 programs need, however if you really want you copy and paste directly into Flash, it is the way to go. Download any program that can read the PSD file format, open your PSD in there. If you have enough RAM this shouldn't really be a problem (PS and GIMP side by side, same open file):

    As you make changes to the PSD, just hit reload or go back in your program to support ' copy in transparency ', copy what you need, paste it into Flash:

    I'll explain some of the benefits of the previous workflow if you want, but I think that this is the overload of enough information for now.

  • How reference/read an XML file?

    Instead of the inline XML content, pls see code below, thank you.

    <? XML version = "1.0"? >
    <!-dpcontrols / DataGridSimple.mxml->
    "< mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml" > "
    <!--
    < mx:XMLList id = "employees" >
    < employee >
    < name > Christina Coenraets < / name >
    555-219-2270 < phone > < / phone >
    < email > [email protected] < / email >
    true < current > < / current >
    < notes >
    Christina is a hot chic.
    < / notes >
    < / employee >
    < employee >
    < name > Joanne Wall < / name >
    555-219-2012 < phone > < / phone >
    < email > [email protected] < / email >
    true < current > < / current >
    < notes >
    What a and b!
    < / notes >
    < / employee >
    < employee >
    < name > Maurice Smith < / name >
    555-219-2012 < phone > < / phone >
    < email > [email protected] < / email >
    < active > false < / current >
    < notes >
    Just a pimp.
    < / notes >
    < / employee >
    < employee >
    < name > Mary Jones < / name >
    555-219-2000 < phone > < / phone >
    < email > [email protected] < / email >
    true < current > < / current >
    < notes >
    Mary, Mary, Mary
    < / notes >
    < / employee >
    < / mx:XMLList >
    ->
    < mx:Panel title = "DataGrid Control Example" height = "100%" width = "100%".
    paddingTop = "10" paddingLeft = "10" paddingRight = "10" >

    < mx:Label width = '100% ', color = 'blue '.
    Text = "Select a row in the DataGrid control" / >

    <!-old reference inline, dataProvider = {employees}->
    {< mx:DataGrid id = "dg" width = "100%" height = "100%" rowCount = "5" dataProvider="{C:\ColdFusion8\wwwroot\Flex\employees.xml}" > "
    <!-this above dataProvider reference will not work, how? ->
    < mx:columns >
    < mx:DataGridColumn dataField = "name" headerText = "Name" / >
    < mx:DataGridColumn dataField = "phone" headerText = "Phone" / >
    < mx:DataGridColumn dataField = "email" headerText = "Email" / >
    < / mx:columns >
    < / mx:DataGrid >

    < mx:Form width = '100 percent"height ="100% ">
    < mx:FormItem label = "Name" >
    < mx:Label text="{dg.selectedItem.name}"/ >
    < / mx:FormItem >
    < mx:FormItem label = "Email" >
    < mx:Label text="{dg.selectedItem.email}"/ >
    < / mx:FormItem >
    < mx:FormItem label = 'Phone' >
    < mx:Label text="{dg.selectedItem.phone}"/ >
    < / mx:FormItem >
    < mx:FormItem label = 'Notes' >
    < mx:Label text="{dg.selectedItem.notes}"/ >
    < / mx:FormItem >
    < / mx:Form >

    < / mx:Panel >

    < / mx:Application >

    in DataGrid dataProvider attribute does not point to a file. He uses (I think) E4X to set a path to a data provider (i.e. HTTPService). You need to access the XML file using a provider of data first and then use this reference to access the data of the element in the document through the dataProvider.

    Hope that helps a little.

  • How to make a jad file and cod file to a single file for hosting on the web server

    Hello

    I want to make the jad file and cod file is a single file, which must be installed in the blackberry.

    When I load the jad without cod file file, it loads the app

    but when I load the jad file cod file, it loads the application on the blackberry device.

    I only want a single file to be uplaoded to the server for the installation of the application.

    Help, please

    I want it to install the web server to the BlackBerry smartphone.

    Thanks and greetings

    Anthony singh

    This is not possible, that both jad and cod is necessary to install an OTA application. the jad file contains a description of the application, the cod is the real application.

Maybe you are looking for