SAVE XML FILE Only For cetrain field with  Condition

Hi Team,
I have to save my journal entries as XML File.
I have written this code ...It is working
oJE.GetByKey(3)
            oJE.SaveXML("C:\Documents and Settings\Firos C\Desktop\MyXML3.xml")
So this code will save all data from OJDT and JDT1. So I dont want to save JDT1.SysCred Field How we do this
or how we can delete JDT1.SysCred Field  once we save our XML.
Also I need to give condition while selecting where OJDT.Ref2 <> Null
How we can resolve this issue...?
By
Firos

Resolved by using XML node deletion operations

Similar Messages

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • Save XML File Error

    I was trying to replace a Node in an XML file (see attached VI - LV 2010), but for some reason the Load or Save XML VI's are changing the format of the XML Header (only by a couple of \n characters, but enough for the application reading the XML file to say it is corrupt).  In the Load XML VI I have left all the Inputs at their default values (ie. Preserve Whitespace) so why is the file being modified?
    What the original file header contents look like..... 
    <?xml version="1.0" encoding="iso8859-1" standalone="no" ?>
    <METRONFile Type="Record" Version="2.0.1">
    <Application Name="Ansur" Version="2.9.4">
    What the Header looks like after using the LabVIEW Load/Save XML VI's.
    <?xml version="1.0" encoding="iso8859-1" standalone="no" ?><METRONFile Type="Record" Version="2.0.1">
    <Application Name="Ansur" Version="2.9.4">
     Chris
    Attachments:
    XML Replace Node Value.vi ‏16 KB

    Believe me I have tried all possible variations of the inputs to the NI_XML.lvlib:Load XML File.vi, none of them make a difference.  Also the Block Diagram of this VI doesn't help much since it is just a couple of Property and Invoke Nodes so nothing to debug really.
    I have attached the XML file that we are working with if you want to experiment - thanks
    Note: I had to change the extension of the attached file from *.mtr to *.txt since the website says it is not a valid extension for an attachment.
    Chris
    Attachments:
    0350E141014545182220110131_new.txt ‏11 KB

  • Import an xml file into adobe designer field using javascript

    Adobe javascript experts ,please help me.
    I need to load the data from an xml file into a text field in designer
    using javascript and then go through each node in the loaded xml and compare that with form fields in designer and if matching fill the value(node's value from the loaded xml) in form fields.
    Please give ur suggestions.
    Thanks in advance!!!
    regards,
    sowmya

    Thanks for the fast response.
    I saw your example and specifically the javascript code
    xfa.host.importData("filename.xml").
    Just by giving this alone how do I access the values in the xml???
    Just by giving the above javascript, my value is not getting populated when I see in pdf preview.
    But apart from that you have done dataconnection also and binding in all the columns.What is this for??
    Could you kindly explain what u r doing step by step??
    Thanks again.
    regards,
    Sowmya

  • How to find PG.xml file name and path associated with a FUNCTION

    Hi,
    I am having a function:IRC_VIS_HOME_PAGE with Web HTML value as below:
    OA.jsp?akRegionCode=IRC_VIS_HOME_PAGE&akRegionApplicationId=800&OAPB=IRC_BRAND
    How to find PG.xml file name and path assoicated with above funtion.
    Thanks,
    ashok

    Ashok,
    Function IRC_VIS_HOME_PAGE will have 2 parameter defined for it which are OASF and OAHP where
    OASF=<SelectedFunctionName> - this tells the Framework to select this function in the given "Home Page" menu context.
    OAHP=<HomePageMenuName> - this is used ONLY with the OASF parameter, and it is used to establish the current menu context. It should point to a "Home Page" menu.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • HELP!!!! How to save xml file!!!Anyone can help???

    Hi,
    It is urgent for me to know how to save xml file. I use VC++6.0, Oracle xdk 9.0.0.0.0 or 9.0.0.0.0Abeta under windows98.
    It is OK to compile the program with print() method. But system will tell me there is illegal operation when I run it. If I delete the line with print(), the result will be normal.
    in class node, there is two functions
    void print(ostream *out = &cout, uword level = 0,uword step = 4);
    void print(DOMString buffer, size_t bufsize, uword level = 0, uword step = 4);
    Is there anyone who may tell me how to use them? to write back specific xml file?
    Without print(), I can not save the xml file...It seems in Oracle xdk9.0.0.0.0, there is no obvious function to save the file.(or because I am a new comer , not familier with DOM)
    Can anyone tell me how to save xml file? or just paste an example! It is very a little urgent to me...Hope you give me some ideas....
    Many thanks in advance!!!!
    yours,
    Fiena

    Hi,
    goto sxmb_adm > intergration engine configration > specific configration
    go in edit mode > new entry
    choose
    Category -> IDoc
    Parameters -> XML_CONVERSION
    current value -> 2
    Regards,
    Manisha

  • Dynamically making read only for a field in get_data(CL_EHHSS_INC_BINFA_UI_FRM)

    Hi Experts,
    I am making read only for a field based on condition in get_data method of class CL_EHHSS_INC_BINFA_UI_FRM.
    But it is not working. Pls find the code for the same.
    LOOP AT CT_FIELD_USAGE INTO lw_field WHERE NAME = 'OC_INC_TYPE'.
       lw_field-read_only = ABAP_TRUE.
       MODIFY ct_field_usage FROM lw_field TRANSPORTING read_only.
       ev_field_usage_changed = 'X'.
    ENDLOOP.
    Pls help me what is wrong in this coding.
    Regards,
    Reny Richard

    Hi Richard,
    Please check if   this loop is executing for the correct desired event(say on click or from the start ). & the field name specified is correct or not through debugging. And check by placing the parameter ev_field_usage_changed = 'X'. after the loop statement.
    Below is a sample code for making the field read only.
    field-SYMBOLS: <fs_field> like line of CT_FIELD_USAGE.
       loop at CT_FIELD_USAGE ASSIGNING <FS_FIELD>.
         case <FS_FIELD>-NAME.
         when 'OC_INC_TYPE'. " name of the field
             <FS_FIELD>-READ_ONLY = 'X'.                " ' ' for editable
         ENDCASE.
    CV_FIELD_USAGE_CHANGED = abap_true.
    Regards,
    Harsha

  • Is Stack configuration XML file needed for EHP4 installaton on ERP 6.0 SR2

    Hello ALL,
    Is Stack configuration XML file needed for EHP4 installaton on ERP 6.0 SR2,THE GUIDE SAYS IT IS OPTONAL
    is it?
    Rohit

    The central installation note
    Note 1143022 - Installation of SAP Enhancement Package 4 on SAP ERP 6.0
    says, that the Solution Manager Maintenance Optimizer should be used to generate the stack file to avoid any problems.
    Markus

  • I need one XML File containing one Idoc fields Say Orders01

    hiall,
    i need one XML File containing one Idoc fields Say Orders01
    bye
    satish

    hi,
    <?xml version="1.0" encoding="iso-8859-1"?>
    <ORDERS02>
      <IDOC BEGIN="1">
        <EDI_DC40 SEGMENT="1">
          <TABNAM>EDI_DC40</TABNAM>
          <MANDT>800</MANDT>
          <DOCNUM>0000000000213213</DOCNUM>
          <DOCREL>46B</DOCREL>
          <STATUS>30</STATUS>
          <DOCTYP>ORDERS02</DOCTYP>
          <DIRECT>1</DIRECT>
          <RCVPOR>A000000032</RCVPOR>
          <RCVPRT>LS</RCVPRT>
          <RCVPRN>sell</RCVPRN>
          <RCVSAD/>
          <RCVLAD/>
          <STD/>
          <STDVRS/>
          <STDMES/>
          <MESCOD/>
          <MESFCT/>
          <OUTMOD>4</OUTMOD>
          <TEST/>
          <SNDPOR>SAPSID</SNDPOR>
          <SNDPRT>KU</SNDPRT>
          <SNDPRN>23334</SNDPRN>
          <SNDSAD/>
          <SNDLAD/>
          <REFINT/>
          <REFGRP/>
          <REFMES/>
          <ARCKEY/>
          <CREDAT>20061019</CREDAT>
          <CRETIM>205734</CRETIM>
          <MESTYP>ORDERS</MESTYP>
          <IDOCTYP>ORDERS02</IDOCTYP>
          <CIMTYP/>
          <RCVPFC/>
          <SNDPFC/>
          <SERIAL></SERIAL>
          <EXPRSS/>
        </EDI_DC40>
        <E1EDK01 SEGMENT="1">
          <KZABS>X</KZABS>
          <CURCY>USD</CURCY>
          <WKURS>1.000</WKURS>
          <ZTERM>ZZZZ</ZTERM>
          <BSART>EC</BSART>
          <BELNR>300024455</BELNR>
          <RECIPNT_NO>misssa</RECIPNT_NO>
        </E1EDK01>
        <E1EDK14 SEGMENT="1">
          <QUALF>014</QUALF>
          <ORGID>1000</ORGID>
        </E1EDK14>
        <E1EDK14 SEGMENT="1">
          <QUALF>009</QUALF>
          <ORGID>001</ORGID>
        </E1EDK14>
        <E1EDK14 SEGMENT="1">
          <QUALF>011</QUALF>
          <ORGID>1000</ORGID>
        </E1EDK14>
        <E1EDK03 SEGMENT="1">
          <IDDAT>012</IDDAT>
          <DATUM>20061019</DATUM>
        </E1EDK03>
        <E1EDKA1 SEGMENT="1">
          <PARVW>LF</PARVW>
          <PARTN>000002344</PARTN>
          <TELF1></TELF1>
          <BNAME></BNAME>
        </E1EDKA1>
        <E1EDKA1 SEGMENT="1">
          <PARVW>WE</PARVW>
          <LIFNR>1000</LIFNR>
          <NAME1></NAME1>
          <STRAS></STRAS>
          <ORT01></ORT01>
          <PSTLZ>4444</PSTLZ>
          <LAND1>EN</LAND1>
          <TELF1></TELF1>
          <SPRAS>D</SPRAS>
          <ORT02></ORT02>
          <REGIO>02</REGIO>
        </E1EDKA1>
        <E1EDK02 SEGMENT="1">
          <QUALF>001</QUALF>
          <BELNR>600060324</BELNR>
          <DATUM>20061019</DATUM>
          <UZEIT>205736</UZEIT>
        </E1EDK02>
        <E1EDK17 SEGMENT="1">
          <QUALF>001</QUALF>
          <LKOND>EXW</LKOND>
          <LKTEXT>london</LKTEXT>
        </E1EDK17>
        <E1EDK18 SEGMENT="1">
          <QUALF>001</QUALF>
          <TAGE>12</TAGE>
          <PRZNT>4.000</PRZNT>
        </E1EDK18>
        <E1EDK18 SEGMENT="1">
          <QUALF>002</QUALF>
          <TAGE>30</TAGE>
          <PRZNT>2.000</PRZNT>
        </E1EDK18>
        <E1EDK18 SEGMENT="1">
          <QUALF>003</QUALF>
          <TAGE>45</TAGE>
        </E1EDK18>
        <E1EDP01 SEGMENT="1">
          <POSEX>00010</POSEX>
          <PSTYP>0</PSTYP>
          <KZABS>X</KZABS>
          <MENGE>1.000</MENGE>
          <MENEE>EA</MENEE>
          <BMNG2>1.000</BMNG2>
          <PMENE>EA</PMENE>
          <VPREI>3</VPREI>
          <PEINH>1</PEINH>
          <NETWR>3</NETWR>
          <MATKL>001</MATKL>
          <BPUMN>1</BPUMN>
          <BPUMZ>1</BPUMZ>
          <E1EDP20 SEGMENT="1">
            <WMENG>1.000</WMENG>
            <EDATU>19</EDATU>
          </E1EDP20>
          <E1EDP19 SEGMENT="1">
            <QUALF>002</QUALF>
            <IDTNR>100</IDTNR>
          </E1EDP19>
          <E1EDP19 SEGMENT="1">
            <QUALF>001</QUALF>
            <KTEXT>some text</KTEXT>
          </E1EDP19>
        </E1EDP01>
        <E1EDS01 SEGMENT="1">
          <SUMID>002</SUMID>
          <SUMME>3</SUMME>
          <SUNIT>USD</SUNIT>
        </E1EDS01>
      </IDOC>
    </ORDERS02>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to activate Approval in Sales Order for the UDF with condition

    Dear Expert,
                       I have created the UDF field Rebate(type amount) in Sales Order.I want to activate the approval procedure for this UDF with condition where Rebate is greater then Zero.I had applied the query and Activate it in approval procedure.--
    SELECT (Case When IsNull(count(T0.[DocEntry]),0) <>0 Then 'True' Else 'False' End) AS TF            
    FROM Ordr T0   where DocType='I' AND t0.U_rebate >0 and convert(Varchar(20),T0.[CreateDate],103) =(select convert(Varchar(20),Getdate(),103))
    But I found that the approval procedure activate every time inspite the Rebate field is Zero.
    Plaese suggest some soloution for it.
    regards,
    PankajK

    Hi Pankaj......
    Try this.......
    Select Distinct 'True' From ORDR T0 Where T0.U_Rebate>0 and T0.DocType='I' And T0.DocNum=$[ORDR.DocNum.0]
    Hope this will help you.......
    Regards,
    Rahul

  • Save whole XML file in SQL table field

    Hi  All,
     I want to save whole XML message in sql table field which is with datatype XML(.).. how can i achieve this.
    Thanks in advance.
    2Venture2

    I did a prototype to do what you are asking. I actually haven't inserted into the xml data type in SQL Server before, so I was curious if that added any complexity. I'll just go through the mapping pieces and assume that you can easily find documentation
    on how to insert data into SQL Server using the Add Generated Items --> Consume Adapter Service function.
    The interesting piece was writing the map. I used a simple PO schema. My sample table was XmlRepository with a ID column, RepositoryID, and the RawXml field.
    The script is an inline XSLT script that is as follows:
    <xsl:element name="ns3:RawXml">
    <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
    <xsl:copy-of select="/" />
    <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
    </xsl:element>
    The questoin right off is why the CDATA? Well, since the value of the RawXml element that needs to be inserted into SQL Server is XML data, it has to be wrapped in a CDATA tag. Otherwise, the XML data gets validated and will not properly make it to the SQL
    Server. You can try it and see what I mean. Don't worry, the CDATA gets stripped before the XML gets written to the table.
    The interesting piece are the xsl:text elements, which manually create a CDATA wrapper for the XML that ends up in the RawXml field. Apparently, the normal Grid Property for creating CDATA output doesn't work in conjunction with the xsl:copy-of function.
    That tripped me up for a while!
    What the map outputs is a document that looks like the following:
    <ns0:Insert xmlns:array="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ns3="http://schemas.microsoft.com/Sql/2008/05/Types/Tables/dbo" xmlns:ns0="http://schemas.microsoft.com/Sql/2008/05/TableOp/dbo/XmlRepository">
    <ns0:Rows>
    <ns3:XmlRepository>
    <ns3:RawXml>
    <![CDATA[<ns0:PurchaseOrder xmlns:ns0="http://XmlRepositoryDemo.PurchaseOrder">
    <PONumber>PONumber_0</PONumber>
    <CustomerNumber>CustomerNumber_0</CustomerNumber>
    <PODate>PODate_0</PODate>
    <Items>
    <Item>
    <ProductID>ProductID_0</ProductID>
    <Quantity>Quantity_0</Quantity>
    <Price>Price_0</Price>
    </Item>
    </Items>
    </ns0:PurchaseOrder>]]>
    </ns3:RawXml>
    </ns3:XmlRepository>
    </ns0:Rows>
    </ns0:Insert>
    The map can be called from a simple Orchestration, or even a messaging-only scenario, and sent across the wire in a request/reply as you would for normally sending data to SQL Server.
    I hope this helps. It ended up being more interesting than I expected!

  • Save XML file?

    I have a blog on Blogger http://www.enduringepilepsy.com that I want to design my own template for. I'm fairly familiar with HTML and CSS, and I've been working on the code for a few days.
    The problem: Blogger will only upload an XML file. And if you copy and paste the HTML into the Blogger editor, Blogger gives errors.
    I've been writing the theme in a program called TextWrangler, which is nice because it numbers the code lines and colors it as you type.  http://http://www.barebones.com/products/textwrangler/ However, although you can save the file in TextWrangler as XML, its only showing in Finder as a TXT; so it won't upload.
    This problem is making it that I can't see the progress of my work and wouldn't be able to use the final theme.
    Can anyone tell me how to save an XML file on my MacBook? *I'm running Mountain Lion 10.8.4

    Blogger kicks it back giving parse errors about the code, usually for the open/close of HTML tags; which is part of what led me to believe it was the file. Also because my other XML files (downloaded back-ups) look like this in Finder:
    Being that it was showing up differently, and errors, I thought it was a problem saving as XML.
    If the first image is how your TextWrangler files appear - a few questions:
    do you use yours on Blogger? can you view the code by dragging to a browser? have you been able to upload anywhere without a problem?
    I've even just edited my old template, which was a downloaded free template, but if I save it can't upload - so I'm really stumped by this

  • Cannot close an XML file used for parsing

    Hi All,
    I appears to have difficulty closing (possibly flushing it first) an XML file that was subsequently being parsed without success. The error generated is:
    org.jdom.input.JDOMParseException: Error on line 23: The element type "form" must be terminated by the matching end-tag "</form>".
    Below is the code snippets of readData() to retrieve (HTML) data from a website, save it to a file, then convert to XML format before returning the new filename:
    public String readData() {
        try {
              URL url  = new URL("http://www.abc.com");
              URLConnection connection = url.openConnection();      
              InputStream isInHtml = url.openStream();   // throws an IOException    
              disInHtml = new DataInputStream(new BufferedInputStream(isInHtml));         
              System.out.flush();
              FileOutputStream fosOutHtml = null;
              fosOutHtml = new FileOutputStream("C:\\Temp\\ABC.html");
              int oneChar, count=0;
              while ((oneChar=disInHtml.read()) != -1)
                  fosOutHtml.write(oneChar);
              isInHtml.close();
              disInHtml.close();
              fosOutHtml.flush();    // optional
              fosOutHtml.close();
        try {
              File fileInHtml = new File("C:\\Temp\\ABC.html");
              FileReader frInHtml = new FileReader(fileInHtml);
              BufferedReader brInHtml = new BufferedReader(frInHtml);
              String string = "";
              while (brInHtml.ready())
                  string += brInHtml.readLine() + "\n";
              fwOutXml  = new FileWriter("C:\\Temp\\ABC.xml");
              pwOutXml  = new PrintWriter(fwOutXml);
              light_html2xml html2xml = new light_html2xml();
              pwOutXml.print(html2xml.Html2Xml(string));
              system.out.flush()     // optional
              fwOutXml.flush();      // optional
              fwOutXml.close();
              pwOutXml.flush();      // optional
              pwOutXml.close();
              return fileInHtml.getAbsolutePath();
    // parseData reads the XML file using the name returned by readData()
    public void parseData(String XMLFilename)
        try
            FileReader frInXml = new FileReader(FileName);
            BufferedReader brInXml = new BufferedReader(frInXml);
            SAXBuilder saxBuilder = new SAXBuilder("org.apache.xerces.parsers.SAXParser"); // JDOMParseException generated.
    }These codes would worked when they were in a single method but I have since placed some structure around them using a number methods.
    This issue has risen in th past where I have been able to close the XML file prior to reading them again. However, I don't have a solution for it this time round.
    I am running JDK 1.6.0_10, Netbeans 6.1, JDOM 1.1 on Windows XP platform.
    Any assistance would be appreciated.
    Many thanks,
    Jack

    Hi Alain,
    I have added the additional I/O statements in the finally clause as follows but the problem still persisted:
    readData()
    // reading data (html) from the webpage and save it in html format.
    try {
    catch { …. }
    finally {
           System.out.flush();
           isInHtml.close();
           disInHtml.close();
           fosOutHtml.flush();
           fosOutHtml.getFD().sync();
           fosOutHtml.close();
    // convert the html webpage format to xml format
    try {
    catch { …. }
    finally {
           System.out.flush();
           fwOutXml.flush();
           fwOutXml.close();
           pwOutXml.flush();
           pwOutXml.close();
    Below is a short listing of the new XML file:
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <html>
    - <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <meta name="keywords" content="California, cities, towns, villages, list, zipcodes, postal codes, united states, ca" />
      <meta name="description" content="Cities, towns and suburbs in California, United States (CA) starting with A" />
      <title>Cities and Towns in California starting with A – ABC Company</title>
      <link rel="stylesheet" href="http://www.abc.com/style.css" type="text/css" media="screen" />
      </head>
    - <body>
      <a name="top" />
    - <div id="container">
    - <div id="header">
      <div id="postmark" />
    - <a href="http://www.abc.com/" class="imglink">
      <img id="logoimg" src="http://www.abc.com/images/zipcodes.gif" width="192" height="33" alt="Zipcodes America Logo" />
      </a>
      <hr />
      </div>
    - <div id="nav">
    - <ul>
    - <li>
      <a href="http://www.abc.com/" title="Home Page">Home</a>
      </li>
    - <li>
      <strong>Search</strong>
      (zipcode or suburb)
    - <div class="hide">
      <form method="post" action="http://www.abc.com/search" />        // line 23
      </div>
      <input type="text" name="q" class="searchbox" alt="Search query" />
      <br />
      <input type="submit" value="find!" class="searchbutton" alt="Perform search" />
      <div class="hide" />
      </li>
    …What I find it interesting is that it is possible to parse the above XML file with the same parseData() from another class without any problem. As a result, I have come to the following conclusion so far:
    ( i ) There is some file locking that is prevent saxBuilder from parsing the XML file at the time.
    ( ii ) The light_html2xml does not appears to have correctly converted over the orginal Html to Xml but some how it has been picked up by the parser in the same class, but not by the same parser from another class.
    ( iii ) I would like to use another conversion tool such as Tagsoup in place of light_html2xml to determine where the cause of this issue is coming from. As a result, would you or anyone be able to assist me coming up with a few lines of conversion statements using Tagsoup since I am not familiar with using this tool?
    ( iv ) light_html2xml is good as it strip out all namespace, DTD, Entity Resolver, etc and only return what I need. JTidy does correct conversion but include namespace, DTD, Entity Resolver which makes parsing difficulty.
    Many thanks again,
    Jack

  • Save XML file error permission

    Hi everyone,
    I read a XML file, edit it and save again:
                    var filePath:String = File.applicationDirectory.resolvePath("alerts.xml").nativePath;
                    var file:File = new File(filePath);
                   var fs:FileStream = new FileStream();
                    fs.open(file, FileMode.READ);
                    fs.addEventListener(IOErrorEvent.IO_ERROR, editsettings_IOError);
                    var xml:XML = XML(fs.readUTFBytes(fs.bytesAvailable));
                    fs.close();
                    fs.open(file, FileMode.WRITE);
                    xml[key] = value;
                    xml.toXMLString();
                    fs.writeUTFBytes(xml);
                    fs.close();
    When I´m in debug mode, everything is fine, but when I generate a Executable installer (native installer), it doesn´t work.
    I don´t have permission.
    Any solution?

    Hello,
    That's explicitely marked in documentation to not use "applicationDirectory" for write (updates/modification/deletion/etc), e.g.:
    The File class includes static properties that let you reference commonly used directory locations. These static properties include:
    File.applicationStorageDirectory—a storage directory unique to each installed AIR application
    File.applicationDirectory—the read-only directory where the application is installed (along with any installed assets)
    and later on the same page:
    Modifying content in the application directory is a bad practice, for security reasons, and is blocked by the operating system on some platforms. If you want to store application-specific data, consider using the application storage directory (File.applicationStorageDirectory).
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml#applicationDirectory
    So as pointed in docs you could use applicationStorageDirectory as location where you application-specific content is to be stored/created/updated/written/etc.
    (otherwise everything works fine when running local ADT/debug session - but it could fail at any time when deployed)
    hth,
    kind regards,
    Peter

  • Using "Save As" execCommand in IE8 to save XML file in ANSI format instead of UCS2-Little Endian

    I am currently trying to save an XML data using "SaveAs" execCommand  from Javascript in Internet Explorer 8 only.I am using document.write(xml) to write the xml content after i open a window.The document object in IE8 uses a saveAs Exec
    Command to allow the user to save the xml file in the local folder.The XML file is generated but it doesnt set the encoding to my preferred type  for a different interface where i need to send this XML which is ANSI/UTF-8   encoding.I can only save
    the XML in UCS2 little Endian encoding format.Below is the code i am using.
         var location = "D:\\export_to_MCT"+dateTime+".xml";
            var xml = tmpSelectedConfigurationXML.transformNode(xslDoc);// XML Is generated here
           alert(xml);
             **var testlink = window.open  ("about:blank","_blank","toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,left=10000, top=10000, width=10, height=10, visible=none");
             testlink.document.write(xml); //fileData has contents for the file
        testlink.document.close();
        testlink.document.execCommand('SaveAs', false, location);**
        testlink.close();
    My purpose is to save the xml  in ANSI/UTF-8 encoding without BOM format.I cant use Scripting.FileSystemObject method of ActiveX object.Please suggest

    @panda Boy--
    But my intention isnt that .I need to download the xml in ANSI format

Maybe you are looking for

  • How to reformat my iPod nano???

    Hi, My nano is formatted to Mac which is not recognised whenever I plug into a PC. How do I reformat my iPod to Windows?? Pls help.. thanks..

  • Adding external jars

    Hi, I have a jar file in the ext folder of BPEL. When i use the class in java embedding activity it says class not found error how do i solve it. Or please tell me the procedure of adding external jars Edited by: user10545499 on Nov 5, 2008 9:40 PM

  • White box in safari

    I have a 3G iphone and opened a safari page for sports illustrated. When the page loaded it also loaded a white box on top of the page. I'm not sure if it was a pop up, but I cannot click the red x to close the page and cannot get rid of the white bo

  • Disable "nearby printers" in Bonjour

    Here's the problem: I am in a school building with an enormous network. We have an HP Color Laserjet 5550n in our lab; there is an identical Laserjet in another classroom in the building. When people try to print to the color printer in our lab, they

  • USkip / uInfo Logging

    Hi there, Question, when using either of these two functions with the JAVA engine, have you been able to get the output to the log file? Where does this info appear. uWarning info does go in, but of course it's coded Yellow and I don't always want th