Title gutter *

I used to use an * to give an even gutter between text in 4.5, has tha changed in 5? It doesn't seem to work anymore.

My Bad! This only works using the scroll text generator.

Similar Messages

  • Creating a Stepper with ScriptUI?

    Has anyone created a stepper using ScriptUI? I'm working on a palette that provides an alternative to using the Margins and Columns window that also helps build strong typographic grids (kind of a combination Margins, Columns and Create Guides window). I don't want the palette to be too different than the existing Margins and Columns window, but ScriptUI doesn't seem to provide a simple way to create a stepper widget like is currently used in the Margins and Columns windows:
    Am I just missing it in the scripting guide books, or does this type of widget require scripting it from scratch?
    Thanks for any help you can provide.

    I'm working on a similar script and I've created an eXtendedWidget class to encapsulate the component you need
    In the rough sample code below, checkout the usage of ScrollEditText.
    ScrollEditText can even emulates the behavior of a measurementEditBox, with specified units and min/max :
    myStepper: XW.ScrollEditText({title:"Top:",minvalue:0,maxvalue:'8640pt',decimals:3,units:'mm'}),
    To see how it works, try this:
    var toUIString = function()
         { // <this> : ui object
         var r = this.toSource().
              replace(/\\u([0-9a- f]{4})/gi, function(_,$1){return String.fromCharCode(Number('0x'+$1));} ).
              replace(/(?:\{_([^:]+):)/g,'$1').
              replace(/\}\}/g,'}').
              replace(/(^\()|(\)$ )/g,'');
         return r;
    Window.prototype.focus = (function()
    { //Window.prototype.focus
    var getControls = function()
         var r = [];
         for ( var i=0, c ; i<this.children.length ; i++ )
              c = this.children[i];
              if (c.constructor == StaticText) continue;      // exclude StaticText focus
              if (c.constructor == Scrollbar) continue;     // exclude Scrollbar focus
              if ('active' in c) {r.push(c);continue;}
              r = r.concat(arguments.callee.call(c));
         return r;
    return function(/*int*/step)
         this.controls = this.controls || getControls.call(this);
         var sz = this.controls.length;
         for (var i=0 ; i<sz ; i++)
              if (this.controls[i].active == true) break;
         if (!step) return this.controls[i];
         i = (i+step+sz)%sz;
         step = (step<0)?-1:1;
         while(!this.controls[i].enabled) i+=step;
         this.controls[i].active = true;
         return this.controls[i];
    var XW = (function()
    // Extended Widgets
    var widgets = {}, xWidgets = {};
    var xWidget = function(/*str*/xType)
         { // constructor
         this.xType = xType;
         this.widget = widgets[this.xType];
    xWidget.prototype.ui = function(settings_)
         var ui = this.widget.ui(settings_);
         var ac = this.widget.access;
         ui[ac].settings = settings_;
         ui[ac].xType = this.xType;
         return ui;
    xWidget.prototype.connect = function(parent)
         var c = parent.children;
         for (var i = c.length-1 ; i>=0 ; i-- )
              if ( c[i].xType && (c[i].xType == this.xType) )
                 this.widget.connect.call(c[i]);
                 continue;
              if (c[i].children.length) this.connect(c[i]);
    // DropListBox
    widgets.DropListBox =
         access: '_Group',
         ui: function(settings_)
              {return {_Group:{
                 margins:0, spacing:0, orientation: 'row', alignChildren: ['left','center'],
                 lTit: (settings_.title)?{_StaticText:{characters:12,text:settings_.title,justify:'right'}}:null,
                 lSpa: (settings_.title)?{_StaticText:{characters:1}}:null,
                 ddList: {_DropDownList: {maximumSize:[100,25]}}
         connect: function()
              { // <this> UI Group
              (function(items_)
                 { // ddList : load items
                 for(var i=0, tp ; i<items_.length ; i++)
                      tp = (items_[i] == '-') ? 'separator' : 'item';
                      this.add(tp,items_[i]);
                 }).call(this.ddList,this.settings.items);
    // ScrollEditText  (this is your 'stepper')
    widgets.ScrollEditText =
         access: '_Group',
         ui: function(settings_)
              {return {_Group:{
                 margins:0, spacing:0, orientation: 'row', alignChildren: ['left','center'],
                 lTit: (settings_.title)?{_StaticText:{characters:12,text:settings_.title,justify:'right'}}:null,
                 lSpa: (settings_.title)?{_StaticText:{characters:1}}:null,
                 sBar: {_Scrollbar:{size:[16,24]}},
                 eTxt: {_EditText:{characters:settings_.characters||8}}
         connect: function()
              { // <this> Group
              (function()
                 this.units = this.units||'';
                 this.decimals = (typeof this.decimals=='undefined')?-1:this.decimals;
                 this.characters = this.characters||6;
                 this.step = this.step||1;
                 this.jump = this.jump||this.step*5;
                 }).call(this.settings);
              this.parseUnit = (this.settings.units)?
                 function(/*str*/s)
                      var m = s.match(/^-?(\d+)([cp])([\d\.]+)/i); // #p# ou #c#
                      if (m && m.length) s = ((m[0][0]=='-')?'-':'') + ((m[1]-0)+(m[3]/12)) + ((m[2]=='c')?'ci':'pc');
                      m = s.match(/agt|cm|ci|in|mm|pc|pt/i);
                      return (m && m.length) ?
                           UnitValue (s).as(this.settings.units) :
                           Number(s. replace(/[^0-9\.-]/g,''));
                 function(/*str*/s) {return Number(s.replace(/[^0-9\.-]/g,''));};
              this.parseStrValue = function(/*str*/s)
                 var v = this.parseUnit(s.replace(',','.'));
                 return (isNaN(v)) ? null : v;
              this.fixDecimals = (this.settings.decimals >=0 )?
                 function(/*num*/v){return v.toFixed(this.settings.decimals)-0;}:
                 function(/*num*/v){return v;};
              this.displayValue = (this.settings.units)?
                 function(/*num*/v)
                      var u = this.settings.units;
                      if ( u=='pc' || u=='ci' )
                           { // #,#pc -> $p$  ou  #,#ci -> $c$
                           var sg = (v<0)?-1:1;
                           v = v*sg;
                           var sx = Math.floor(v);
                           var sy = (v-sx)*12;
                           return sx*sg + u[0] + sy.toLocaleString().substr(0,this.settings.characters);
                      else
                           var s = v.toLocaleString().substr(0,this.settings.characters);
                           return s + ' ' + u;
                 function(/*num*/v)
                      return v.toLocaleString().substr(0,this.settings.characters);
              this.settings.minvalue = (this.settings.minvalue)?this.parseStrValue(''+this.settings.minvalue):0;
              this.settings.maxvalue = (this.settings.maxvalue)?this.parseStrValue(''+this.settings.maxvalue):100;
              if (typeof this.settings.value == 'undefined') this.settings.value = this.fixDecimals(this.settings.minvalue);
              this.offsetValue = function(/*num*/delta)
                 this.changeValue(this.eTxt.text,'NO_DISPLAY');
                 this.changeValue(Math.round(this.settings.value + delta));
              this.changeValue = function(/*var*/vs,/*var*/noDisplay,/*var*/noEvent)
                 var v = (typeof vs == 'string') ? this.parseStrValue(vs) : vs;
                 v = ( typeof v == 'number' ) ? this.fixDecimals(v) : this.settings.value;
                 if ( v < this.settings.minvalue ) v = this.settings.minvalue;
                 if ( v > this.settings.maxvalue ) v = this.settings.maxvalue;
                 var noChange = (this.settings.value == v);
                 if (!noChange) this.settings.value = v;
                 if (!noDisplay) this.eTxt.text = this.displayValue(this.settings.value);
                 if ((!noChange) && (!noEvent)) this.eTxt.notify();
              (function()
                 { // scrollbar
                 this.minvalue = -1;
                 this.maxvalue = 1;
                 this.value = 0;
                 this.onChanging = function()
                      this.parent.offsetValue(-this.value*this.parent.settings.step);
                      this.value = 0;
                 }).call(this.sBar);
              (function()
                 { // edittext
                 this.addEventListener('blur', function(ev)
                      { // lost focus
                      this.parent.changeValue(this.text);
                 this.addEventListener('keydown', function(ev)
                      { // up/down keys
                      var delta = 1;
                      switch(ev.keyName)
                           case 'Down' : delta = -1;
                           case 'Up' :
                            delta *= this.parent.settings.step;
                            if (ev.shiftKey) delta *= this.parent.settings.jump;
                            this.parent.offsetValue(delta);
                            break;
                           default:;
                 }).call(this.eTxt);
              this.changeValue();
    // XW interface
    var r = {};
    for(var w in widgets)
         r[w] = (function()
              var w_ = w;
              return function(/*obj*/ settings)
                 xWidgets[w_] = xWidgets[w_] || new xWidget(w_);
                 return xWidgets[w_].ui(settings);
    r.connectAll = function(/*Window*/parent)
         for each(var xw in xWidgets) xw.connect(parent);
    return r;
    //==================================================
    // sample code
    //==================================================
    // if you need a palette Window, replace _dialog by _palette
    // (and use #targetengine)
    var ui = toUIString.call({_dialog:{
         text: "Column Rules",
         properties: {closeOnKey: 'OSCmnd+W'},
         orientation: 'row', alignChildren: ['fill','top'],
         gTextFrame: {_Group:{
              margins:0, spacing:10, orientation: 'column',
              pInsetSpacing: {_Panel:{
                 margins:10, spacing:2, alignChildren: ['fill','fill'],
                 text: "Inset Spacing",
                 seTop: XW.ScrollEditText({title:"Top:",minvalue:0,maxvalue:'8640pt',decimals:3,units:'mm'}),
                 seBot: XW.ScrollEditText({title:"Bottom:",minvalue:0,maxvalue:'8640pt',decimals:3,units:'mm'}),
                 cLinked: {_Checkbox:{text: "Linked"}},
                 seLeft: XW.ScrollEditText({title:"Left:",minvalue:0,maxvalue:'8640pt',decimals:3,units:'mm'}),
                 seRight: XW.ScrollEditText({title:"Right:",minvalue:0,maxvalue:'8640pt',decimals:3,units:'mm'}),
              pColumns: {_Panel:{
                 margins:10, spacing:2, alignChildren: ['fill','fill'],
                 text: "Columns",
                 seNumber: XW.ScrollEditText({title:"Number:",minvalue:1,maxvalue:40}),
                 seGutter: XW.ScrollEditText({title:"Gutter:",minvalue:0,maxvalue:'8640pt',decimals:3,units:'mm'}),
              cIgnoreTextWrap: {_Checkbox:{text: "Ignore Text Wrap", alignment:'left'}},
         gProcess: {_Group:{
              margins:10, spacing:8, alignChildren: ['center','fill'],
              orientation: 'column',
              gValid: {_Group:{
                 margins:10, spacing:10, orientation: 'row',
                 bOK: {_Button: {text:"OK"}},
                 bCancel: {_Button: {text:"Cancel"}},
    // create the main window
    var w = new Window(ui);
    // connect XWidgets
    XW.connectAll(w);
    // manage the tab key
    (function(){
         this.addEventListener('keydown', function(ev)
              { // Tab
              if (ev.keyName == 'Tab')
                 ev.preventDefault();
                 this.focus( ((ev.shiftKey)?-1:1 ) );
         }).call(w);
    // controls event manager
    // here you add the event listeners for w.gTextFrame.pInsetSpacing, etc.
    w.show();
    You will notice I use a special format rather than UI string resource. This allows to create compact object declaration, using finally the toUIString helper function. The XW object invokes also that stuff.
    The ScrollEditText component encapsulates the stepper+editText association. You don't have to manage the interaction. Each time the value changes, the component notify a change event on the editText target.
    Hope it could hep you.
    @+
    Marc

  • Creating Gutter with Boris Title Crawl

    Hello all!
    I'm doing the end credits for a DV project and as we all know Boris is better than Final Cut's text generators. Just wondering if there's a feature in Boris a la the * in FCP's Scrolling Text generator. You know, to line up those gaps. I've fidgeted and can't find it.
    Michael

    *This is very annoying - because the problem comes about at the the tail end of projects when I'm trying to export files to create DVDs, make deadlines, etc.*
    Not an answer to your question... I've never used Boris title crawl. But a suggestion that might save you time when trouble shooting... You can just export the title sequence at the end of your show as a test to verify if it's working properly rather than exporting the whole thing only to find you still have an issue.
    rh

  • Newbie here, how do I change the color of my title gradually from white to sudden bloody red

    hi all, nice to be part of this forum. Ive read your questions and answers for the last week, and loved how helpful you guys and gals are.
    Im trying to make a scary video with a scary intro title that goes from peaceful relaxing white to SCARY RED!!!! (the text says something in white, and then in red "you've been warned!") I've used premier for the last two weeks but still got so much, so, very much to learn. how can this be accomplished? it must be pretty easy and obvious for you but it isnt for me. if possible besides the change in text color from white to red Id also like to make it bloody, with you know, the letters with those bloody traces/drops.
    Example: http://4.bp.blogspot.com/_DMT9SbnvRzo/TLapZwa4aYI/AAAAAAAAFHw/DeW_XYJ219Q/s400/bloody+titl e.png
    cheers

    Your best bet to recreate something like that is to find a scary font on http://www.1001freefonts.com/ or sites like it.
    Check under Horror fonts and look at "Blood Gutter 2000" or maybe "Liquidism".
    Then just type the text into the Premiere Pro titler windows and make sure that the fill color is red with no strokes. You might want to darken it more than 255,0,0 since that might be good for spurting blood, but dripping blood is usually darker. And I can't believe I even typed that just now.
    If you are talented, you can start with that font in Photoshop and then modify it by adding layers with specular highlights.
    Edit: Oh, to change color just put the white one on top of the red one and dissolve between the two. Perhaps with a blur in and out to deal with the different shapes of the fonts.

  • Final Cut title and smart apostrophe

    Having problem in Final Cut Express HD with creating a scrolling title that contains a "smart" apostrophe.
    When I enter:
    Governor’s Wife*Jane Smith
    (using a "smart" apostrophe created by hitting shift-option-], it doesn't show up that way here in forums)
    it comes out
    Governor’s Wife*J ne Smith
    in the title (with the gutter between "J" and "n" where an "a" should be).
    When I enter:
    Governor's Wife*Jane Smith
    (that's a "straight" apostrophe created just by hitting ' key)
    it comes out correctly:
    Governor's Wife Jane Smith
    in the title (with the gutter between "e" and "J").
    I could not find anything in forums or via Google about this problem. I hate to put straight apostrophes when a curly one is really called for. Does anyone know if this is a documented bug or if there is work-around?
    Thanks
    20" iMac G5 Mac OS X (10.4.3)
    20" iMac G5 Mac OS X (10.4.3)
    20" iMac G5 Mac OS X (10.4.3)
    20" iMac G5 Mac OS X (10.4.3)

    Yes, Title Crawl does work, thank you. But I'm still going to vent a little bit. First, it was not self evident how to create a center gutter. Boris website was no help, but after a bit of searching on the Internet, I found out how to do it. It is not just copy and paste, like Scrolling Text is. I have to screw around with measuring tabs, setting them and so on.
    I still consider this a bug in Final Cut Express, unless someone can tell me I am doing something wrong. I cannot find anyplace to report bugs for Final Cut Express. Can anyone point me somewhere?
    20" iMac G5 Mac OS X (10.4.3)

  • 5.5 Rolling Credits with gutter?

    We run 5.5 on Mac. I see in the title tool you can make them roll or crawl, but is there a trick to formatting the text in the typical Hollywood style with a gutter down the middlle? In FCP you just put a * and the justifications and space happen automatically.
    Cheers,

    I like Illustrator and After Effects!
    See this old post and the tutorial at post 10. It uses Ann's method here (and Jim's from those old days!).
    http://forums.adobe.com/message/1721137#1721137

  • Line in the gutter

         I have worked with Indesign for several years, and have several times needed to have the program put a line in the gutter between two columns of text which stops when the text assigned to that style stops.
         This seems to be an easy thing putting the line on the master pages and then creating title styles with a large white rule behind it to cover over the line when the titles span columns, but I have continually run into the issue where the columns of text do not come to the bottom of the page and so I have to release the gutter line from the master page and manually adjust it.  When something needs to be inserted into or deleted from a file, and the text moves down or up, the problem compounds because now the lines that were adjusted for the text that was on the page will have to be readjusted for the new text, etc.
         I used to use a Corel desktop publishing software called Ventura. 
    This program had a check box on the style menu where you could tell that certain style to have a line in the gutter whenever the text was assigned to that style.
         I am anxious to hear back.  Thank-you.

    Ah. Did not read the first post very well…
    InGutter might not be the product you are looking for.
    Peter Kahrel's script is the one for you:
    Vertical rules | Peter Kahrel
    Uwe

  • Title/Heading/Row-Align Multi-Column Tables

    File under: Frame Annoyances, with a limited hacky work-around
    In the two-column format we commonly work in, we often need a table that is column-wide, but may flow into multiple colums.
    The problem is that the continuation heading (and TableTitle, if used), never align with the starting heading/title. This is because the continuations start at top of column, whereas the table itself starts (by "Anywhere" default) below the anchor line (presumed to be "In Column" for this discussion)..
    OK, what if we change Table > Table Designer [Basic] Start to:
    Top of Column: Oops, that becomes top of next column, leaving the anchor text column-widowed (but it gave me an idea).
    Top of Page: Oops, that becomes top of next page, leaving the anchor text page-widowed.
    Float: No effect
    OK, what if we change the anchor text Format > Paragraph > Para Designer [Pagination] Format to:
    [Pagination] Across All Columns (AAC): Oops, table appears only in left column on all pages, or;
    [Basic] Space & Line Spacing, including negative values, appears to have no effect. Using a tiny font only minimizes the problem, and doesn't cure it.
    I thought I had figured out how to solve this at one time, but could not recall it. I'm posting this in part to solicit some simpler solution. Web searching found only one solid candidate solution, and it was, of course, 404. Perhaps Frame versions later than the FM7/Win and FM7.1/Unix that I routinely use have enhancements to address this.
    We normally just sidestep the problem by using an AAC format and a table that spans the page, with a fake center gutter, simulating a multi-column flow. But in a recent case, I wanted a real single-column-wide table of variable length (due to conditional rows and expected future growth), but I wanted the headings to align across columns. The table did fit on a single page, which is a limitation of the following hack.
    Hack: This example presumes a normal 2-column page text frame that is 7.5in wide with a 0.24in gutter (3.63in columns), and table that needs no more than one page. It works for 3- and 4-column layouts as well.
    Use an AAC anchored frame text line.
    Create a full page width (7.5in) anchored frame (which can be Below, Top of Col, as desired).
    Create a text frame inside the anchored frame. This frame is:
    one more than your standard page (3-column for this example)
    Same gutter size (0.24in for this example).
    Initially draw the text frame to fit inside the the anchored frame, so you can easily grab it.
    Make sure the default (anchored table) paragraph format of the first column is "In Column".
    Use Graphics > Object Properties to adjust the inside text frame:
    Set Width: to your standard text frame total width plus 1 column and 1 gutter (11.37in for this example).
    Set Offsets: to 0 and 0 (this will push the rightmost column out of sight for the moment).
    Insert your table at the anchored table text of the inside text frame.
    In Table Designer, set Start: to Top of Column (this pushes the start of table to column 2).
    Select the internal text frame again.
    Set Offset From: Left: to negative one column + one gutter (-3.87in for this example).
    The table now appears to start in page column one, and flows to additional columns with heading alignment.
    This worked perfectly for my recent requirement. In fact, I used a 3-column layout (4 actual) for the text frame inside the anchored frame. Some math is required, sorry .

    I'm not sure if I followed that correctly, but if I read it right, you
    have a single-column table that spans multiple columns, and the issue is
    that the first column does not butt up against the top of the text
    frame, while the additional columns do. You want the table in all
    columns to butt up against the top of the text frame so that they are even.
    If that is the case, the solution is this:
    1. Create a paragraph format called "TableAnchor" in the Paragraph
    Designer. Assign it with a negative Space Below of -12.0 pt, "Fixed"
    line spacing, "Start Anywhere.," "In Column." Assign the font size as
    12.0 pt.
    2. Create your table format. Give it a Space Above of 12.0 pt.
    3. Then, always insert your table into its own, empty TableAnchor
    paragraph. You will get the alignment you seek.
    NOTES: Anywhere I said "12.0 pt," you can use a different font size-- as
    long as you use the same number in each place. You may also want to
    create a TableAnchorAAC paragraph format, which is identical except for
    the Across All Columns setting, to hold tables that span multiple columns.
    I hope I understood the question correctly and was of help.

  • Credits in Title 3-D

    Ok, I'm trying to make end credits for a movie in Title 3-D, and I can't figure out how to get the tabbing so that all the cast listings are spaced evenly apart. I'm sure there's a way, I just don't know how to do it without using the space bar to try and get them all to line up. Any help would be greatly appreciated.

    Do you mean two columns with a gutter down the middle? You need to add tabs to the ruler at the top. Double click to add a tab. Add two tabs. The one on the left side of the gutter should be a right aligned tab and the one on the right of the gutter should be a left aligned tab. Double click the tabs to change the alignment. Use the tab key to move between the tabs.

  • Some russian titles do not show up in the artists' lists

    Hi, I encountered a strange issue with some songs with a russian title with my Nano 2G. The issue appears with some songs, which I downloaded from the bands' websites, e.g. http://www.pelagea.ru. I copied the title from the website and enter it in iTunes. This works fine. Also on my iPod, the titles show up when played, in the playlists and in the list of all songs. However they are missing in the list of the artist (Music -> Artists -> <Band>).
    I tried to convert the ID3 tags in iTunes, which was proposed in some Apple document, and I also deleted the title and typed it manually using the russian keyboard - without success. So I also tried to download the MP3 files again and to enter the title directly with the keyboard - no success.
    Now I wonder whether this is a bug in the iPod software (version 1.1.1), since the titles are shown everywhere except in the artists' lists, or whether the MP3 files are broken, since other songs with a russian title (downloaded or imported from CD) work as supposed. Any idea how to make the songs from the webiste above working? I guess the same cure would also fix the others, with which I am having trouble.
    iBook G4   Mac OS X (10.3.9)   iPod Nano 4GB

    Make sure it has Album, Artist and Title fields filled in.

  • CD song titles do not show up on a different Mac

    Why...? After laboriously typing title info into my Playlist of original, non-commercial, not posted-on-the-net tunes...does this info always show up on a different computer as 'Track 01, Track 02, etc.' on the CD I burned from this Playlist?! This wreaks havoc on demo disc process. I want to send to these out to people, and it takes an unnecessary amount of time to re-type in the info. Does anyone know of a fix for this iTunes problem? Or a better software program?

    Does anyone know of an audio CD burner that will consistently label the original information?
    Audio CDs do NOT have info except for CD-TEXT, no matter which program you use.
    The Redbook audio CD standard does not allow for anything except CD-TEXT.
    iTunes will write CD-TEXT but it will not read CD-TEXT.
    You can burn data CDs and all the info will be retained and can be played in iTunes.

  • How do I change the way the title/author appear and is there any way to remove pages on EPUBs?

    Hi all--
    I am having a really hard time--I am trying to transfer EPUBs from my Win 7 comp to my Nook Tablet. I bought a lot of books from several non-BN sites because they were lots cheaper and were also sold in bundles--but the site was messed up and sent the books in PDF form rather than EPUB.  PDF files won't read like a regular book on my Nook Tablet, so my friend offered to convert them to EPUB for me.
    Most of the books turned out fine, but some of them now have a few extra pages at the beginning before the cover image and the correct title and author are not displaying--it seems to instead show the filepath where the file was saved on m friend's computer (C:\My Computer/Documents and Settings...etc.)
    So, what I would like to do is be able to edit the EPUB files so I can delete the extra pages at the beginning so the correct cover image will be displayed and to be able to change the file's data sp it will show (and be searchable by) the correct title and author.
    I am new to all this, so I appreciate any help you can offer.  Thank you SO much for your help!!
    --Jamie
    P.S.  Having the title and author show up correctly so they are searchable and appear in the correct place on my Nook Tablet is the top priority--correct cover pages would be nice aesthitically, but it is not that important.
    ****ALSO--does anyone know of an app or anything for the Nook Tablet that would allow PDF files to be read just like an EPUB/B&N=purchased book?  Currently when I open a PDF, it shows the page in TINY print--you can use pinching to zoom in, but then the file enlarges so it is bigger than the screen, making it very hard to read.  I can't figure out any way to enlarge the text but still fits the page like an EPUB does, so I'm wondering if there's an app that would do that--it's hard because you can't try apps before you buy them and I can't teel if they will work from the descriptions.

    For sideloaded content the nook pulls the metadata from ePub file itself.  I would suggest looking at a program like Sigil or Calibre that will let you edit the metadata in the book to make it appear like you want.
    For the PDF vs ePub - No, that's the way PDFs work (think of them as graphics, not text), wheres ePubs are Web Pages - so  no you can't them to behave exactly alike without converting the files.

  • Print the report title

    Hello All,
    I have a report page with some search item.When I print the page the title does not appear on the output page.
    How I can print the report and its title on the output page.
    any quick help please

    Hi Mohammad
    I allow users to download reports using the Interactive Reports Region.
    If you use that method then you can insert a title at the top of the report by populating the Report Region > Print Attributes (TAB) > Page Header
    Note: This is available when using APEX coupled with Oracle Business Intelligence Publisher. It does not work with "CSV" output.
    Kind regards
    Simon Gadd

  • How can I save multiple titles under the same DVD?

    I use HandBrake to rip DVD's into iTunes. How can I save multiple titles under the same DVD? For instance, I have a Jimi Hendrix documentary that comes with special features, such as concert performances. I would like to have the main feature and the special features saved in my iTunes under the same title, perhaps as different 'tracks' (kind of like how different songs can be saved under the same album).
    Is there a way for me to do this, or am I chasing phantoms?

    *This response is for iPhoto 11 (v9). If you're using an earlier version, please post back and let us know. Troubleshooting steps are not the same for different versions. To find out which iPhoto you have: iPhoto Menu -> About iPhoto)*
    Duplicate the photo first. (Photos -> Duplicate). This means that you will have multiple copies of the master as well as the edited version.
    If you use versions like this often and wish to have only one master then you can do this with Aperture.
    Regards
    TD

  • How to get title dyanamically in xsl

    Hi ,
    i am working seo project which is search engine optimigation.
    i have one xsl file and i added meta tag like
    <title> title</tile>
    <meta name="Description" content="MyDescription">
    <meta name="Keywords" content="Keyword1, Keyword2, �, KeywordN">
    can you please tell me how to get the dynamic title based on the url.
    and keyword with commas taking as input title.
    i am using javascript but i do not how to call that sciprt in xsl file
    this is my xsl file souce code
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    xmlns:user="user" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xalan="http://xml.apache.org/xslt" xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
    <xsl:param name="pageName"/>
    <xsl:param name="titlePage"/>
    <xsl:param name="keyword"/>
    <!-- start - includes -->
    <xsl:include href="../mobility/header.xsl"/>
    <xsl:include href="../mobility/footer.xsl"/>
    <xsl:include href="../mobility/navigation.xsl"/>
    <xsl:include href="../mobility/mobility_content.xsl"/>     
    <!-- end - includes -->
    <xsl:template match="page">
    <html>
    <head>
    <script type="text/javascript">
              function test2()
              var st= "nissan uk";
              str = str.toLowerCase();
    str = str.replace(/['"-]/g, ",");
    str = str.replace(/\W/g, ",");
              str = str.replace(/\s+/g, ",");
    window.location();
    </script>
    <title><xsl:value-of select="$titlePage"/></title>
    <xsl:variable name="keywords" select="'keyword'"/>
    <xsl:variable name="scriptid" select="test2()"/>
    <meta content="We have developed this site to make it easier to access the information you need, when you need it. " name="Description" />
    <meta content="{$scriptid}" name="Keywords"/>
    <meta content="index, follow" name="Robots"/>
    <xsl:comment><xsl:value-of select="$titlePage"/>.We have developed this site to make it easier to access the information you need, when you need it. </xsl:comment>
         <link rel="stylesheet" type="text/css" href="/nova/global/css/mobility/mobility.css"/>
         <script type="text/javascript" src="/nova/global/js/mobility/ExpandingMenu.js"/>
         <script type="text/javascript" src="/nova/global/js/mobility/Popup.js"/>
         <script type="text/javascript" src="/nova/global/js/global.js"/>
    </head>
    <body id="mb_bodyMargin" >
         <!-- start - to publish the header details -->
         <div id="mb_navtop">
         <xsl:call-template name="header"/>
         </div>
         <!-- end - to publish the header details -->
         <div id="mb_navMenu">
         <div class="mb_leftContent">
         <!-- start - to publish the left navigation -->
              <div class="mb_menublock">
              <div class="mb_menublockGrayPatch"></div>           
              <xsl:copy-of select="/page/navigation/node()"/>               
              </div>
              <!-- end - to publish the left navigation -->     
              <div class="mb_whitePathch"></div>               
              <!-- start - to publish the Motability image & Related Pags -->
              <div class="mb_mobilityimage">
              <a>
                   <xsl:attribute name="href"><xsl:value-of select="collection/image/IMAGE-LINK"/></xsl:attribute>
                   <img>
                   <xsl:attribute name="src">/nova/<xsl:value-of select="collection/image/filename"/></xsl:attribute>
                   <xsl:attribute name="alt"><xsl:value-of select="collection/image/alt"/></xsl:attribute>
                   <xsl:attribute name="border">0</xsl:attribute>                    
                   <xsl:attribute name="class">mb_imgMotability</xsl:attribute>                    
                   </img>                         
                   </a>
              <xsl:apply-templates select="collection" mode="mb_related_links"/>
              </div>
              <!-- end - to publish the Motability image & Related Pags -->
         </div>
         <!-- start - to publish the right content & footer details -->               
         <div class="mb_rightContent">
              <xsl:apply-templates select="collection" mode="mobility_home"/>
              <xsl:call-template name="footer"/>
         </div>
         <!-- end - to publish the right content & footer details -->
         </div>
    </body>
    <!-- start - to expand and highlight the selected menu/sub-menu item -->
    <xsl:variable name="pageNameWithoutIndex" select="$pageName"/>
    <xsl:choose>
    <xsl:when test="contains($pageNameWithoutIndex,'/')">
         <xsl:variable name="firstNav" select="substring-before($pageNameWithoutIndex,'/')"/>
         <xsl:variable name="secondNav" select="substring-after($pageNameWithoutIndex,'/')"/>
         <script>
              expand('<xsl:value-of select="$firstNav"/>','<xsl:value-of select="$pageNameWithoutIndex"/>');
         </script>     
    </xsl:when>
    <xsl:otherwise>
         <xsl:variable name="firstNav" select="$pageNameWithoutIndex"/>
         <script>
              expand('<xsl:value-of select="$firstNav"/>');
         </script>     
    </xsl:otherwise>
    </xsl:choose>
    <!-- start - to expand and highlight the selected menu/sub-menu item -->
    </html>
    </xsl:template>
    </xsl:stylesheet>
    and sitemap.map file is
    <?xml version="1.0"?>
    <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
    <!-- Reorganised sitemap as follows:- printing pipeline, then main pipeline-->
    <!--============================ Views ======================================-->
         <map:views>
              <map:view from-label="beautify" name="beautify">
                   <map:transform type="i18n">
                        <map:parameter name="locale" value="{../locale}"/>
                   </map:transform>
                   <map:serialize type="xml"/>
              </map:view>
         </map:views>
    <!--=========================== Pipelines =================================-->
    <map:pipelines>
         <map:pipeline>
    <!--============= to generate Content for navigation ===============================-->
         <map:match pattern="navigation.xml">
         <map:generate src="cocoon:/navigation_gen.xml"/>
         <map:transform src="context:///stylesheets/mobility/navigation.xsl"/>
    <map:serialize type="xml"/>
         </map:match>
    <!--============= to generate Channel information for Mobility =================-->
         <map:act type="nscData">
              <map:match pattern="navigation_gen.xml">
              <map:generate src="cocoon://sitemap-gen_{../locale-path}.xml" />
              <map:transform src="context:///stylesheets/mobility/channel.xsl"/>
         <map:serialize type="xml"/>
              </map:match>
         </map:act>
         <map:act type="nscData">
    <!--============ NOVA - Mobility root pipeline ====================-->
              <map:match pattern="">
                   <map:redirect-to uri="mobility/index.html"/>
              </map:match>
              <map:match pattern="home/index.*">
                   <map:redirect-to uri="/home/mobility/index.html"/>
              </map:match>
    <!--================================= Nissan mobility Home Page =================================-->
                   <map:match pattern="index.*">
                   <map:aggregate element="page" label="beautify">
                             <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                             <map:part src="cocoon://{../locale-path}/mobility/home.chan"/>
              </map:aggregate>
              <map:call resource="get_{1}">
                             <map:parameter name="filename" value="home"/>
                             <map:parameter name="titlefilename" value="nissan uk,home"/>
                             <map:parameter name="keywordname" value="nissan,uk,home"/>
                        </map:call>
              </map:match>
              <!--=================================== Scheme page =======================================-->
              <map:match pattern="scheme/index.*">
                        <map:aggregate element="page" label="beautify">
                   <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                             <map:part src="cocoon://{../locale-path}/mobility/scheme.chan"/>
              </map:aggregate>
                        <map:call resource="get_{1}">
                             <map:parameter name="filename" value="scheme" />
                             <map:parameter name="titlefilename" value="nissan uk,scheme"/>
                             <map:parameter name="keywordname" value="nissan,uk,scheme"/>
                        </map:call>
              </map:match>
              <!--====================== For the Scheme sub-menu pages =========================-->
              <map:match pattern="scheme/*/index.*">
                        <map:aggregate element="page" label="beautify">
                   <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                             <map:part src="cocoon://{../locale-path}/mobility/scheme/{1}.chan"/>
              </map:aggregate>
                        <map:call resource="get_{2}">
                             <map:parameter name="filename" value="{1}" />
                             <map:parameter name="file-path" value="scheme/{1}"/>
                             <map:parameter name="file-path1" value="Nissan UK,scheme-{1}"/>
                             <map:parameter name="keywordname" value="nissan,uk,scheme,{1}"/>
                        </map:call>
              </map:match>
              <!--====================== For those pages under construction =============-->
              <map:match pattern="mobility_centre/index.*">
                        <map:aggregate element="page" label="beautify">
                   <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                             <map:part src="cocoon://{../locale-path}/mobility/mobility_centre.chan"/>
              </map:aggregate>
                        <map:call resource="get_{1}">
                             <map:parameter name="filename" value="mobility_centre" />
                             <map:parameter name="titlefilename" value="Nissan UK,mobility_centre" />
                        </map:call>
              </map:match>
              <!--====================== For the sub-menu pages under construction=========================-->
              <map:match pattern="mobility_centre/*/index.*">
                        <map:aggregate element="page" label="beautify">
                   <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                             <map:part src="cocoon://{../locale-path}/mobility/mobility_centre.chan"/>
              </map:aggregate>
                        <map:call resource="get_{2}">
                             <map:parameter name="filename" value="{1}" />
                             <map:parameter name="file-path" value="mobility_centre/{1}"/>
                        </map:call>
              </map:match>
    <!--================================== Vehicles page =======================================-->
    <map:match pattern="vehicles/index.*">
    <map:aggregate element="page" label="beautify">
    <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
    <map:part src="cocoon://{../locale-path}/mobility/vehicles.chan"/>
    <map:part element="passenger" src="cocoon://{../locale-path}/mobility/vehicles/passenger.chan"/>
    <map:part element="lcv" src="cocoon://{../locale-path}/mobility/vehicles/lcv.chan"/>
    <map:part element="four-by-four" src="cocoon://{../locale-path}/mobility/vehicles/4x4.chan"/>
    </map:aggregate>
    <map:call resource="get_{1}">
    <map:parameter name="filename" value="vehicles" />
    <map:parameter name="titlefilename" value="nissan uk,vehicles"/>
    </map:call>
    </map:match>
    <!--=============================== For Vehicles sub-menu pages =============================-->
    <map:match pattern="vehicles/*/*/index.*">
    <map:aggregate element="page" label="beautify">
    <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
    <map:part src="cocoon://{../locale-path}/mobility/vehicles.chan"/>
    <map:part src="cocoon://{../locale-path}/mobility/vehicles/{1}/{2}.chan"/>
    <map:part element="" strip-root="false" src="cocoon://{../locale-path}/mobility/vehicles/{1}/{2}/NSC-MODEL-XTND.type"/>
    <map:part src="cocoon://{../locale-path}/vehicles/{1}/{2}/grades-and-specs/EQUIPMENT-XTND.type"/>
    <map:part src="cocoon://{../locale-path}/vehicles/{1}/{2}/grades-and-specs/GRADE-XTND.type"/>
    <map:part src="cocoon://{../locale-path}/vehicles/{1}/{2}/carbuilder/ENGINE-AND-TRANS-XTND.type"/>
    <map:part element="BODY" src="cocoon://{../locale-path}/vehicles/{1}/{2}/carbuilder/BODY-XTND.type"/>
    <map:part element="" strip-root="true" src="cocoon://logicsheets/vehicles/pv-gp.xsp?country={../country}&locale={../locale-path}&with-vat={../with-vat}&modelGroup={2}&cache-timeout=600" />
    </map:aggregate>
    <map:call resource="get_{3}">
    <map:parameter name="filename" value="vehicles-details" />
    <map:parameter name="file-path" value="vehicles/{1}/{2}"/>
    <map:parameter name="tiltefile-path" value="nissan uk, vehicles -{1}-{2}"/>
    <map:parameter name="tiltefile-path-intro" value="nissan uk, vehicles -{1}-{2}-intro"/>
    </map:call>
    </map:match>
    <!--======================== Performance/Energy (Frugality page) ==============================-->
    <map:match pattern="*/*/*/performance/energy/index.*">
    <map:aggregate element="page">
    <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
    <map:part src="cocoon://{../locale-path}/mobility/vehicles/image.type"/>
    <map:part src="cocoon://{../locale-path}/mobility/vehicles/Mb_Relatedlinks.type"/>
    <map:part src="cocoon://{../locale-path}/mobility/vehicles/{2}/{3}.chan"/>
    <map:part src="cocoon://logicsheets/vehicles/engine-energy.xsp?locale={../locale-path}&model-code={3}&cache-timeout=600" />
    <map:part src="cocoon://logicsheets/vehicles/model-body-engine-attributes.xsp?model-code={3}&cache-timeout=600"/>
    </map:aggregate>
    <map:call resource="get_{4}">
    <map:parameter name="filename" value="energy" />
    <map:parameter name="file-path" value="vehicles/{2}/{3}"/>
    </map:call>
    </map:match>
    <!--======================== Price popup for Vehicle pages ==============================-->
    <map:match pattern="*/*/*/price-popup.*">
    <map:aggregate element="page">
    <map:part src="cocoon://{../locale-path}/mobility/vehicles/{2}/{3}.chan"/>
    </map:aggregate>
    <map:call resource="get_{4}">
    <map:parameter name="filename" value="price-popup" />
    <map:parameter name="file-path" value="vehicles/{3}"/>
    </map:call>
    </map:match>
              <!--====================== News and Events page ==========================-->
              <map:match pattern="news-events/index.*">
                        <map:aggregate element="page" label="beautify">
                             <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                             <map:part src="cocoon://{../locale-path}/mobility/news-events.chan"/>
              </map:aggregate>
                        <map:call resource="get_{1}">
                             <map:parameter name="filename" value="news-events" />
                        </map:call>
              </map:match>
              <!--======================= News Article page ============================-->
    <map:match pattern="news-events/*.*">
    <map:aggregate element="page" label="beautify">
    <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
    <map:part src="cocoon://{../locale-path}/mobility/news-events.chan"/>
    <map:part src="cocoon://{../locale-path}/{1}.item"/>
    </map:aggregate>
    <map:call resource="get_{2}">
    <map:parameter name="filename" value="news-article"/>
    </map:call>
    </map:match>
              <!--=================== contact us / Requests page =======================-->
              <map:match pattern="contactus/index.*">
                        <map:aggregate element="page" label="beautify">
                             <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                             <map:part src="cocoon://{../locale-path}/mobility/contactus.chan"/>
              </map:aggregate>
                        <map:call resource="get_{1}">
                             <map:parameter name="filename" value="contactus" />
                        </map:call>
              </map:match>
              <!-- ================ Brochure and Test Drive page =========================== -->
              <map:match pattern="*/brochure_testdrive/index.*">
                   <map:act type="sessionCreator"> <!-- sessionCreator -->     
                        <map:aggregate element="page" label="beautify">
                             <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
    <map:part src="cocoon://{../../locale-path}/mobility/contactus/image.type"/>
    <map:part src="cocoon://{../../locale-path}/mobility/contactus/Mb_Relatedlinks.type"/>
    <map:part src="cocoon://request.params"/>          
                             <map:part src="cocoon://session.params"/>
    <map:part src="cocoon://vehicles/leads_vehicle_data.xml"/>
         <map:part element="brochure" strip-root="true" src="cocoon://{../../locale-path}/mobility/contactus/brochure_testdrive.chan"/>
                             <map:part element="testdrive" strip-root="true" src="cocoon://{../../locale-path}/mobility/contactus/testdrive.chan"/>
                             <map:part element="" strip-root="true" src="../content/contact/{../../locale-path}/brochure/step1-static.xml"/>
              </map:aggregate>
                        <map:call resource="get_{../2}">
                             <map:parameter name="filename" value="brochure-testdrive" />
                             <map:parameter name="file-path" value="{../1}/brochure_testdrive" />
                             <map:parameter name="file-path" value="nissan uk,passanger-range " />
                        </map:call>
                   </map:act>     
              </map:match>
              <!-- ===================== Enquiries page ================================ -->
              <map:match pattern="*/enquiries/index.*">
                   <map:act type="sessionCreator"> <!-- sessionCreator -->     
                        <map:aggregate element="page" label="beautify">
                             <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                             <map:part src="cocoon://{../../locale-path}/mobility/contactus/image.type"/>
    <map:part src="cocoon://{../../locale-path}/mobility/contactus/Mb_Relatedlinks.type"/>
                             <map:part src="cocoon://{../../locale-path}/mobility/contactus/enquiries.chan"/>
                             <map:part element="" strip-root="true" src="../content/contact/{../../locale-path}/mobility/mobility.xml"/>
              </map:aggregate>
                        <map:call resource="get_{../2}">
                             <map:parameter name="filename" value="enquiries" />
                             <map:parameter name="file-path" value="{../1}/enquiries" />
                        </map:call>
                   </map:act>     
              </map:match>
              <!-- ========================= Your Details page ============================ -->
    <map:match pattern="*/*/yourdetails.*/*">
         <map:act type="sessionWriter">
    <map:aggregate element="page" label="beautify">
    <map:part src="cocoon://request.params"/>
    <map:part src="cocoon://session.params"/>
    <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
    <map:part src="cocoon://{../../locale-path}/mobility/contactus/image.type"/>
              <map:part src="cocoon://{../../locale-path}/mobility/contactus/Mb_Relatedlinks.type"/>
    <map:part element="" strip-root="true" src="../content/contact/{../../locale-path}/mobility/step1-static.xml"/>
    <map:part element="" strip-root="false" src="../content/contact/{../../locale-path}/mobility/occupation.xml"/>
    </map:aggregate>
    <map:call resource="get_{../3}">
    <map:parameter name="filename" value="yourdetails" />
    <map:parameter name="file-path" value="{../1}/{../2}"/>
    <map:parameter name="formValues" value="{../4}"/>
    </map:call>
    </map:act>
    </map:match>
         <!--========================= No Postal Address code Page =========================-->
         <map:match pattern="*/*/postcode.*/*">
                        <map:act type="sessionWriter">     
                             <map:aggregate element="page" >
                                  <map:part src="cocoon://request.params"/>          
                             <map:part src="cocoon://session.params"/>     
                             <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
         <map:part src="cocoon://{../../locale-path}/mobility/contactus/image.type"/>
         <map:part src="cocoon://{../../locale-path}/mobility/contactus/Mb_Relatedlinks.type"/>
                             <map:part strip-root="true" src="cocoon://contact/common_{../../locale-path}.xml?section-header-id=/{../../locale-path}/contact/brochure"/>                          
                                  <map:part element="" strip-root="true" src="../content/contact/{../../locale-path}/mobility/step1-static.xml"/>
                                  <map:part element="" strip-root="false" src="../content/contact/{../../locale-path}/common/occupation.xml"/>                              
                                  <map:part element="" strip-root="false" src="cocoon://search.qas"/>
                                  <map:part strip-root="true" src="cocoon://{../../locale-path}/contact.chan"/>
                                  <map:part strip-root="true" src="cocoon://{../../locale-path}/contact/brochure.chan_errcheck"/>
                             </map:aggregate>
                             <map:call resource="get_{../3}">
                                  <map:parameter name="filename" value="yourdetails" />
                                  <map:parameter name="file-path" value="{../1}/{../2}"/>
                                  <map:parameter name="formValues" value="{../4}"/>
                             </map:call>
                        </map:act>     
                   </map:match>
                   <map:match pattern="*/list.*">
                        <map:act type="sessionWriter">
                             <map:aggregate element="page">
                                  <map:part src="cocoon://request.params"/>          
                             <map:part src="cocoon://session.params"/>
                                  <map:part strip-root="true" src="cocoon://contact/common_{../../locale-path}.xml?section-header-id=/{../../locale-path}/contact/{../1}"/>      
                                  <map:part element="" strip-root="true" src="../content/contact/{../../locale-path}/address/list-static.xml"/>
                             <map:part src="cocoon://results.qas"/>          
                             </map:aggregate>                         
                             <map:call resource="get_{../2}">
                                  <map:parameter name="file-path" value="/{nsc-short-name}/{locale-path}/site-media/contact/"/>                         
                                  <map:parameter name="filename" value="address/list" />
                                  <map:parameter name="nedstat-path" value="{../../country-upper}.{../1}.askaddress"/>                              
                             </map:call>
                        </map:act>
                   </map:match>     
                   <map:match pattern="*/validate.*">
                        <map:act type="sessionWriter">
                             <map:aggregate element="page" >
                                  <map:part src="cocoon://request.params"/>          
                             <map:part src="cocoon://session.params"/>
                                       <map:part strip-root="true" src="cocoon://contact/common_{../../locale-path}.xml?section-header-id=/{../../locale-path}/contact/{../1}"/>      
                                  <map:part element="" strip-root="true" src="../content/contact/{../../locale-path}/address/validate-static.xml"/>
                             <map:part src="cocoon://results.qas"/>          
                             </map:aggregate>
                             <map:call resource="get_{../2}">
                                  <map:parameter name="file-path" value="/{nsc-short-name}/{locale-path}/site-media/contact/"/>                         
                                  <map:parameter name="filename" value="address/validate" />
                                  <map:parameter name="nedstat-path" value="{../../country-upper}.{../1}.askaddress"/>                              
                             </map:call>
                        </map:act>
                   </map:match>
              <map:match pattern="*/*/confirmation.*">
                             <map:act type="sessionWriter">
                             <map:act type="data-submit">     
                                  <map:aggregate element="page" >
                                       <map:part src="cocoon://request.params"/>          
                                  <map:part src="cocoon://session.params"/>
                                  <map:part src="cocoon://vehicles/leads_vehicle_data.xml"/>     
                                  <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
    <map:part src="cocoon://{../../../locale-path}/mobility/contactus/image.type"/>
                                  </map:aggregate>
                                  <map:call resource="get_{../../3}">
                                       <map:parameter name="filename" value="confirmation"/>
                                       <map:parameter name="file-path" value="{../../1}/{../../2}"/>
                                  </map:call>
                             </map:act>
                        </map:act>
                   </map:match>
         <!--============================ Tell us More Page ================================-->
    <map:match pattern="*/*/more.*">
                        <map:act type="sessionCreator">                    
                             <map:aggregate element="page" >
                                  <map:part src="cocoon://request.params"/>          
                             <map:part src="cocoon://session.params"/>
                             <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
              <map:part src="cocoon://{../../locale-path}/mobility/contactus/image.type"/>
    <map:part src="cocoon://{../../locale-path}/mobility/contactus/Mb_Relatedlinks.type"/>
                                  <map:part strip-root="true" src="cocoon://contact/common_{../../locale-path}.xml?section-header-id=/{../../locale-path}/contact/{../1}"/>     
                                  <map:part element="" strip-root="true" src="../content/contact/{../../locale-path}/common/more-static.xml"/>
                                  <map:part strip-root="true" src="cocoon://{../../locale-path}/contact.chan_errcheck"/>
                                  <map:part strip-root="false" src="../content/contact/received-files/Leisure_{../../locale-path}.xml"/>
                                  <map:part strip-root="false" src="../content/contact/received-files/Sport_{../../locale-path}.xml"/>
                                  <map:part strip-root="false" src="../content/contact/received-files/FinanceType_{../../locale-path}.xml"/>
                                  <map:part strip-root="false" src="../content/contact/received-files/FuelType_{../../locale-path}.xml"/>
                             </map:aggregate>
                             <map:call resource="get_{../3}">
                                  <map:parameter name="filename" value="more" />
                                  <map:parameter name="file-path" value="/{nsc-short-name}/{locale-path}/site-media/contact/"/>                              
                                  <map:parameter name="nedstat-path" value="{../../country-upper}.contact.{2}.more"/>
                             </map:call>
                        </map:act>
                   </map:match>
         <!--============================ confirmation2 ================================-->
    <map:match pattern="*/*/confirm_more.*">
    <map:act type="sessionWriter">
    <map:act type="data-submit">
    <map:aggregate element="page" >
    <map:part src="cocoon://request.params"/>
    <map:part src="cocoon://session.params"/>
    <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                   <map:part src="cocoon://{../../../locale-path}/mobility/contactus/image.type"/>
    <map:part strip-root="true" src="cocoon://contact/common_{../../../locale-path}.xml?section-header-id=/{../../../locale-path}/contact/{../../1}"/>
    <map:part element="" strip-root="true" src="../content/contact/{../../../locale-path}/common/confirmation-static.xml"/>
    </map:aggregate>
    <map:call resource="get_{../../3}">
    <map:parameter name="filename" value="confirmation_more" />
    <map:parameter name="file-path" value="{../../1}/{../../2}"/>
    </map:call>
    </map:act>
    </map:act>
    </map:match>
    <!--============================ Sitemap page ================================-->
              <map:match pattern="sitemap/index.*">
                        <map:aggregate element="page" label="beautify">
                             <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
                             <map:part src="cocoon:/navigation_gen.xml"/>
                             <map:part src="cocoon://{../locale-path}/mobility/sitemap.chan"/>
              </map:aggregate>
                        <map:call resource="get_{1}">
                             <map:parameter name="filename" value="sitemap"/>
                        </map:call>
         </map:match>
         <!-- =========================== Image PopUp ================================= -->
    <map:match pattern="*/image-popup.*">
         <map:aggregate element="page" label="beautify">
                        <map:part src="cocoon://{../locale-path}/mobility/scheme.chan"/>
                   </map:aggregate>
    <map:call resource="get_{2}">
                        <map:parameter name="filename" value="image-popup"/>
              </map:call>
         </map:match>
    <!-- ======================== Editorial - PopUp ================================== -->
    <map:match pattern="scheme/editorial-popup.*">
              <map:aggregate element="page" label="beautify">
                   <map:part src="cocoon://{../locale-path}/mobility/scheme/editorial-page-standard.type"/>
                   </map:aggregate>
    <map:call resource="get_{1}">
                   <map:parameter name="filename" value="editorial-popup"/>
              </map:call>
         </map:match>
    <!--=========================== Terms and Conditions =================================-->
    <map:match pattern="terms-conditions/index.*">
    <map:aggregate element="page" label="beautify">
    <map:part element="" strip-root="true" src="cocoon:/navigation.xml"/>
    <map:part src="cocoon://{../locale-path}/mobility/home/editorial-page-faq-short.type"/>
    <map:part src="cocoon://{../locale-path}/mobility/home/image.type"/>
    </map:aggregate>
    <map:call resource="get_{1}">
    <map:parameter name="filename" value="terms-conditions"/>
    </map:call>
    </map:match>
         </map:act>
         </map:pipeline>
    </map:pipelines>
    <!--=========================== Resources =================================-->
         <map:resources>
              <map:resource name="get_html">
                   <map:act type="nscData">     
                   <map:transform type="i18n">
                             <map:parameter name="locale" value="{../locale}" />
                        </map:transform>               
                        <map:transform type="xslt" src="cocoon://stylesheets/mobility/{../filename}.xsl">
                             <map:parameter name="pageName" value="{../filename}"/>
                             <map:parameter name="titlePage" value="{../titlefilename}"/>
                             <map:parameter name="keyword" value="{../keywordname                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Works for me. What happened when you tried?
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #E6E6EE;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    tell application "Finder" to display dialog "I need ® or ™ in dialog box text" with title "I need ® or ™ in dialog box text" buttons {"Aha!"} default button 1</pre>

Maybe you are looking for