MS Access XML export

Hi,
This is not really a Spry issue, but it is something that
many of us may encounter.
I use MS Access to generate an XML file from a table. In that
table I have several date fields, not matter how I format them,
(e.g. mm/dd/yyyy) when I export to XML it generates the following
format:
2007-01-25T00:00:00
I just want a normal date format, what I can do to fix this ?
Regards,
Leon

Hi Leon,
You can do this today with an onPostLoad observer. In the
following example, I had an XML that looked like this:
<?xml version="1.0" encoding="utf-8"?>
<items>
<item>
<name>Item 1</name>
<moddate>2007-01-25T00:00:00</moddate>
</item>
<item>
<name>Item 2</name>
<moddate>2007-01-25T00:00:00</moddate>
</item>
<item>
<name>Item 3</name>
<moddate>2007-01-25T00:00:00</moddate>
</item>
<item>
<name>Item 4</name>
<moddate>2007-01-25T00:00:00</moddate>
</item>
</items>
I then created a date filtering function that I added as an
observer:
<script type="text/javascript">
<!--
var ds1 = new Spry.Data.XMLDataSet("items.xml",
"items/item");
ds1.addObserver(dateFilter);
function dateFilter(notificationType, notifier, data)
if (notificationType != "onPostLoad")
return;
// Get the unfiltered set of rows from the data set.
var rows = notifier.getData(true);
var numRows = rows.length;
// Now loop over every row and translate the "date" column
// into a normal date format.
for (var i = 0; i < numRows; i++)
rows[ i ][ "moddate" ] = rows[ i ][ "moddate"
].replace(/^([0-9]{4})-([0-9]{2})-([0-9]{2}).*/, "$2/$3/$1");
//-->
</script>
--== Kin ==--

Similar Messages

  • How can I access xml document from javascript whithin a JSP page

    how can I access xml document from javascript whithin a JSP page?
    I have a JSP that receives an XML document from a JavaBean, so I can access it within the entire JSP, but I need to access it from the javascript inside the JSP... and I have no idea how i can do this.
    Thanks in advance!

    The solution would only work on MS IE browsers, as other browsers do not support an XML DOM.
    It can be done, but you would be stuck with using the Microsoft broswer. If that is acceptable, I have some example code, and a book recommendation.

  • Crystal Report 2008 SP2 & InfoView: Custom XML Export doesnt work

    Hi,
    I have created a Crystal Report .rpt and want to use the custom xml export function to output a custom xml file. For that, I created a custom transformation file (xsl) and imported it into the .rpt . On the client machine, if I open the .rpt with Crystal Reports 2008 SP2, and select to export it using the custom xml output, all runs fine. (under SP1, only half the file was created...)
    If I upload the .rpt file to Infoview (server-side: BO Enterprise 3.1, SP2 as well) and schedule it, I can select xml, and then my custom xml as output format, but I am getting the error message u201EUngültige Exportoptionen" (="invalid export options"), in the instance history. No output file is created. I use file system as destination. Other output formats like .pdf and .rpt work fine and files are created.
    Ideas:
    -Are there any more settings needed on the server (e.g.CMC - Crystal Server Jobs, other Processes, ...) so I can schedule the report and successfully create the custom xml format file as output?
    -Do I need to upgrade to a specific SP or FP on server-side so everything runs smooth?
    Thanks for your help!

    Hi Florian,
    I'm having the same problem, have you by any chance found a solution?
    Gajus.

  • How should I tag content created in a master page when addressing accessibility before exporting to Acrobat?  I can't add the content to the articles pannel because it's locked.  I would also like to know how I shold tag my cove content.  I dont' want rea

    How should I tag content created in a master page when addressing accessibility before exporting to Acrobat?  I can't add the content to the articles panel because it's locked.  I would also like to know how I should tag my cove content.  I don't want the reader to get lost in content other than the body of the report, but I also don't want to ignore some content completely by tagging it as artifacts.  What should I do y'all?
    Thanks,
    Josh

    Hi Rob,
    From the screen shots it looks like your script is not formatted properly (you may refer to 'Paladin Script' in 'Sample Project' to get an idea of how the script should be formatted.).
    Further please follow the steps mentioned below to use Story to PP workflow.
    Create a new Film script in Adobe Story
    Create  scene heading – INT. LOCATION – Day (these will show up in the outline view panel on left hand side)
    Hit enter, hit TAB
    Enter the name of the speaker, hit TAB or ENTER
    Copy over the transcribed text
    Build your script this way
    Number scenes from the production menu
    Export ASTX file for your script : File->Export->.astx
    Open Premiere Pro
    Create a new project, bring in media
    In the project pane, find the "Scene" column
    For the clip that contains the spoken text, assign the same scene number to the clip as you have in the story script (lets say both are scene 1)
    Click out of the scene box in the project panel in Ppro
    Right click on the scene that you just assigned a scene number to and select – attach Story script
    Select the .astx fle you exported in step 8
    Click ok
    You should now see the script data in the metadata panel for the clip in the metadata panel.
    You can now run speech to text based on "Embedded Script metadata" to time align spoken word to the script.
    Let us know if this is helpful.
    Thanks
    Rashi - Story Team

  • Access XML Content from Alert Category (ALRTCATDEF) ?

    Hi PI Expert,
    is that possible to access xml content from Alert Category (ALRTCATDEF) if the error occurs from Adapter engine.
    For example IDOC number / PO Number, so i can put in into Subject email notification.
    At the moment i am only know how to send dynamic data from ccBPM.
    Please advise.
    Thank You and Best Regards
    Fernand.

    Hai,
    Yes the user existed in QA before I transported the category. (Since users are not transported, I simply created a user with the same name.) Also, I used the role SAP_XI_ADMINISTRATOR for the receivers via subscription and roles.
    Thanks,
    Filipe

  • Accessing XML API's from Java Stored Procedures in DB

    I am working in an environment that does not contain any Oracle applications and we have been looking at XML publisher as a stand alone service. I have successfully configured the UI and created some command line java programs to produce documents and deliver these documents.
    How do I install (do I need to install) XML Publisher java in the database in order to access XML Publisher API's from stored procedures. Any clues or help would be gratefully appreciated.
    George

    Hello Chris,
    I have been able to create a PDF from the database. I loaded the following jar files and removed any java class that could not compile.
    activation.jar, axis-ant.jar, axis.jar, axis-schema.jar, bicmn.jar, bipres.jar, collections.jar,
    commons-beanutils.jar, commons-collections-3.1.jar, commons-collections.jar, commons-dbcp-1.1.jar commons-digester.jar, commons-discovery.jar, commons-el.jar, commons-fileupload.jar, commons-logging-api.jar commons-logging.jar, commons-pool-1.1.jar, http_client.jar, i18nAPI_v3.jar, javamail.jar, jaxrpc.jar,
    jewt4.jar, jsp-el-api.jar, log4j-1.2.8.jar, logkit-1.2.jar, ojpse.jar, oracle-el.jar, oraclepki.jar,
    orai18n.jar, quartz-1.5.1.jar, quartz-oracle-1.5.1.jar, regexp.jar, saaj.jar, service-gateway.jar, share.jar, uix2.jar, uix2tags.jar, versioninfo.jar, wsdl4j.jar, xdocore.jar, xdoparser.jar, xdo-server-delivery-1.0-SNAPSHOT.jar, xdo-server-kernel-0.1.jar, xdo-server-kernel-impl-0.1.jar, xdo-server-scheduling-1.0-SNAPSHOT.jar, xercesImpl.jar, xmlparserv2-904.jar, xmlpserver.jar, xsu12.jar
    I needed to copy the XML Publisher fonts to the database server and ran the following java grants, note my $ORACLE_HOME is /opt/app/oracle/product/10.1.0/
    dbms_java.grant_permission('XMLP', 'java.util.PropertyPermission', '*', 'read,write');
    dbms_java.grant_permission('XMLP', 'java.net.SocketPermission', '*', 'connect, resolve');
    dbms_java.grant_permission('XMLP', 'java.io.FilePermission', '/tmp/*', 'read, write, delete');
    dbms_java.grant_permission('XMLP', 'java.io.FilePermission', '/opt/app/oracle/product/10.1.0/javavm/lib/*', 'read');
    dbms_java.grant_permission('XMLP', 'java.io.FilePermission', '/opt/app/oracle/product/10.1.0/javavm/lib/fonts/*', 'read');
    dbms_java.grant_permission('XMLP', 'java.lang.RuntimePermission', 'setFactory', '');
    George

  • How to access xml file using c

    how to access xml file using c. are there any libraries regarding xml fastinfoset in c? Please let me know about any resources if u know? thanks!!!
    samitha

    There are different methods to access XML data which have pro's and cons. Let us know more about what you want to do and we can help you.

  • Problem with Xml exporter

    Hi All,
    Thanks in advance for ur warm replies.
    I am exporting personalizations which i did but iam facing problems with this.
    Please help me on this issue.
    Steps i follwed.
    Step1: exec jdr_utils.listcustomizations('/oracle/apps/ego/item/eu/webui/EGOITEMATTRIBUTEPGL');
    It displays me the customizations which i did as follows
    /oracle/apps/ego/item/eu/webui/customizations/responsibility/24091/EGOITEMATTRIBUTEPGL
    Pl/sql procedure completed successfully.
    Step2: Iam now at command prompt on java_top and i run the following command
    java oracle.jrad.tools.xml.exporter.XMLExporter
    /oracle/apps/ego/item/eu/webui/customizations/responsibility/24091/EGOITEMATTRIBUTEPGL
    -username apps -password <mypwd> \
    -dbconnection "(description=(address_list=(address=(protocol=tcp)(host=<host>)(port=<myport>)))(connect_data=(sid=<mysid>)))" \
    -rootdir "/oracle/apps/ego/item/eu/webui/EGOITEMATTRIBUTEPGL'"
    * I don't know exactly what is root directory here. which path i need to provide here.*
    Error: No such file or directory.
    Thanks and Regards
    Zaheer

    Zaheer,
    <output_dir> - (Required) Output directory where the exported xml file structure is to be stored. You may set this to any directory, however, we recommend that you export your packages or XML files to $APPL_TOP/personalizations.
    If you run the export tool for the package
    /oracle/apps/ak/dem/webui/customizations/site/0/REQORDERSTATUSPAGE and specify -rootdir
    $APPL_TOP/personalizations, the xml file is saved as
    $APPL_TOP/personalizations/oracle/apps/ak/dem/webui/customizations/site/0/REQORDERSTATUS PAGE.xml.
    In your case define rootdir as rootdir "/oracle/apps/ego/item/eu/webui ".
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Trimming XML export from FCP

    Is it possible to trim the sequence XML export? FCP exports the entire XML sequence even when using Mark In/Out. I just need portions from the sequence to facilitate text extraction from my sequence chapters... if it helps to know why. Thanks.

    Duplicate the sequence...trim out what you don't want to export. Then export the XML.
    Shane

  • XML Export/Import Query & Variables

    Hello,
    We are currently bringing up a new environment/landscape.  With that, I'm trying to copy some of the query elements off our current production server and move them back to the new development server.  After much wasted time trying to duplicate the query manually, I've decided to do it via XML Export/Import. 
    I have successfully created an XML file from our production system (sitting on my local machine).  I then go to the import area on the development system and bring up the XML file I created.  I then process the file on the development server.  The import wizard tells me that it saves the objects successfully, but I'm unable to find any of the objects on the system.  So, I have two questions. 
    1)  Is this the proper way to do this, or is there a better way (assuming not on the transport path)
    2)  With the logs saying successful, where do those objects go?  Is there a way that I can go find them?  Do they need activated?
    Thanks in advance,
    JW
    Edited by: J W on Sep 19, 2008 2:02 AM

    bump

  • XML export character encoding bug

    I've found a bug with Final Cut Pro XML export for any projects where media has a "#" in the name. Premiere Pro passes the "#" character into the file pathname instead of encoding it as "%23". The result is any clips with names such as "clip #1", "clip #2", "clip #3", etc. will be broken whe the XML is imported by another application. Compare:
    Premiere Pro XML (does not work):
    <pathurl>file://localhost/Volumes/P50%20Production%20Drive%202/CNMT%202011-12/CNMT%202011- 12%20Final%20Cut%20Pro%20Documents/Mom%20is%20Never%20Wrong/
    CNMT_MomNeverWrong_Street_12_14_11/Clip%20#2.mov</pathurl>
    Final Cut Pro XML (works properly):
    <pathurl>file://localhost/Volumes/P50%20Production%20Drive%202/CNMT%202011-12/CNMT%202011- 12%20Final%20Cut%20Pro%20Documents/Mom%20is%20Never%20Wrong/
    CNMT_MomNeverWrong_Street_12_14_11/Clip%20%232.mov</pathurl>
    Note the difference in the clip name. A global search and replace of "#" with "%23" makes the Premiere Pro XML work properly.
    This bug is easily repeatable and verifiable. I've filed a bug report but wanted to post here just to give folks a heads up.
    Thanks for your help!
    --dhl

    This tech note will help:
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F7717&zone_110=7717%2A%20
    ka

  • Using Views to access XML Content

    I was wondering if anyone can help me in these questions.
    I created a view to access XML Content in the database for reports. My first question is I have 18 properties in the xml document but when I created the view I only retrieve one property information. What dO I need to change in my XPath query to get all the properties see script below
    CREATE OR REPLACE VIEW AHA_PMCO_BUILDINGS_VIEW
    (BUILDINGID,NUMBEROFFLOORS, CONSTRUCTIONDATE,NAME, BUILDINGTYPE, DEMODISPODATE,MODSTARTDATE,MODENDDATE, ISANNEX) as
    select extractValue(value(p),'/Building/@Id'),
         extractValue(value(p),'/Building/@NumberOfFloors'),
         extractValue(value(p),'/Building/@ConstructionDate'),
         extractValue(value(p),'/Building/@Name'),
         extractValue(value(p),'/Building/@BuildingType'),
         extractValue(value(p),'/Building/@DemolitionDispositionDate'),
         extractValue(value(p),'/Building/@ModernizationStartDate'),
         extractValue(value(p),'/Building/@ModernizationEndDate'),
         extractValue(value(p),'/Building/@IsAnnex')
    from "Pmco438_TAB" X, TABLE(xmlsequence (extract(value(X), '/Pmco/Properties[1]/Property[1]/Buildings/Building')) ) p;
    How do I change my script to retrieve multiple properties instead of just one property
    Thanks
    Dibor

    Hi Paul
    I have access to all the documents (JavaScript via Mozilla, Adobe JavaScript API, XFA API etc etc) but none are specific enough to cater for this issue.  I will work this out before too long but it would be very useful if someone who had done this already could shortcut my journey!
    Thanks
    Roxy

  • Description of elements and attributes in XML export.

    Does anyone know where I can get a complete description of all the elements/attributes in the XML export from FCP. I found the DTDs (V 1-3), but it only gives me the names and overall structure. I need to know what the content means.
    in particular I want to automate if I can- using XSLT and XSL-FO - the production of standard reporting that I am required to produce (manually) in a documentary production course.

    its all on Apple's Developer site
    http://developer.apple.com/DOCUMENTATION/AppleApplications/Reference/FinalCutPro _XML/index.html

  • Report acts funny AND xml-export broken

    Hi @ all,
    1.
    My users are experiencing some weird problems: A report is displayed with the pagination showing that there are 59 rows, but the report is empty... only the column headings are shown!
    Take a look at the screen shot (2004-07-21_Report-Problem.JPG):
    http://marvel.oracle.com/pls/otn/p?n=3444139716751380138
    I've seen this only a couple of times and we thought that we had eliminated the problem by installing a newer version of the IExplorer (6.0). My users had some more difficulties with the older version (mostly 5.0).
    Creating this page I used the howto 'Build a master-detail application'. And yes, I'm positive, there are Samples associated with Delivery 11.
    Has anyone ever experienced such a thing?? How did you get around it? (especially this being such a sometimes-works-sometimes-doesn't-work phenomenon)
    2.
    Another thing: I tried the XML-export (Data Workshop) here in my installation. When I'm at the very end and click Export Data I just get an error message: ORA-04063: has errors ORA-04063: package body "FLOWS_010404.WWV_FLOW_DATALOAD_XML" has errors ORA-06508: PL/SQL: could not find program unit being called. (This happens whether the 'Export as file' -checkbox is checked or not!)
    I tried exactly the same thing on marvel.oracle.com and got a nice XML-file.     :-)
    Has anyone a clue what that program unit is that is not found?
    -David-

    David,
    1. Looks like a pagination problem. Look for threads on resetting pagination on this forum. Your mileage may vary, given the version of HTML DB you are running.
    2. I know you don't want to hear this, but it's time to upgrade to the production version of HTML DB. Like you said, it's working on htmldb.oracle.com. It's tough to say what may be wrong with your setup, other than that it's pre-release software.
    Sergio

  • XML export in latest Elements?

    As I'm considering buying the new Premiere Elements I was wondering if the latest version is capable of exporting my timeline to a XML-file, so for example one of my friends who doesn't own Premiere Elements but doés own Final Cut of Premiere PRO can work on my 'Elements timeline. '

    excaliburpjm
    As to your question "XML export in latest Elements?" - No.
    At this moment, Premiere Elements 12/12.1 is the current version. Adobe is expected to release a new version at the end of September 2014. No one but Adobe knows the feature set for the new version. And, that type of information is not released until the moment of release of the new version.
    You could always file an Adobe Feature Request Bug Report Form.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&loc=en
    From my perspective, that is a long term type solution.
    ATR

Maybe you are looking for

  • How can I move some files (but not all) in the photostream folder on my PC to another folder on the PC?

    I have photostream set up on my PC and all photos in both mine and shared photostreams are successfully being synced to my PC automatically. However, my goal is to navigate to the photostreams on my PC and be able to move them and edit the photos wit

  • How to use Oracle OAB Fast Formulas in Discoverer-desktop [ for reporting]

    Hi, Can anyone tell me how to use a fast formula in discoverer-desktop [for reporting]. Currently, we have a disco-report that calcuates the 'monthly salary', but we don't want to use that. Instead, we have a custom fast-formula [xx_oab_monthly_salar

  • Cant use screen mirroring wirelessly since yesterday

    I got home today and i cannot get my HP laptop to connect to my samsung smart tv anymore..  I have only had this laptop for about two weeks but it has worked flawlessly since puchased and connected without any issues.  I use this feature to stream mo

  • Best way to include drawing in an email?

    When writing emails, I often need/want to draw something to illustrate what I am talking about. Lately it was a rough plan of my house to show the rooms. Sometimes it could be an article of clothing. Nothing professional or precise. I find that drawi

  • Missing RX neighbours in WCS

    I've recently upgrade the wireless infrastructure to the latest versions of code. but since doing that when, i go into the monitor page for an access point in the wcs at the bottom it should show all the other access point it can see and their signal