You are not logged in.



#1 2010-05-24 14:38:07

mark_anderson_us
Member
From: Chicago
Registered: 2008-11-30
Posts: 177
Website

Converting Papywizard XML from AEB to single shot

Hi All

I shot a 3-bracket pano yesterday and APG2.7 dies during the detection process. Also, I sometimes exposure blend in Photomatix before going to APG. The problem with this is that the papywizard XML has AEB set to 3 and (in my case) 378 images. I need this changing to 1 and renumbering or remaining images to be 1-126.

So I wrote an XSL styelsheet to do this. If anyone's interested, you can find here:

http://www.anderson-mark.com/utility/Pa … ersion.zip.

The package contain the following:


  • •  XSL stylesheet

  • •  Sample input (378 images) and output (126 images)

  • •  Shortcut to a tool for transforming XML files with XSL if you don't already have something

  • •  Screenshot



  • To use it, just change the variable called no_of_brackets at the top to however many brackets you shot, save it and then transform the original papywizard XML.

    The output will be indentical to the original except for the following:


  • •  bracketing nbPicts will be 1

  • •  all brackets greater than 1 will be removed

  • •  pict id's will be resequenced



  • Hope some of you find it useful (way quicker than manually editing a file with 378 images in it smile


    Uploaded Images

    Last edited by mark_anderson_us (2010-05-24 14:38:25)


    Canon EOS 30D with BG-E2 grip
    50mm f1.4, 16-35mm f2.8L, 28-70mm f2.8L, 70-200mm f2.8L, 100mm f2.8 Macro
    Gitzo 2531, RRS BH40, 2xRRS PCL-1: Panning Clamp, RRS CRD-Rail, RRS MPR-CL II, RRS MPR-192, RRS L Bracket

    Offline

     

    #2 2010-06-04 04:32:24

    tarheel360vr
    New member
    Registered: 2010-04-12
    Posts: 6

    Re: Converting Papywizard XML from AEB to single shot

    Thanks for that script!

    I had exactly the same dilemma:  how to use my Papywizard XML file after converting 226 x 3 bracketed frames (total of 678 images) into 226 semi-HDR images.

    I'm not savvy with Terminal and command line instructions in Mac OS 10, so I looked for a GUI solution. I found:

    http://www.entropy.ch/software/macosx/#testxslt

    which did the conversion nicely. However, TextXLST was written in 2005 and has not been updated. I could not get TextXLST to quit and was forced to reboot my machine.

    If anyone knows of a newer app that performs the conversions, I'd like to know.

    Tom Lassiter

    Offline

     

    #3 2010-06-04 15:33:28

    mark_anderson_us
    Member
    From: Chicago
    Registered: 2008-11-30
    Posts: 177
    Website

    Re: Converting Papywizard XML from AEB to single shot

    Hi Tom

    This claims to be free for non-commercial apps:

    http://www.editix.com/

    You can alos download a trial of oxygen XML editor to get you going (good for 30 days). I use it a lot for work (on PC), so could help you if you get stuck.

    Try reading up on saxon (from mulberrytech I think). AFAIK they have a java version of their XSL transformation engine, so should run on OSX

    Regards

    mark


    Canon EOS 30D with BG-E2 grip
    50mm f1.4, 16-35mm f2.8L, 28-70mm f2.8L, 70-200mm f2.8L, 100mm f2.8 Macro
    Gitzo 2531, RRS BH40, 2xRRS PCL-1: Panning Clamp, RRS CRD-Rail, RRS MPR-CL II, RRS MPR-192, RRS L Bracket

    Offline

     

    #4 2010-06-05 00:32:24

    gkaefer
    Member
    From: Salzburg
    Registered: 2009-06-09
    Posts: 1694
    Website

    Re: Converting Papywizard XML from AEB to single shot

    I've more or less massive problems with your zip...
    can download & extract it.
    but the XSLT Test Tool to download with is referred in the install section cant be successfully finalized because of 64bit incompatibilities...

    any other idea?
    which other free program could I use (Win7-64bit) so I can use your script to convert my pw log...?
    many thanks in advance
    Georg

    Last edited by gkaefer (2010-06-05 00:35:02)

    Offline

     

    #5 2010-06-05 00:36:50

    mark_anderson_us
    Member
    From: Chicago
    Registered: 2008-11-30
    Posts: 177
    Website

    Re: Converting Papywizard XML from AEB to single shot

    Hi Georg

    Not sure what the problem is with the zip download. Maybe I need to find a new ISP

    This will do XSL transforms:

    http://www.netcrucible.com/xslt/xslt-tool.htm

    You've probably got MSXML installed so sholuld just need the zip referred to in the "installing" section

    let me know if you have problems

    Regards

    Mark


    Canon EOS 30D with BG-E2 grip
    50mm f1.4, 16-35mm f2.8L, 28-70mm f2.8L, 70-200mm f2.8L, 100mm f2.8 Macro
    Gitzo 2531, RRS BH40, 2xRRS PCL-1: Panning Clamp, RRS CRD-Rail, RRS MPR-CL II, RRS MPR-192, RRS L Bracket

    Offline

     

    #6 2010-06-05 00:40:59

    gkaefer
    Member
    From: Salzburg
    Registered: 2009-06-09
    Posts: 1694
    Website

    Re: Converting Papywizard XML from AEB to single shot

    mark_anderson_us wrote:

    Hi Georg

    Not sure what the problem is with the zip download. Maybe I need to find a new ISP

    This will do XSL transforms:

    http://www.netcrucible.com/xslt/xslt-tool.htm

    You've probably got MSXML installed so sholuld just need the zip referred to in the "installing" section

    let me know if you have problems

    Regards

    Mark

    ... not with your zip... I can download it. but in the html description -> install section a the XSLT TEST programm is linked. I also can download this. but its not 64bit compatible...
    your tip "XSLT Test Tool" is not 64bit capable...

    Georg

    Last edited by gkaefer (2010-06-05 00:43:00)

    Offline

     

    #7 2010-06-05 01:00:48

    gkaefer
    Member
    From: Salzburg
    Registered: 2009-06-09
    Posts: 1694
    Website

    Re: Converting Papywizard XML from AEB to single shot

    ok found an command line tool from microsoft which is running under win7 64bit

    http://www.zdnet.de/spezielle_entwickle … 1436-2.htm

    on CMD promt:
    msxsl.exe original-papywizard-log.xml AEBtoNonAEB.xsl -o output-filename.xml
    (all files located in same directory...)

    works for me...
    Georg

    Offline

     

    #8 2010-06-05 04:18:31

    mark_anderson_us
    Member
    From: Chicago
    Registered: 2008-11-30
    Posts: 177
    Website

    Re: Converting Papywizard XML from AEB to single shot

    good to hear

    a bit quicker than hand editing the XML :-)


    Canon EOS 30D with BG-E2 grip
    50mm f1.4, 16-35mm f2.8L, 28-70mm f2.8L, 70-200mm f2.8L, 100mm f2.8 Macro
    Gitzo 2531, RRS BH40, 2xRRS PCL-1: Panning Clamp, RRS CRD-Rail, RRS MPR-CL II, RRS MPR-192, RRS L Bracket

    Offline

     

    #9 2010-06-07 09:49:38

    gkaefer
    Member
    From: Salzburg
    Registered: 2009-06-09
    Posts: 1694
    Website

    Re: Converting Papywizard XML from AEB to single shot

    mark_anderson_us wrote:

    good to hear

    a bit quicker than hand editing the XML :-)

    ;--))) yes indead - works perfect...

    Georg

    Offline

     

    Board footer

    Powered by PunBB
    © Copyright 2002–2005 Rickard Andersson