XQuery for making two tags from a single tag

Hi All,
I am using OSB 11g. I am getting an XML like this:
<DOC>
<INFO>
<ATTRIBUTE ID="name">
<VALUE>ABCD</VALUE>
</ATTRIBUTE>
<!--Optional-->
<ATTRIBUTE ID="date">
<VALUE>
29/09/09
19/09/11
</VALUE>
</ATTRIBUTE>
<!--Optional-->
<ATTRIBUTE ID="accNo">
<VALUE>823748923987</VALUE>
</ATTRIBUTE>
<!--Optional-->
<ATTRIBUTE ID="address">
<VALUE>XYZW</VALUE>
</ATTRIBUTE>
</INFO>
</DOC>
Only when ID="date", I want to change the ATTRIBUTE tag as
<ATTRIBUTE ID="date">
<VALUE>29/09/09</VALUE>
<VALUE>19/09/11</VALUE>
</ATTRIBUTE>
Is there any XQuery to do this in OSB?
Please help!!
Thanks in advance!!
Regards,
Karthik

Try this:-
Assign [ <test>... ]
<test> <value></value> <value></value> </test>
to [ finalValueDate ]
For Each [ attribute ] in [ ./*:DOC/*:INFO/... ]
./*:DOC/*:INFO/*:ATTRIBUTE
of [ body ]
Indexed by [ undefined Variable ] with total count in [ undefined Variable ]
Do (
     If ([ $attribute/@ID ... ]
$attribute/@ID = "date"
     then (      
Assign [ fn:normalize-sp... ]
fn:normalize-space($attribute/*:VALUE/text())
to [ date ]
Replace [ node contents ] of [ ./*[1] ]
./*[1]
in [ finalValueDate ] with [ fn:substring($d... ]
fn:substring($date, 1, 8)
Replace [ node contents ] of [ ./*[2] ]
./*[2]
in [ finalValueDate ] with [ fn:substring($d... ]
fn:substring($date, 10, 8)
Replace [ entire node ] of [ .//ATTRIBUTE[@ID="date"]]
.//ATTRIBUTE[@ID="date"]
in [ body ] with [ <ATTRIBUTE>... ]
<ATTRIBUTE> <VALUE> {$finalValueDate/*[1]/text()}</VALUE> <VALUE> {$finalValueDate/*[2]/text()}</VALUE> </ATTRIBUTE>
This worked for me. I got the following response:
     <DOC>
     <INFO>
     <ATTRIBUTE      ID="name">
     <VALUE>ABCD</VALUE>
     </ATTRIBUTE>
     <!--Optional-->
     <ATTRIBUTE>
     <VALUE>29/09/09</VALUE>
     <VALUE>19/09/11</VALUE>
     </ATTRIBUTE>
     <!--Optional-->
     <ATTRIBUTE      ID="accNo">
     <VALUE>823748923987</VALUE>
     </ATTRIBUTE>
     <!--Optional-->
     <ATTRIBUTE      ID="address">
     <VALUE>XYZW</VALUE>
     </ATTRIBUTE>
     </INFO>
     </DOC>

Similar Messages

  • What is the prerequisite for creating two hierarchies from one fact table i

    Hi,
    what is the prerequisite for creating two hierarchies from one a single fact table.
    Rgds,
    Amit

    create global temporary table t1 as select * from trn_ordbase on commit preserve rows;You CANNOT use this syntax.
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/sqcmd.htm
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/glob_tab.gif
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/cre_tabl.gif

  • Updating two table from a single query

    I have two table such as
    user_log(user_id , password)
    and
    user_info(user_id , name , age , address , sex , email , contact)
    If I want to add data from a single form in php then what is the query?

    Hi,
    welcome to the forum..! plesae always post table data and expected result to help forum members help you better.
    From what I understand, all you need is a join on userid (assuming userid is unique/primary key )
    select ul.userid,
             ul.password,
            ui.name,
            ui.age
      from user_log ul,
              user_info ui
      where ul.user_id = ui.user_id
        ---- and any otehr condition for the user that you need.(where clause)In PHP......(based on this link.. http://wiki.oracle.com/page/PHP+Oracle+FAQ
    haven't tested the code.. )
    <?php
    $conn = oci_connect("scott", "tiger", "localhost/XE");
    if (!$conn) {
    $m = oci_error();
    echo $m["message"];
    exit;
    $stid = oci_parse($conn, "select ul.userid,
             ul.password,
            ui.name,
            ui.age
      from user_log ul,
              user_info ui
      where ul.user_id = ui.user_id");
    oci_execute($stid);
    // Query the table
    echo "<table border='1'>";
    while ($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS)) {
    echo "<tr>";
    foreach ($row as $item) {
    echo "<td>".($item!==null?htmlentities($item):" ")."</td>";
    echo "</tr>".PHP_EOL;
    echo "</table>";
    oci_free_statement($stid);
    oci_close($conn);
    ?>Try to provide more details.. if this is not what you are looking for.
    Hope this helps,
    Rajesh.

  • Uprgrade to Cloud on two Macs from a single set of CS disks?

    We were running CS5 legally on two Macs (from one set of disks) and now want to upgrade to Creative Cloud on both computers. Does anyone know if Adobe will let us get the upgrade price for both? We only have one serial number.

    a single user license allows one user to install on up to two computers.
    to get upgrade pricing and to install cc you do not need to have a previous version installed.  having the previous version's serial number is sufficient.

  • What is the best audio level for making a CD from video?

    I know that -12dB is the optimum level for making a DVD. When I took this same level (peaking at -12dB), exported it to AIFF and then put it into iTunes and burned a CD, the volume was definitely lower than other CDs.
    Does anyone know the standard level for CDs?
    I'm doing this to convert a video of a concert into a CD.

    The standard for CDs is basically -0.1. Generally, at least with pop & rock, the mastering stage puts the levels as loud as they possibly can be without distorting.
    Plus, with content like music that is a little more consistent (level-wise) than dialog, SFX, etc., it's easier to ride it up closer to zero.

  • UIX replacment for isUserInRole tag from the “Request Tag Library,”

    Is there a UIX replacement for the isUserInRole which is provided by the “Request Tag Library”?
    This tag checks if the user has the correct security roles.
    thanks
    Marcel

    Is there a UIX replacement for the isUserInRole which is provided by the “Request Tag Library”?
    This tag checks if the user has the correct security roles.
    thanks
    Marcel

  • Script for making random thumbnails from single image

    Hi all,
    I need something like a hundred different thumbnails from each image in a series of images, that is, hundred random sections of the same image, saved in a folder as jpg,  and i was hoping that i could find a script for this.
    What the script has to do is:
    select the size of the crop (this would also be the dimensions of the thumbnail saved)
    rotate crop selection in a random orientation and place the crop randomly on the canvas
    save the image as a jpg in a folder
    return to original image,
    repeat process x times before quitting script.
    I dont think this should be to difficult to make a script for, but unfortunately i don´t know how to code.
    Is there anybody that could help me with this?
    This would save me a lot of time!

    You can give this a try:
    // create copies with pseudo random clipped and rotated parts of image;
    // thanks to xbytor;
    // 2012, use at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var originalRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.POINTS;
    // set name for folder to save jpgs to;
    var folderName = "rotatedJpgs";
    // set number of jpgs;
    var theNumber = 100;
    // width and height;
    var theWidth = 500;
    var theHeight = 500;
    // calculate some values;
    var theDiagonal = Math.sqrt ((theWidth * theWidth) + (theHeight * theHeight));
    var diagAngle = angleFromRadians(Math.acos((theWidth) / (theDiagonal)));
    // get file name and path;
    var myDocument = app.activeDocument;
    var docName = myDocument.name;
    try {
              var basename = docName.match(/(.*)\.[^\.]+$/)[1];
              var docPath = myDocument.path;
    catch (e) {
              basename = docName;
              var docPath = "~/Desktop";
    // create folder if it does not exist yet;
    if (Folder(docPath + "/" + folderName).exists == true) {
              var docPath = docPath + "/" + folderName;
    else {
              var theFolder = Folder(docPath + "/" + folderName).create();
              var docPath = docPath + "/" + folderName;
    // document dimensions;
    var docWidth = myDocument.width;
    var docHeight = myDocument.height;
    // jpg options;
    var jpegOptions = new JPEGSaveOptions();
    jpegOptions.quality = 10;
    jpegOptions.embedColorProfile = true;
    jpegOptions.matte = MatteType.NONE;
    // duplicate image;
    var theCopy = myDocument.duplicate (theCopy, true);
    var origResolution = theCopy.resolution;
    theCopy.resizeImage(undefined, undefined, 72, ResampleMethod.NONE);
    var docHalfWidth = theCopy.width / 2;
    var docHalfHeight = theCopy.height / 2;
    var theLayer = smartify2010(theCopy.layers[0]);
    theCopy.resizeCanvas (theWidth, theHeight, AnchorPosition.MIDDLECENTER);
    var theHistoryState = theCopy.activeHistoryState;
    // do the variations;
    for (var m = 0; m < theNumber; m++) {
    var theAngle = Math.random() * 360;
    theLayer.rotate (theAngle, AnchorPosition.MIDDLECENTER);
    //theCopy.resizeCanvas (theWidth, theHeight, AnchorPosition.MIDDLECENTER);
    // get tolerance offset;
    var theHor1 = Math.abs(Math.cos(radiansOf(theAngle + diagAngle)) * theDiagonal / 2);
    var theVer1 = Math.abs(Math.sin(radiansOf(theAngle + diagAngle)) * theDiagonal/ 2);
    var theHor2 = Math.abs(Math.cos(radiansOf(theAngle - diagAngle)) * theDiagonal / 2);
    var theVer2 = Math.abs(Math.sin(radiansOf(theAngle - diagAngle)) * theDiagonal / -2);
    // calculate max offset for unrotated overall rectangle;
    var thisHalfWidth = docHalfWidth - Math.max(theHor1, theHor2);
    var thisHalfHeight = docHalfHeight - Math.max(theVer1, theVer2);
    // calculate random offset for unrotated overall rectangle;
    var randomX = thisHalfWidth * (Math.random() - 0.5) * 2;
    var randomY = thisHalfHeight * (Math.random() - 0.5) * 2;
    var aDiag = Math.sqrt (randomX * randomX + randomY * randomY);
    var anAngle = angleFromRadians(Math.asin((randomY) / (aDiag))) + theAngle;
    anAngle = anAngle + Math.floor(Math.random() * 2) * 180;
    // calculate  offset for rotated overall rectangle;
    var offsetX = Math.cos(radiansOf(anAngle)) * aDiag;
    var offsetY = Math.sin(radiansOf(anAngle)) * aDiag;
    //alert (theAngle+"\n\n"+offsetX +"\n"+ offsetY+"\n\n"+ thisHalfWidth+"\n"+thisHalfHeight);
    theLayer.translate(offsetX, offsetY);
    theCopy.resizeImage(undefined, undefined, origResolution, ResampleMethod.NONE);
    theCopy.saveAs((new File(docPath+"/"+basename+"_"+bufferNumberWithZeros(m+1, 3)+".jpg")),jpegOptions,true);
    theCopy.activeHistoryState = theHistoryState;
    // clean up;
    theCopy.close(SaveOptions.DONOTSAVECHANGES);
    app.preferences.rulerUnits = originalRulerUnits;
    ////// radians //////
    function radiansOf (theAngle) {
              return theAngle * Math.PI / 180
    ////// radians //////
    function angleFromRadians (theRad) {
              return theRad / Math.PI * 180
    ////// buffer number with zeros //////
    function bufferNumberWithZeros (number, places) {
              var theNumberString = String(number);
              for (var o = 0; o < (places - String(number).length); o++) {
                        theNumberString = String("0" + theNumberString)
              return theNumberString
    ////// function to smartify if not //////
    function smartify2010 (theLayer) {
    // make layers smart objects if they are not already;
              app.activeDocument.activeLayer = theLayer;
    // process pixel-layers and groups;
          if (theLayer.kind == "LayerKind.GRADIENTFILL" || theLayer.kind == "LayerKind.LAYER3D" || theLayer.kind == "LayerKind.NORMAL" ||
          theLayer.kind == "LayerKind.PATTERNFILL" || theLayer.kind == "LayerKind.SOLIDFILL" ||
          theLayer.kind == "LayerKind.TEXT" || theLayer.kind == "LayerKind.VIDEO" || theLayer.typename == "LayerSet") {
                        var id557 = charIDToTypeID( "slct" );
                        var desc108 = new ActionDescriptor();
                        var id558 = charIDToTypeID( "null" );
                        var ref77 = new ActionReference();
                        var id559 = charIDToTypeID( "Mn  " );
                        var id560 = charIDToTypeID( "MnIt" );
                        var id561 = stringIDToTypeID( "newPlacedLayer" );
                        ref77.putEnumerated( id559, id560, id561 );
                        desc108.putReference( id558, ref77 );
                        executeAction( id557, desc108, DialogModes.NO )
                        return app.activeDocument.activeLayer
              if (theLayer.kind == LayerKind.SMARTOBJECT || theLayer.kind == "LayerKind.VIDEO") {return theLayer};
    ////// get an angle, 3:00 being 0˚, 6:00 90˚, etc. //////
    function getAngle (pointOne, pointTwo) {
    // calculate the triangle sides;
              var width = pointTwo[0] - pointOne[0];
              var height = pointTwo[1] - pointOne[1];
              var sideC = Math.sqrt(Math.pow(width, 2) + Math.pow(height, 2));
    // calculate the angles;
              if (width+width > width) {theAngle = Math.asin(height / sideC) * 360 / 2 / Math.PI}
              else {theAngle = 180 - (Math.asin(height / sideC) * 360 / 2 / Math.PI)};
              if (theAngle < 0) {theAngle = (360 + theAngle)};
              return theAngle

  • MAKING TWO REQUESTS FROM A JSP AND HANDLING TWO RESPONSE ????????

    Hi,
    I have a requirement like below.
    When a user clicks on download_pdf link on a web page, he should get the pdf data from the server where at the same time he should be shown with a processing window. Say the time taking for hitting the server and getting the response is 10 sec, the processing window should be shown for 10 sec and immediately it has to close.
    My approach :
    From JSP having download_pdf link :: while onClick I am calling an action which is nothing but a servlet call which will take care of getting the pdf data from the server and shown pdf save,cancel window. Other part is onClick I added a javascript function call which will open a seperate window (nothing but a jsp ) showing the processing icon.
    The problem here is, I can not close the window immediately after we get the response from the servlet.
    As we can not have direct communication between two responses(servlet reponse and processing window jsp) I am not able to close the window.
    My trials to close the processing window JSP :
    I tried to write a javascript in the processing window jsp which will be closed after 10 sec using setTimeout() funtion. But here the problem is the window will be closed after 10 sec where even if servlet call response takes 20 sec.
    Please suggest me if I need to do any design change ?
    Can I use any context attributes to come out of this ?
    What would be the best design for this ?
    Thanks and Regards,
    V.Narayana.

    Thanks for the idea.. I am trying to implement that.. Can you please let me know how Can I make a repetitive ajax call ??
    If anyone interested in code, I am pasting all the sample files I prepared for..
    start.jsp
    ===========================================================================================
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <script type="text/javascript">
    function call(){
              w='550';
         h='240';
    LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;
    settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
    win=window.open("http://localhost:7001/SampleExportWeb/ExportServlet",'',settings);
    function call2(){
              w='550';
         h='240';
    LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;
    settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
    win=window.open("http://localhost:7001/SampleExportWeb/statusWindow.jsp",'',settings);
    setTimeout("win.close()",5000);
    </script>
    <input type="button" name="button" value="button" onclick="call();call2()">
    </body>
    </html>
    =========================================================================================================
    statusWindow.jsp
    =============================================================================================================
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ page import="org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils"%>
    <%@ page import = "com.bea.netuix.servlets.controls.portlet.PortletPresentationContext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <table border=1 width="100%">
    <tr><td align="center" height="210">
    <table border=1>
    <tr><td align="center">
    </td></tr>
    </table>
    </td></tr>
    Narayana
    <tr><td align="right">
    <div class="buttonBar">
    <div class="floatright">
         <a onClick="window.close();" class="button" title="" href="#">
    <span>
    </span>
    </a>
    </div>
    </div><!-- end buttonBar -->
    </td></tr>
    <%
    %>
    <iframe id="exportCall" height="0px" width="0px"></iframe>
    </table>
    =============================================================================================================
    FlowController.java
    ===============================================================================================================
    package main.java.com.export.servlet;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.lang.reflect.Method;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Export Servlet will be invoked by all dashboard widgets to perform common
    * functions (Print, Download, Export XLS/CSV)
    * @author kadalur.r.supreeth
    * @version 1.0
    public class ExportServlet extends HttpServlet {
         public void service(HttpServletRequest req, HttpServletResponse resp)
         throws ServletException, IOException {
              try {
                   System.out.println("ExportServlet :: service: entered");
                   Object exportManager = null;
                   Class exportClass = null;
                   Method invokingMethod = null;
                   * This condition will be executed if requested operation is to
                   * download PDF. Invoke the PDF converter method runtime and open
                   * the window dialogue box with generated PDF file. The requested
                   * operation value should be "pdfConverter".
                   ByteArrayOutputStream baosPDF = new ByteArrayOutputStream();
                        OutputStream ostreamPDF = resp.getOutputStream();
                        resp.setContentType("application/pdf");
                        resp.setHeader("Content-disposition", "attachment; filename="
                                  + "downloadfile"
                                  + ".pdf");
                        baosPDF.writeTo(ostreamPDF);
                        ostreamPDF.flush();
                        ostreamPDF.close();
              } catch (Exception e) {
                   System.out.println(
                                  "ExportServlet :: service method exception:"
                                  + e.getMessage());
    =========================================================================================================

  • How to make two tables from one single taable

    Hi,
    i have one table with 100 records and i want to create two tables each with 50 records and with no duplicates. if i will do on bases on empno then i have to check the min and max emp no and then divide them in two tables, is there any automate way of performing this task.
    Regards,
    Abida

    Hi,
    A rather quick and dirty solution, but definitely works.
    I used the HR sample schema (employees table) for this.
    hsaprd@706447>create table tab1 as select * from employees where rownum <51;
    Table created.
    hsaprd@706447>select count(*) from tab1;
    COUNT(*)
    50
    hsaprd@706447>create table tab2 as select * from employees where employee_id nnot in (select employee_id from tab1);
    Table created.
    hsaprd@706447>select count(*) from tab2;
    COUNT(*)
    56
    hsaprd@706447>
    Hope this helps!
    -Anand

  • Creating two rows from a single row information

    Hi,
    I have data that will always be returned as a single row from a join of tables t1, t2.
    However I want the single row to be split into two rows. i.e First row containing some fields and second row containing th remaining fields.
    I think there might be a thread already existing. Can you please point me in the right direction if it is.
    select t1.c1, t1.c2, t2.c1, t2.c2
    from t1, t2
    where t1.c3 = t2.c3
    I expect the output 2 rows like the following
    t1.c1 t2.c1
    t1.c2 t2.c2
    Thanks

    SQL>WITH t1 AS (SELECT     't1c1_' || ROWNUM AS c1, 't1c2_' || ROWNUM AS c2, ROWNUM AS c3
      2                    FROM DUAL
      3              CONNECT BY LEVEL <= 3),
      4       t2 AS (SELECT     't2c1_' || ROWNUM AS c1, 't2c2_' || ROWNUM AS c2, ROWNUM AS c3
      5                    FROM DUAL
      6              CONNECT BY LEVEL <= 3),
      7       t3 AS (SELECT t1.c1 AS c11, t1.c2 AS c12, t2.c1 AS c21, t2.c2 AS c22, ROWNUM AS r
      8                FROM t1, t2
      9               WHERE t1.c3 = t2.c3)
    10  SELECT   a, b
    11      FROM (SELECT c11 AS a, c21 AS b, r, 1 AS s
    12              FROM t3
    13            UNION ALL
    14            SELECT c12, c22, r, 2 AS s
    15              FROM t3)
    16  ORDER BY r, s;
    A                                             B
    t1c1_1                                        t2c1_1
    t1c2_1                                        t2c2_1
    t1c1_2                                        t2c1_2
    t1c2_2                                        t2c2_2
    t1c1_3                                        t2c1_3
    t1c2_3                                        t2c2_3Urs

  • Can I edit the start time for all the podcasts from a single subscription downloaded to my itunes? i.e. want to creat a playlist of all the podcasts I have from a particular show...

    I want to creat a playlist of all the podcasts I have from a particular show, want to edit out the first minute on all to skip the intro. Do not want to edit over 200 podcast manually. Is there a solution?

    View menu -> Show Status Bar
    Then the total play time for any group of tracks you select in the Songs area, for any selected album or for any selected playlist will show at the bottom of the iTunes window as in previous versions.
    The ability to open playlists in separate windows was for some unfathomable reason removed in iTunes 11. Whether it will ever come back none of us here can say, but you can express your need for that feature via Apple's feedback page:
    http://www.apple.com/feedback/itunesapp.html
    Regards.

  • Urgent need of your help for multiple JTables Print from a single JPanel

    I need your help to print multiple table content from JPanel
    JTables are generated dynamically in a JPanel or JPanels. I need to take print as it is in JPanel

    Alternatively you could write a simple class to print JTables with a series of calls to paintString( myString), and various calls to fillRect(...) tfor asthetics. It is quite simple. I currently use such a class that I wrote in under 200 lines of code that has a very professional look, and the print jobs are less than half the size of printing the JTable directly.
    The idea being that it takes a JTable as a parameter ( and maybe other params to control color, style, font, etc... ). It would have one primary method, print() which actually handles the printing, It may also uses other methods to control the look of the application.
    A problem I have faced with printing a JTable directly is ensuring that the botom row on each page and the top row on every page after the first one lines up correctly. After a while it was simply easier, and more customizable, to write my own print class.
    AC

  • Apps for making payments directly from the Z30

    Hello, are there any apps similar to Apple Pay or PayPal that work on BB Z30? I tried loading Paypal via snap, but of course it needs Google play services(which won't run on BB10) to run.

    There are none other than individual ones from some banks or coffee shops etc.

  • Changing Date Time Original Tag from Date Created Tag

    Hi,
    I need to change programmatically the "Date Time Orignal" tag by copying the "Date Created" Tag so that Media Encoder preserves the date during encoding. I can do this by hand without a problem in Bridget 5.5 but would like to automate it. Can I do this with a script?
    Thanks
    Axel

    I have been als been plagued by LR displaying the capture time to be, say 3 AM (03:00), when I know I took the picture at 1 PM (13:00). I decided to try and see why this happens. With the help of Phil Harvey's exiftool, I can see that my Canon cameras embed the time into the EXIF data without any time zone information i.e.: Date/Time Taken = 2008:04:02 16:09:23.
    Here is what I found:
    If the image is now edited with Bridge, the information is changed to: Date/Time Taken = 2008:04:02 16:09:23-08:00 (time zone of the editing computer for the date the image was made. In this case the date was before daylight savings time started.)
    When edited with GeoSetter (good for adding GPS information) the information is changed to: Date/Time Taken = 2008:04:02 16:09:23+02:00 (time zone for Cairo where the picture was taken.)
    Lastly edited with LR, the information is changed to: Date/Time Taken = 2008:04:02 16:09:23-08:00
    When the above images are viewed in LR, using PDT, they display the time as 17:09:23 except for the image tagged with the Cairo time, which displays 07:09:23. If the computer's time zone is changed the displayed time changes accordingly.
    If the images are displayed with Photoshop CS3 all the times are correctly displayed as 16:09:23 as one would expect.
    It appears that the factoring in of the time zone into the displayed time was a conscious decision by the Adobe designers. A decision that several of us are not happy with.

  • Generating script tag from Custom JSF Tag

    Hi,
    I am new to JSF Custom Tags. I developed a Custom tag. It's quite a fun to make your own custom tags . Now I have to use some javascript for my custom components. The inline javascript calls are no issue for me. But I want my javascript be embedded in a <script> tag automatically. So that I don't have to explicitly add my javascript into <script> tag, instead, it is automatically included in the page where my tags are being used. How can this be achieved?
    Regards,
    Kashif

    Anchors don't have a type="submit". You should be basing this on an h:commandLink. In fact you could probably rewrite it all as an XML tag that just generates an h:commandLink.

Maybe you are looking for

  • HDMI Signal Issue

    I don't understand why these issues keep recurring? After the the 12/1 handshake resolution i figured that the Samsung / Motorola HDMI issues were resolved but now I cannot get a signal with the HDMI connection and have to use component connection. A

  • Mac won't update Address Book from iPod

    Should changes made to "Contacts" on my Touch transfer over to "Address Book" on my Mac when I sync? I noticed today that changes I've made on the Mac ARE moving to the Touch, but not vice versa.

  • resource-env-description can't be set in weblogic.xml

    hi guys , i've been troubled with this configuration problem. i am trying a very simple example to send messages from a servlet to a weblogic queue, but i cant configure the weblogic.xml properly. i've been reading a lot of information but i cant fin

  • LSMW_Uploading Material & Chapter ID Combn

    Dear All, We are uploading material & chapter ID combn template thro' lsmw, but while uploading the system is not taking 2 fields 1. material type which we have mentioned as Raw materials 2. GR-xref, which we have mentioned as Multiple Goods receipts

  • Sorting in Report

    How to do sorting in classical report?