Templates - part of edible section ??

Hi all,
I have a client who is drving me nuts....I made a template
for the pages on their site, then half way through he wanted a List
Menu at almost the top of each page......was only to be certain
pages at first....so I added that to the template.....then he
wanted the List Menu on all the pages........so I put it there ,
one page at a time.
NOW......he wants to change some of the values in the List
Menu.......to something different........and I have to change the
List Menu on over 163 pages.
Is there a way to make part of an edible section of a
template non-edible.......so that when you save the changed
template it doesn't mess up all the other pages.....by pushing
informaiton out of the way or removing it entirely?
Am lost as to what to do.......but I know there has to be a
way to make that one little List Menu in a section of a table
non-edible......and have it change all the other pages........HELP
ME!!!!!!!!
You can see what I am talking about at this addresss........
http://www.kent.net/idrivebigtruck/estrosense.htm
It's a dummy directory with only someof the files in
it.........but enough to give you the gist of what I am talking
about and maybe someone can tell me how to change the template to
do what I would like.
Thanking you in advance for any help.
Jill

That's funny!
"josie1one" <joleros[nospam]@yahoo.com> wrote in
message
news:[email protected]...
> I'm getting hungry reading these posts
>
> --
> Jo
>
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>> I'm worried about edible cells....
>>
>> Just make that select tag a server-side include.
Then edit, make one
>> upload, and all pages have it.
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "PizzaGood" <[email protected]> wrote in
message
>> news:[email protected]...
>>> Sorry, but then why not just select the actual
cells and make them
>>> non-editable instead of the whole row?
>>>
>>>
>>> "mantis" <[email protected]> wrote in
message
>>> news:[email protected]...
>>>> HI PizzaGood.......
>>>>
>>>> Let me see if I can explain it a bit
better.....
>>>>
>>>> If you look at my source code for that
page........check out Edit
>>>> Region3
>>>>
>>>> It consists of a table with three rows.
>>>>
>>>> The first row has the address, phone number
and fax number....it is
>>>> Non-Edibile.
>>>> The second row has two columns......one
column has Lorna Vanderdaeghe
>>>> in it
>>>> ....the second column has the word Symptoms
....then the List Menu.
>>>> The third row has the panels for Information
and Purchase Now.......the
>>>> shopping cart information in it.
>>>>
>>>> The second and third rows are
EDIBLE..........
>>>>
>>>> I want to make the second column in the
second row......where the
>>>> word...
>>>> Symptoms and the List Menu are...
NON-EDIBLE....
>>>>
>>>> All of this is in the template.....so when I
click save
>>>> template......it will
>>>> save and then ask me to update all the
pages....which use that
>>>> template.
>>>>
>>>> What I don't want the template to do is
remove any information from the
>>>> pages
>>>> that is already there....in the EDIBLE
areas.
>>>>
>>>> I just want the template to update the List
Menu.....on all the pages.
>>>>
>>>> Right now I have to change each and every
list menu on every
>>>> page.......if the
>>>> client changes his mind........which takes
HOURS......as there are 163
>>>> pages
>>>> attached to that template.
>>>>
>>>> I am hoping there is a simple way to do
this.
>>>>
>>>> Thanks for the help so far
>>>>
>>>> Jill
>>>>
>>>
>>>
>>
>>
>
>

Similar Messages

  • How to make a un-edible section edible

    I am new and tried a lot but have not found a solution. I
    have a template where some parts are un-edible. How can I make a
    part of the un-edible section edible? Does anyone have a good
    solution.

    Micke in Oslo wrote:
    > I am new and tried a lot but have not found a solution.
    I have a template where some parts are un-edible. How can I make a
    part of the un-edible section edible? Does anyone have a good
    solution.
    Open the original template (the .dwt page in the Templates
    folder), and
    create a new editable region. Save the template, and click
    Update when
    prompted to update the child pages.
    By the way, since you're in Oslo, I presume that English
    isn't your
    first language. "Edible" means something you can eat. The
    word you're
    looking for is "editable". The words are similar, but mean
    very
    different things.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Templates part English, part another language

    I just installed Pages '09. All of the templates are part English and part another language even tho the Text selection in Inspector is English.
    What now?

    2 countries, the USA and Britain seem to struggle with this. Thankfully I never got my education in either.
    The "another language" is Latin. Misquotes from Cicero to be exact.
    All it does is show you what the text looks like and if you simply clicked in it you would find it is instantly selected and replaced by whatever you type or paste.
    All explained in the Pages09_UserGuide.pdf downloadable from under the Help menu and in the Apple video tutorials in the same place. Also offered to you in the *Welcome to Pages*.
    Peter

  • Disable-output-escaping and named templates Part Two

    Steve,
    I had tried explicitly adding the disable-output-escaping inside the template and it didnt seem to have any effect.
    I had assumed this was becuase it was too late, and that during the process of passing the values through to the template as a param it gets escaped so that disabling escaping inside the template has no impact.
    inside the template I use
    <xsl:copy-of disable-output-escaping="yes" select="$Contents" />
    Any comments, am I doing something wrong
    Rob
    null

    I think I am also seeing something similar.
    When I use the command line oraxsl tool,
    I can process an XML file that contains HTML
    where the '<' is already replaced with the
    '<' entity. To output the content, I
    use :
    <xsl:copy>
    <xsl:value-of select="."
    disable-output-escaping="yes"/>
    </xsl:copy>
    This works fine for oraxsl, but when I try to
    process the file with my own Java class that
    uses XSLStylesheet and XSLProcessor, the
    output shows up as '#60;' instead of '<'...
    What is happening in oraxsl that outputs the
    '<' ...
    null

  • JSF event on a template part of page does nothing

    I created a page template which also changes locale, but when I apply the template to an JSF page. The change locale code does not work at all. It is like the backing bean of the template does not exist.
    Template code:
    <h:form>
    <h:selectOneMenu styleClass="selectOneMenu" id="countrySelectDropDown" value="#{root.locale.displayName}">
    <f:selectItems value="#{selectitems.root.countrySelectItems.countrySelectItems.toArray}" />
    </h:selectOneMenu>
    <hx:commandExButton type="submit" value="Change Language" styleClass="commandExButton" id="selectLocale"
    action="#{pc_BDInternetRegDoc.doSelectLocaleAction1}"></hx:commandExButton></h:form>Help !!

    Use the anchor method (found here) in combination with the Accordion Widget samples page from Adobe.
    I hope this helps.
    Ben

  • Template parts are moving

    Hi!
    I currently have a web design course. The teacher asked us to make a website for a company called "MAT-S" (it doesn't exist). I've done all the work. I used a template for almost all my pages. Today I was testing my website and I saw that my logo and my menu bar are moving from one page to another. This is really strange because they are in the template. Also, when I worked on the template, I always updated the html files. I really need your help because I just can't find the problem.
    You can download my website (zip format) from this link, which is my google drive: https://drive.google.com/file/d/0BzMHAR8F__prZXZybEJGSUQyWTA/edit?usp=sharing
    Thank you very much in advance! I know it can take time to debug problems but your help is really appreciated.
    PS: The website is in french, but the text isn't the problem here. Also, I know my website looks not really good, but I'm still new to web design.
    I use a windows 8.1 64-bit computer with adobe dreamweaver CC.
    I tested my website with internet explorer 11 and google chrome. The two browsers are updated.
    If you need more information to help me tell me!

    Just because you are using a template for this site, your layout is no more 'stable' than it would be without the templates. Bad code is bad code and can affect the layout on each page differently. Do you have any of these pages uploaded to a public server so that we can see things happen on a live site?

  • Issue when opening word document where it doesnt show the template part of the word document

    I have a user who when she opens a document that should have a letter head template load in the background the template doesnt show, using another profile on the same machine the template does open, the view can be replicated from the working profile by
    selecting page layout/Margins/custom Margins/layout and unticking the different first page box. this setting is correct on the affected profile. I have recreated the users profile but still get the same issue, this issue is affecting all documents the user
    opens, is there a setting i am missing? I have also tried resetting word in the registry but this also has had no effect.

    Hi,
    Could you tell me what version of Word are you using?
    Templates (including Normal.dot) are stored in C:\Documents and Settings\user name\Application Data\Microsoft\Templates.
    It’s possible that normal.dot file under your profile is corrupted. You can copy the normal.dot file under the normal profile to your store path.
    If there is anything else that I can do for you regarding this issue, feel free to post back.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Choix de la section à exécuter à partir d'un fichier ini

    Bonjour, 
    Je me demande, si, il est possible de choisir la section que l'on souhaite exécuter à partir d'un fichier ini ? 
    Si mon fichier ini contient plusieurs sections et que l'on souhaite que le point de départ soit la section demandée par l'utilisateur..
    Cela est-il possible ? 
    Cordialement
    Pièces jointes :
    Mode _Auto_Cluster.vi ‏119 KB

    naturellement c'est possible.
    ça suppose de lire la liste des sections et de donner à l'utilisateur la possibilité de choisir quel sera son point de départ.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Creating a template in Financials for using with XML Publisher..

    to whom..
    I hope someone can help please. I'm trying this process for the first time so please bear with me..
    Ive got everything in place for producing PDF reports via XML Publisher through ORACLE Financials but I'm stuck on the last
    part.
    According to the notes (Publishing Concurrent Requests with XML Publisher - An Oracle White Paper Jan 2005) I've come
    across, I need to update the concurrent program definition with a default template (when you submit a request, its in the
    'upon completion' last section where theres an option to change or enter a template layout) yet this section is GREYED OUT.
    Now according to my notes, to create a template you..
    "Setting a Default Template....to select a default template in the Update Concurrent Program page available from the System Administration
    responsibility (Note that this field is available only from System Administration. It is not available from the System
    Administrator Forms interface)......."
    My query is, where is this 'Update Concurrent Program page'..?
    Thanks In Advance..
    Steven
    Edited by: user554089 on Sep 16, 2008 4:02 AM

    OK, so now I've found out how to 'default a template for EBS 11i' (System Administration > Concurrent > Programs - notice its Administration not Administrator)... but its unavailable.. in the the 'OnSite Setting' tab there was no box visible for me to enter a template filename. Does anybody know why this could be?
    thanks,
    Steven

  • Provider Hosted App not listed in the App Part or Web Part

    What I have done:
                    I have created developer site collection
    in office 365 
                    I have created a provider app in visual
    studio, modified appmanifest.xml with the client id, client issue (from developer site) and provided targeted domain
                    I have deployed web application from the
    visual studio into Azure it can be accessible default page
                    I have published App project into Azure
    What I tried:
                    I have confiured app catalog in the SP 2013
    office 365 developer site Central Admin where I can register my apps
                    I have registered my appfile in the catalog
    site collection
                    I have created another site collection with
    team site template and added the app there
                    I created a web part page and wanted to
    insert this app as a web pat in the page it is not appearing/coming in the app part to insert
    What I wanted now:
                    I wanted to insert this app in the site
    web part page of any SharePoint 2013 site collection 
                            App
    part listed in the Site Content but it is not listed in the web part page " Web part or App Part" containers to insert...
    Am I missing something? any one encountered same issue? Any help appreciated.
    Regs,
    Madhu

    Hi Madhu,
    Once you deploy your App, The App will get deployed to the App web rather host web. That is reason you will not be able to find the app either in App part or webpart section of host web.
    http://msdn.microsoft.com/en-us/library/fp179925.aspx#IsolatedDomain
    My Blog- http://www.sharepoint-journey.com| Twitter
    If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful

  • Template url problem in Dreamweaver CS4

    Hi there,
    Thank you very much for reading this post.  I am having a problem with templates in Dreamweaver CS4, I am following the correct procedures to build a template, but when I link the pages together and update the template, the url has not been changed/updated on the child pages.
    Here is an example:
    Template:
    ../content/section/pagename.html
    Child Page:
    /section/pagename.html
    Missing out the first part of the link, when the pages are loaded, obviously, they are not going to the correct part of the website
    Please, can anybody give me some advice, as this problem is very quickly, driving me mad.
    Thank you.
    John

    I observe this problem too on my Vista x64 machine with CS4
    using dual monitors and split code/design views, and have found
    others who have this problem by searching Google.
    Description of problem: Roughly 50% of the time, when
    switching between files (regardless of type) and trying to select a
    block of code with my mouse (dragging over some code with the left
    button), it appears to work normally (the intended code is
    highlighted). However, when then attempting to CTRL-C (cut) or
    paste, the selected code instantly changes to a much larger block
    of code (usually selecting a specific div block or something). The
    cut or pasted code is then the larger (unintended) block of code.
    Once the code view selection works for a particular file
    (either it worked from the start or I poked at it long enough to
    work), it seems to remain working until switching to another file
    and then returning.
    Also, Dreamweaver CS3 didn't have this problem, so it's CS4
    only.
    This is a workflow nuisance much like a word-processor
    deciding to insert a % character randomly every 10 seconds while
    typing.
    I found a Google groups thread
    here
    in which a poster writes that deleting the Dreamweaver
    configuration file fixes this temporarily (the problem eventually
    shows up again, and you lose all your customizations by doing
    this). The posters in this thread also describe the same problem
    with other hardware configurations.
    My current workaround is to type return then backspace when
    dropping in to the code-view of another file--kind of a pain, but
    at least predictable. I also tried avoided the issue by: (a)
    selecting something in the design view and then selecting something
    in the code view, and/or (b) telling Dreamweaver to show the
    "element view" (right click in design view, element view, Full),
    but this latter action may be superfluous.
    I'd be very interested if someone were to post a simple fix
    for this problem.
    thanks!
    JP
    PS. David: I've learned a lot from your books. Thanks for
    writing them!

  • Brochure Template in Illustrator CS4

    I'm creating a brochure from the brochure template in Illustrator CS4. By default, it gives me 2 artboards with each divided into 3 sections. Also, the artboards are labeled as "outside" and "inside". The problem is, how do I know which side is which for each one. For example, as I look at the "outside" artboard, there is a left, center and right section, but is the right section the cover of the brochure or the left? And same for the inside? I'm confused. Any help would be appreciated. Thanks!
    JP

    JP,
    The right section must be the cover, corresponding/opposite to the left section of the inside Artboard which will be the first (inside section) to see when you unfold the part with those sections (beside the left outside section still folded). A quick paper folding test should prove it.
    The left/right outer/inner section (that goes inside) should be narrower by the way, or something is wrong with the template.

  • Error adding editable region in nested template Header

    I have a base template for the website (establishing basic
    menus), and a secondary template using that base template, which
    establishes a common table layout for one part of the site. Having
    created the PHP to drive the page, I need to lock down that
    secondary nested region - otherwise any edit I make to my secondary
    &quot;table-defining&quot; template is not passed through
    to the final pages using the secondary template. I have
    successfully created a secondary editable region in each part of
    the &lt;body&gt; area, and sure enough, it locks down text
    outside the secondary editable region just as DW help says it
    should. So far so good.
    Now the problem - I cannot create a region inside the
    &lt;head&gt; editable region to lock down that region too.
    Normally one would want keywords and so on to be variable from page
    to page, but as I am filling variable keywords from a database, it
    makes sense to lock down the &lt;head&gt; too. Does anyone
    know why that generates an error &quot;cannot create an
    optional region here&quot;? Is there anything that can be done
    about it?

    Posts are hard to read when they are all crammed together
    like yours. Try
    making some paragraphs!
    Nevertheless, I think I understand what you are saying., but
    honestly, I
    just wouldn't do it that way. Anymore, my templates are just
    one editable
    region in the body, and a bunch of server-side includes. I
    find nested
    templates much too complex, and troublesome to work with, and
    have really
    never found a scenario where I could do things with them that
    I could not do
    more easily with other methods.
    > However, I have an Editable
    > region with the HTML Head area, and DW does not permit
    me to add a
    > 'secondary-template Editable Region' within it to lock
    it down.
    Is it only you working on the site? Who are you trying to
    'lock down'? If
    it's only you, I'd forget about this. Invariably the things
    like this that
    you think are a good idea come back later to bite you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "suddensurprise" <[email protected]> wrote
    in message
    news:[email protected]...
    > Murray 'ACE' wanted to understand why I am using nested
    templates.
    >
    Primary
    > Template or 'base layout' I have a primary template
    which establishes
    > the
    > top, left and bottom borders for the site. These contain
    Spry menus - if
    > I
    > change the menu on the primary template, all pages will
    be updated. The
    > primary template has a 'work area box' which is where
    the page content
    > goes for
    > each different page.
    Secondary or 'nested' template Next I have a
    > secondary template, or nested template. It starts with
    the primary
    > template
    > but this time the 'work area box' is set up with a
    product table and
    > various
    > fixed column headings. The table is filled from
    different database
    > records
    > using PHP and MySQL. Therefore the secondary or 'nested'
    template
    > establishes
    > a common format for the product table. For example, a
    change to a heading
    > in
    > the secondary template is updated into all pages using
    it. And to
    > reiterate, a
    > change to the Spry menu bar on the primary template will
    update the
    > secondary
    > template and all pages created from that template.
    Similarly, I have
    > several
    > other secondary templates, all created from the primary
    template, all
    > setting
    > standard sections of the website so that multiple pages
    can be updated at
    > once
    > via a single template change.
    Note: the code in the secondary
    > template
    > needs to be 'locked' so that edits within it are passed
    on to its slave
    > pages.
    > This is done by creating an empty Editable region at the
    beginning of the
    > 'work
    > area box' I talked about.
    Other Approaches? If anyone knows a
    > better
    > way of enabling site edits to be passed consistently
    down into different
    > standard-section blocks of the website, I would welcome
    your input.
    >
    The
    > Problem Now to reiterate the problem with which I
    started this thread.
    > In
    > a secondary template it works fine creating a second
    Editable Region
    > within the
    > Body of the HTML document - the rest of the code in that
    'primary template
    > editable region' is now locked out as is required.
    However, I have an
    > Editable
    > region with the HTML Head area, and DW does not permit
    me to add a
    > 'secondary-template Editable Region' within it to lock
    it down. I am
    > wondering
    > if anyone in the Community knows why or can suggest a
    solution. Regards
    > Richard
    >

  • Using an account multiple times on financial template SBO

    Greetings,
    I am trying to add a account multiple times on one financial template in SBO version 9.0 PL: 07
    The situation is we are building a notes section of the P&L where we represent the account as part of a total and later at the bottom again in more detail.
    Example:  Account# 6100005 'Audit'  is included in a total professional fees near the top of the template as part of the 'Professional Services' section, and later in the template in a 'detail' section I want to display it as part of 'Audit and Accounting Fees'.
    The account is marked in the chart of accounts>G/L Account Details to 'Allow multiple linking to Financial Statements'
    Am I missing a setting somewhere else?  When I lookup the account on the template, it does not show available (since it is already used on this template) and when I try to enter the account by typing the whole number in, it gives me the message: 'In "Account Number" field, enter account number not in use.
    Wondering if there is a setting somewhere else that I need to mark/check to allow using an account multiple times on a P&L financial template.
    Thanks
    Dalen

    It is most likely (I'm not certain from the description) that
    the 'sub-buttons' are a 'child' MC of the main button? if so, the
    'on' handler for the 'main' button will override any handlers
    attached to 'child' buttons within it. the only solution is to use
    a hitTest method for either the 'parent' button or the 'child'
    buttons, OR separate the two MCs and use the 'main' button to bring
    a MC of the 'sub' buttons to the Stage.

  • XML-23002: (Error) internal xpath error while calling template

    Hi,
    I have used call-template named Chemloop in my xslt in the following way as attached in the xsl file. But when I am testing this xsl file through the bpel transformation, getting the error XML-23002: (Error) internal xpath error. Using this xslt I am converting a flat file into a xml file. My xslt except the call template part is working fine. Please suggest me if I m doing anything wrong.
    XSLT:
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="../ReadASNNAEbizAlcanFileAdapter.wsdl"/>
    <rootElement name="SynchAdvancedShipmentNotice" namespace="http://oracle.com/EbizGateway/NA/SynchASN/V2"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="../ReadASNNAEbizAlcanFileAdapter.wsdl"/>
    <rootElement name="ShipNotice" namespace=""/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.6.0(build 111214.0600.1553) AT [TUE FEB 12 21:05:56 GMT+05:30 2013]. -->
    ?>
    <xsl:stylesheet version="2.0"
    xmlns:svcdoc="http://xmlns.oracle.com/Services/Documentation/V1"
    xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:alcebo="http://oracle.com/EbizGateway/NA/SynchASN/V2"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:med="http://schemas.oracle.com/mediator/xpath"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:alcabcs="http://xmlns.oracle.com/pcbpel/adapter/file/T2FJAN/CreateASNNAEBIZAlcanProvABCSImpl/ReadASNNAEbizAlcanFileAdapter"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    exclude-result-prefixes="xsi xsl pc alcebo plnk wsdl jca xsd alcabcs aia bpws xp20 bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref ldap">
    <xsl:template match="/">
    <ShipNotice>
    <Header>
    <BOLNo>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:BILL_OF_LADING_1000"/>
    </BOLNo>
    <TripNo>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:TRIP_NAME_1000"/>
    </TripNo>
    <Action>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Action>
    <Attr1>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr1>
    <Attr2>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr2>
    <Attr3>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr3>
    <Attr4>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr4>
    <Attr5>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr5>
    </Header>
    <Shipment>
    <ShipDate>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:DEPARTURE_DATE_1000"/>
    </ShipDate>
    <RouteCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT4_1010"/>
    </RouteCode>
    <xsl:choose>
    <xsl:when test='/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010 = "R"'>
    <RateRouteCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT3_1010"/>
    </RateRouteCode>
    </xsl:when>
    <xsl:otherwise>
    <RateRouteCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010"/>
    </RateRouteCode>
    </xsl:otherwise>
    </xsl:choose>
    <xsl:choose>
    <xsl:when test='/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010 = "R"'>
    <CarrierCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT3_1010"/>
    </CarrierCode>
    </xsl:when>
    <xsl:otherwise>
    <CarrierCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010"/>
    </CarrierCode>
    </xsl:otherwise>
    </xsl:choose>
    <TransportModeCode>
    <xsl:value-of select="substring(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT2_1010,1.0,1.0)"/>
    </TransportModeCode>
    <TransportModeType>
    <xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:RTIN1_1030/alcebo:ROUTING_INSTRUCTIONS1_1030)"/>
    </TransportModeType>
    <xsl:choose>
    <xsl:when test='normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010) = "R"'>
    <TrailerNo>
    <xsl:value-of select="concat(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:A1DL1_3600[1]/alcebo:DELIVERY_ATTRIBUTE1_3600,/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:A2DL2_3610[1]/alcebo:DELIVERY_ATTRIBUTE5_3610)"/>
    </TrailerNo>
    </xsl:when>
    <xsl:otherwise>
    <TrailerNo>
    <xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:EQUIPMENT_NUMBER_1010)"/>
    </TrailerNo>
    </xsl:otherwise>
    </xsl:choose>
    <SealNo>
    <xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:EQUIPMENT_SEAL_1010)"/>
    </SealNo>
    <Quantity>
    <xsl:value-of select='sum(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder/alcebo:UnpackedItemDetail/alcebo:I3IT3_4520/alcebo:SHIPPED_QUANTITY_4520) + sum(format-number(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder/alcebo:P1PO1_4000/alcebo:FREIGHT_TERMS_CODE_EXT3_4000,"##############0.00"))'/>
    </Quantity>
    <QuantityUOM>
    <xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D3DP3_1015[1]/alcebo:DELIVERY_TARE_WEIGHT_UOM_EXT1_1015)"/>
    </QuantityUOM>
    <Attr1>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr1>
    <Attr2>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr2>
    <Attr3>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr3>
    <Attr4>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr4>
    <Attr5>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr5>
    <ShipmentItems>
    <xsl:for-each select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder">
    <ShipmentItem>
    <ShipListNo>
    <xsl:value-of select='concat(substring("0000",1.0,4.0 - string-length(string(position()))),string(position()))'/>
    </ShipListNo>
    <OrderNo>
    <xsl:value-of select="normalize-space(alcebo:P1PO1_4000/alcebo:PURCHASE_ORDER_NUMBER_4000)"/>
    </OrderNo>
    <LineNo>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I2IT2_4510[1]/alcebo:CUST_PO_LINE_NUM_4510)"/>
    </LineNo>
    <ItemNoXref>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I1IT1_4500[1]/alcebo:BUYER_PART_NO_4500)"/>
    </ItemNoXref>
    <AlcoaPartNo>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I1IT1_4500[1]/alcebo:SUPPLIER_PART_NUMBER_4500)"/>
    </AlcoaPartNo>
    <Quantity>
    <xsl:value-of select="sum(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520/alcebo:SHIPPED_QUANTITY_4520)"/>
    </Quantity>
    <QuantityUOM>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520)"/>
    </QuantityUOM>
    <TareWeight>
    <xsl:value-of select='format-number(alcebo:P1PO1_4000/alcebo:FREIGHT_TERMS_CODE_EXT3_4000,"##############0.##")'/>
    </TareWeight>
    <TareWeightUOM>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520)"/>
    </TareWeightUOM>
    <Attr1>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr1>
    <Attr2>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr2>
    <Attr3>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr3>
    <Attr4>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr4>
    <Attr5>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr5>
    <xsl:for-each select="alcebo:UnpackedItemDetail">
    <Bundle>
    <LotNo>
    <xsl:value-of select="alcebo:DeliveryDetail/alcebo:LSDET_5500[1]/alcebo:LOT_NUMBER_5500"/>
    </LotNo>
    <SubLotNo>
    <xsl:value-of select="alcebo:DeliveryDetail/alcebo:EX02_5591[1]/alcebo:DSNO_LEV06_EXT09_5591"/>
    </SubLotNo>
    <Quantity>
    <xsl:value-of select="alcebo:I3IT3_4520[1]/alcebo:SHIPPED_QUANTITY_4520"/>
    </Quantity>
    <QuantityUOM>
    <xsl:value-of select="alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520"/>
    </QuantityUOM>
    <Pieces>
    <xsl:value-of select="alcebo:DeliveryDetail/alcebo:EX02_5591[1]/alcebo:DSNO_LEV06_EXT10_5591"/>
    </Pieces>
    <Attr1>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr1>
    <Attr2>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr2>
    <Attr3>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr3>
    <Attr4>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr4>
    <Attr5>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr5>
    <!-- User Defined Templates -->
    <xsl:call-template name="Chemloop">
    <xsl:with-param name="i">1</xsl:with-param>
    </xsl:call-template>
    </Bundle>
    </xsl:for-each>
    </ShipmentItem>
    </xsl:for-each>
    </ShipmentItems>
    </Shipment>
    </ShipNotice>
    </xsl:template>
    <xsl:template name="Chemloop">
    <xsl:param name="i"/>
    <xsl:variable name="ChemRow"
    select="concat(/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT01_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT02_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT03_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT04_5590)"/>
    <xsl:variable name="ChemBlock"
    select="substring($ChemRow,1+($i-1)*33,33)"/>
    <xsl:if test="$ChemBlock!=' '">
    <ChemicalAnalysis>
    <ElementName>
    <xsl:value-of select="substring($ChemBlock,1,5)"/>
    </ElementName>
    <RNDValue>
    <xsl:value-of select="substring($ChemBlock,6,15)"/>
    </RNDValue>
    <ValueQualifier>
    <xsl:value-of select="substring($ChemBlock,21,2)"/>
    </ValueQualifier>
    <NumDecimals>
    <xsl:value-of select="substring($ChemBlock,23,3)"/>
    </NumDecimals>
    <DropNo>
    <xsl:value-of select="substring($ChemBlock,26,8)"/>
    </DropNo>
    </ChemicalAnalysis>
    </xsl:if>
    <xsl:if test="($ChemBlock=' ') and $i=1">
    <xsl:message terminate="yes">No Chemical data found</xsl:message>
    </xsl:if>
    <xsl:if test="$i &lt;= 26">
    <xsl:call-template name="Chemloop">
    <xsl:with-param name="i">
    <!-- Increment index-->
    <xsl:value-of select="$i + 1"/>
    </xsl:with-param>
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>

    I can't get what are you trying to achieve by a construction like bellow...
    /alcebo:DeliveryDetail[position()]
    Remember XSLT is not a procedural language... a selector like /alcebo:DeliveryDetail[position() = $var] or just /alcebo:DeliveryDetail[$var] would make more sense...
    Cheers,
    Vlad

Maybe you are looking for

  • How to record sound ?

    I would like to record sound from f ex YouTube. Is it possible ?

  • Internal Profit (Between two/more Profit Centers)

    Dear friends, My client has nearly 30 profit Centers (Each product/line) and final product of one profit center sya X is an in put of production process of another profit center say Y. Here problem is that Profit Center X wanted to claim some interna

  • Finder not seeing iPhone 4S

    I am using a MacBookPro with iTunes 9.2 (61) and 10.4.11. I plug in the iPhone into the USB port, the iPhone wakes up, but I don't see it in Finder and iTunes doesn't see it to sync up. Any suggetions.

  • Illustrator won't open clipboard

    When I open illustrator and click new file it brings me to the new file prompt and after selecting ok, nothing opens? When I try to open a file it says it's open I just can't see see the clipboard. How can I resolve this?

  • Forms runtime output

    I installed Oracle 10g Developer Suite and when I ran a form it asked to install Jinitiator; I did and then the form output comes as HTML code having fmx name username ... etc