XSL and a php variable

I am looking for a solution to a problem I am having with an
XSL stylesheet and trying to use a php variable. The page I am
working on is a page to display some information based on the
graduation year of a class (I work at a school). For example last
years graduating class of 2006.
I have a statement in the XSL sheet that limits the shown
data to only that class year
<xsl:for-each
select="school[class_of=&apos;2006&apos;]">
I would like to replace that 2006 above with a php statment
such as $classyear since on that page the data is to display the
variable is already present, but I cannot get it to work. I have
tried to place php in the XSL and also to change the extention etc
and they all produce errors. I am assuming that XSL just can't use
variables in it?
Any help would be greatly appreciated. I would hate to have
to duplicate that one XSL sheet for every class year.
thanks
chris

David,
thank you so much so far for you help, it does sounds like we
are talking about the same thing. I think I am getting close.
I do want to pass the value when the XSL sheet is embedded.
I tried that and it seemed to not work, says the variable is
not found (I am using the dreamweaver built in transform).
I am just getting into the more complex XML stuff so I
apologize for my lack of knowledege.
I have pasted some of the code below, any idea what I am
doing wrong?
the page where it is embedded is
http://www.nmhschool.org/news/test11.php
php doc with the embed and include
<?php
$mm_xsl = new MM_XSLTransform();
$mm_xsl->setXML("test11.xml");
$mm_xsl->setXSL("test11.xsl");
$mm_xsl->addParameter("yearXX", "2006");
echo $mm_xsl->Transform();
?>
http://www.nmhschool.org/news/test11.xsl
is the XSL
<xsl:for-each
select="Report/GroupHeader2/GroupHeader2_1[q1.CnPrAl_Class_of =
$yearXX]">
<table width="100%" border="1" cellspacing="1"
cellpadding="1">
<tr> blah blah blah........
http://www.nmhschool.org/news/test11.xml
is the XML data

Similar Messages

  • 'unable to connect' and  index.php

    Hi. 
    I am developing a Web Site and index.php is my point of entry.
    Document Root     Library/WebServer/Documents
    so my path is:       Library/WebServer/Documents/dwwdSite
    httpd.conf file is modified to add index.php  and have it listed first.
    <IfModule dir_module>
    DirectoryIndex   index.php   index.html
    <IfModule>
    Troubleshooting:
    I was using Netbeans IDE and when I ran index.php it opened in the browser.
    When I launched 'any' of my index.php files from Netbeans IDE, they opened correctly in the brower
    I am NOW using DreamweaverCC and when I run the index.php Error Message ' Unable to Connect'.
    For the last 2 days I have been working on this and I am completely stuck.
    This morning I thought of another way to test the 'unable to connect' error.
    I decided to copy this same file into Netbeans IDE and I NOW get the same Error Message ' Unable to Connect'
    when running index.php from Netbeans.
    Somehow, my settings are not correctly configured anymore.
    Here are my screenshots from Dreamweaver > manage sites.
    I believe that this is a rather simple fix that I am somehow not seeing.
    Maybe some can spot some mistake.
    I appreciate your help and explanation.

    Hi Sudarshan.
    You have been very kind and very clear in your explanation.
    One of the very best that I have ever communicated with on this forum !
    I have checked many, many things.
    I wanted to make certain that I killed apache and restarted it.
    I do not think it is RUNNING at all.
    1.
    myNameMacBookPro:~ myName$ pwd
    /Users/myName
    2.
    myNameMacBookPro:~ myName$ ps -ax | grep http
    1892 ttys000    0:00.00 grep http
    3.
    myNameMacBookPro:  myName$ hostname
    local
    4.
    myNameMacBookPro:etc myName$ cd apache2
    reginaMacBookPro:apache2 myName$ ls
    extra            httpd.conf.pre-update    mime.types        other
    httpd.conf        magic            original        users
    5.
    myNameMacBookPro:apache2 myName$ sudo nano httpd.conf
    myNameMacBookPro:apache2 myName$ sudo apachectl -k restart
    Syntax error on line 1 of /private/etc/apache2/users/myNameBU.conf:
    Invalid command '{\\rtf1\\ansi\\ansicpg1252\\cocoartf1187\\cocoasubrtf370', perhaps misspelled or defined by a module not included in the server configuration
    httpd not running, trying to start
    myNameMacBookPro:apache2 myName$
    6.
    The above code may be a hint at part of the problem.
    I created myNameBU.conf   as a backup when I was editing the file.
    QUESTION.  Why is /private/etc/apache2/users/myNameBU.conf:
    being referenced above ?
    7.
    I scanned my ports from preferences and found these two which I believe are what you stated they should be.
    port 80 is html
    port 8080 is html-alt
    8.
    I have modified this line and tried it both ways restarting apachectl each time.
    AllowOverride None
    AllowOverride All
    9.
    And here is a part of my httpd.conf.
    excerpts.
    httpd.conf
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User _www
    Group _www
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/Library/WebServer/Documents"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>
    10.
    I took a look at this too.
    usr/bin
    #path to httpd binary including options if necessary
    HTTPD = "usr/sgin/httpd"
    # pick up any environmental variables if test - f /usr/sbin/envvars; then ./usr/sbin/envvars
    fi
    STATUSURL = "http://localhost:80/server-status
    11.
    Just a reminder.
    I started writing .php scripts with Netbeans IDE.
    The programs ran:  I got output in the brower.  Things worked just fine !
    I started writing .php scripts with DreamweaverCC.
    The programs NEVER ran.
    I have always gotten 'Unable to Connect"
    Firefox/Safari can't establish a connection to the server at localhost.'
    12.
    QUESTION.
    At one point I was on the phone with a member of the Adobe Technical Support Team.
    They connect to my desktop (only) remotely.  I am very cautious about this.
    Could something have been inadvertently changed when they did this ?
    They do need to connect through a PORT - yes ?
    This is very frustrating and I am loosing days of work.
    I want to get back to Web Development
    I love Adobe products but this should not be such a huge obstacle.
    When I called Technical support (after much troubleshooting individually and on this forum)
    the fellow told me that the ONLY support FTP - not LOCALHOST.
    This makes no sense.  People develop 'locally' then put it ftp it in the production stage.
    Again, I appreciate your assistance.

  • Autocomplete Declared PHP Variables in Dreamweaver

    Is there a way to autocomplete php variables that have been
    declared? For instance, whenever you type $ in a PHP code block, a
    pop up list would automatically come up with all the variables you
    have already declared. This would GREATLY speed up coding and help
    to insure coding accuracy.
    If there is a way to do this now, could someone please clue
    me in? I've searched and searched forums, help files, and google.
    If this is not available, where should I go to request this
    feature?
    Shanna

    jsteinmann wrote:
    > With asp.net missing, along with several other things
    discontinued, dreamweaver will have to cater to php developers in
    these kinds of ways.
    If you want Dreamweaver to add features posting this sort of
    comment in
    a user-to-user forum won't have the slightest impact on the
    direction
    that Dreamweaver actually takes. You need to make your views
    known by
    submitting feature requests through the official channel:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Submitting requests doesn't guarantee that your ideas will be
    adopted in
    the next version or even the one after that, but it does get
    them on the
    development team's radar.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Processing a PHP variable in AS3

    I have looked in every book that I have on AS3 and cannot
    come up with a solution to this, I hope that someone can help me.
    I am receiveing a data string from a PHP --- mySQL connection
    on my web server. The string is arriving in flash as I can trace it
    and see the variables. If I do a trace on event.target.data I see
    the following.
    &numResult1=4&numResult2=14&numResult3=37&numResult4=70&numResult5=5&numResult6=3&doneLoad ing=true
    This is exactly what I should be seeing based on my PHP code.
    I am trying to assign the numResult numbers to a dynamic text
    box, for instance numResult1 = 4, I would like to assign that 4 to
    a dynamic text field on the Flash Stage. I have not figured out a
    way to get the variable out of the string.
    I keep getting undefined or a variety or other errors with
    the different methods I try.
    I have tried numerous ways using the URLVariables class but I
    have had no luck. Use to be very simple in AS2, I could assign the
    variable right to the dynamic text field in the properties panel,
    not anymore.
    Does anyone know how I can do this. People are doing it all
    the time, it can't be that hard, is it?????
    Just a good example as to how to break the variables out
    would be really helpful. I have tried the FlashGods site and could
    not figure there examples out, in fact the two I tried did not work
    at all.
    I would appreciate any help.... Thank you.
    Mike

    I have been trying to work this through for over a week, here
    is the ActionScript Code;
    AS
    function getData(event:Event):void {
    var myURLLoader:URLLoader = new URLLoader();
    var myURLRequest:URLRequest = new URLRequest("polls2.php");
    // Actually goes to a web site.
    myURLLoader.dataFormat=URLLoaderDataFormat.TEXT;
    myURLLoader.load(myURLRequest);
    myURLLoader.addEventListener(Event.COMPLETE,
    completeHandler);
    function completeHandler(event:Event):void {
    trace(myURLLoader.data);
    var myURLVariables:URLVariables = new
    URLVariables(myURLLoader.data);
    gotoAndStop(2);
    Here is what I get with the Trace Statement:
    &numResult1=6&numResult2=6&numResult3=5&numResult4=9&numResult5=7&numResult6=1&doneLoading =true
    Here is what I get when I try to set the URL variables.
    Error: Error #2101: The String passed to
    URLVariables.decode() must be a URL-encoded query string containing
    name/value pairs.
    at Error$/throwError()
    at flash.net::URLVariables/decode()
    at flash.net::URLVariables()
    at MethodInfo-2()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    Now it sure looks to me that the string being passed is
    name/value pairs.
    I have tried every way that I can think of to capture this
    data. I must be missing something simple.
    Any ideas would be greatly appreciated.
    Thanks for your help.
    Mike

  • PHP variable scope bug in CT

    I have a page where I declare PHP variables which are then
    used inside an include file.
    When I try to edit the page in Contribute, I get a notice of
    "Variable undefined" in the include.
    This do work in Dreamweaver and it did work in Contribute in
    other projetcs I have done.
    Any suggestions?

    Hi Dont know if your still getting notifications on this but...
    Did you ever find an answer as I am having the same issue.
    I have tracked down why its not working but don't know how to stop it.
    In Dreamweaver it keeps the php include reference as code when it saves the file, where as Contribute seems to process the include and dump the output back to the page.
    This means that any common includes like headers and footers are no-longer included dynamically when the page loads as Contribute has embeded them when it created the page.
    This alsos mean if you have included a php file with common functions that you may use on your site this will never appear and any variables you declare wont exist.
    How rubbish is that!?
    If anyone can help with this issue it will be greatly appreciated.
    I'm hoping there is some simple Contribute comment I can put in to say "dont process this code - leave it alone!"
    Thanks

  • PHP Variable Capitalize

    Okay so I have a php variable, and I set it to "Home", then when I call it though I get a result of "home". How do I make the variable retain the capital H?

    MurraySummers wrote:
    No - actually we were both incorrect. The only condition is "isset($_GET['page']", and if true, the first option is executed and a lower-case value is returned; if false, the second.
    I think that's wrong. If the first condition was being executed then the OP would have the result "Home" returned NOT "home"
    He/She has obvioulsy got a link set up like .php?$foo=Home
    As the first condition IS met as you say and is correct the second condition is executed (met) as I say, the third is only returned if 1 and 2 are not met.
    Oh ok I see what your saying. Cross wires AGAIN we both agree that the ?> is being met
    I think half this stuff is a battle with the correct terminology aint it lol
    So this is being met:
    $page = (isset($_GET['page'])
    This is being return as the above is met
    ? strtolower($_GET['page'])
    This never gets a look in
    : 'Home');
    If you view the conditions as ? strtolower($_GET['page']) : 'Home');
    Then youre right I'm wrong.
    This is not a condition which I was taking into consideration.
    $page = (isset($_GET['page'])

  • Accessing PHP variables (especially _SESSION)

    Hi,
    since CaioToOn! suggested here that I should use $_SESSION and I need to do this anyway, I spent the last 1+ hours trying to figure out how to do that. Sadly, I could not really figure it out except that there seems to be an issue with the session ID and that it has to be passed along to the swf file.
    Can somebody please tell me how to read/write from/to PHP variables (not $_GET)?
    P.S.: Here a simple example code (test.php and then the testintro.fla AS code):
    <? session_start();
    $_SESSION["intro"] = 0;     // has the intro been played?
    ...     // code for including the swf
    ?>
    if(intro == 0)
         myclip.gotoAndPlay(2);   // play intro
         intro = 1;
    else
    { myclip.gotoAndPlay(24); }     // skip the intro and go straight to the end

    none of those reasons would require php to embed a swf.
    normally, with flash, you could use a session variable to pass data from html to the swf.  you set your session variable's data with a html form or something similar and then use flashvars to pass that info to your embedded swf(s).
    you can also pass html data to an embedded swf using javascript and the externalinterface class.

  • Is there a PHP variable that will fetch the TITLE of the file?

    I learned (thanks to David Powers) that you can use $_SERVER['PHP_SELF'] to refer to your current URL, which is useful in situations like putting a "Share on Facebook" button on your page.
    However, some of these social networking sites allow you to also put the Article Title in the same button, so I was wondering if there was a PHP variable I can use for *that*. This way, by specifying the title of the article in the aptly-named title tag of the page, I can put those "submit this page to" links as includes that don't need to be specifically-edited for each page.

    Create a variable for the title and use it in both places.
    <?php
    $title = 'Things you always wanted to know about...';
    ?>
    <title><?php echo $title; ?></title>
    // later on
    <?php echo $title; ?>
    Alternatively, if your page content is generated dynamically, you can store the title in the database.
    Another technique would be to base the title on the page name.
    $page = basename($_SERVER['SCRIPT_FILENAME'], '.php');
    $title = ucwords(str_replace('_', ' ', $page));
    That would store "About Us" in $title if the page is called about_us.php.

  • Search/Replace for/with php variable name

    Hi all.
    I have just updated from Dreamweaver 5 to 5.5 and now I am missing a very handy functionality.
    What I want to do is to replace all occurences of $a with $b.
    In Dreamweaver 5 that was very easy by using "Find and replace":
    Find in: All open documents
    Search: Sourcecode
    Find: $a
    Replace: $b
    Active options: Match case and Match whole word !!!!
    Now in Dreamweaver 5.5 the option "Match whole word" is automatically disabled as soon as I enter a $ (dollar) in the search field.
    I assume this has something to do with regular expressions but I do NOT check the option "Regular expression" in the search and replace dialog.
    Is this a bug?
    What are my options now.
    If I don't have the possibility to to tick "Match whole word" my search does also replace all occurrences of $abc and $answer etc. with $b.
    Thank you for your help

    samet2011 wrote:
    I have Dreamweaver 5 and 5.5 running parallel on my computer.
    I can confirm that the way I described and used to use is working on Dreamweaver 5.
    I was the person who informed Murray that Dreamweaver CS5 and CS5.5 both behave the same way. I have just checked as far back as CS3, and it also disables "Match whole word" when you enter a dollar sign in the Find field of the Find and Replace dialog box. In fact, that option is disabled whenever you enter any nonalphanumeric character (except an underscore) in that field. It's not limited to dollar signs.
    Why it's not disabled in your version of CS5 is a mystery.
    However, to solve your problem, you don't need either a regex or "Match whole word". Simply type the name of your PHP variable followed by a space into the Find field. Also add a space after the name of the variable you're using as the replacement.
    What "Match whole word" does under the hood is to use a regular expression to find a word break. As long as you leave a space between your variables and any following code, simply adding the space to your search will do the trick.
    However, if you have cases where a variable is followed by a comma, closing parenthesis, or some other character, you will need to use the following regex:
    Find: \$variable_name\b
    Replace: $new_name
    The \$ looks for a dollar sign. The variable_name matches the literal text of the variable name (replace it with the actual text you're looking for). The \b matches a word break in exactly the same way as "Match whole word".
    In the Replace field, $new_name is the literal name of the new variable.

  • PHP Variables unloading

    I have a lot of included files in my site. At the end of each
    included file,
    I close the sql, but would also like to close the variables
    used to produce
    the HTML.
    I'm having a hard time with my searching getting some
    relevant results. Can
    somebody help me here on what I"m looking for?
    TIA,
    Jon Parkhurst
    PriivaWeb
    http://priiva.net.

    On Thu 24 Aug 2006 04:36:46p, crash wrote in
    macromedia.dreamweaver.appdev:
    > I have a lot of included files in my site. At the end of
    each included
    > file, I close the sql, but would also like to close the
    variables used
    > to produce the HTML.
    >
    > I'm having a hard time with my searching getting some
    relevant
    > results. Can somebody help me here on what I"m looking
    for?
    I'm not sure I follow you here. Are you saying that you want
    to limit
    the scope of the PHP variables to the included file, so that
    in something
    like this:
    <?php
    include_once('fileA.inc');
    include_once('fileB.inc');
    include_once('fileC.inc');
    ?>
    you can have a variable, say $crashsVariable, in fileA.inc,
    fileB.inc and
    fileC.inc, and have it take on a separate value in each of
    them, but not
    affect any of the others?
    Without doing any experimentation... Using the
    include_once()s makes the
    include files, and thus all their code, part of the larger
    code block.
    AFAIK, the scope of a variable would be the calling file, so
    the answer
    would be no.
    The PHP docs[1] have this to say:
    The scope of a variable is the context within which it is
    defined.
    For the most part all PHP variables only have a single
    scope. This
    single scope spans included and required files as well.
    but go on to add:
    However, within user-defined functions a local function
    scope is
    introduced. Any variable used inside a function is by
    default limited
    to the local function scope.
    So if you use $crashsVariable within a function within the
    included file
    (or, for that matter, the main file), it's local in scope.
    Otherwise, a
    variable exists for the entire page.
    If you've spent the include file building a long string of
    text, which is
    eventually output as HTML:
    <?php
    $myvar = "<head>\n";
    $myvar .= "<title>$myDynamicTitle</title>\n";
    echo $myvar;
    ?>
    the only way I know would be to do something like
    $myvar = '';
    Hopefully David Powers or somebody who actually knows might
    check in.
    [1]
    http://www.php.net/variables.scope

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

  • Unit Testing and APEX Global Variables

    We've recently started to unit test our database level PL/SQL business logic.
    As such we have a need to be able to simulate or provide output from PL/SQL APEX components in order to facilitate testing of these components.
    Some of the most obvious portions that need simulation are:
    1. The existence of a session
    2. The current application ID
    3. The current page ID.
    We currently handle requirement #1 by using apex_040100.wwv_flow_session.create_new
    We handle 2 and 3 using the apex_application.g_flow_id and g_flow_step_id global variables.
    I'm just wondering, how safe is it for us to use wwv_flow_session.create_new to simulate the creation of a session at testing time for those things which need a session?
    I've also noticed that there are apex_application.get_application_id and apex_application.get_page_id functions whose output is not tied to the global variables (at least in our current version).
    Is it safe for us to expect that we can set these global variables for use in testing or is apex moving to get_application_id and get_page_id functions away from global variables?
    Will there be corresponding set_application_id and set_page_id functions in the future?
    Sorry for the question bomb. Thanks for any help.

    My first question would be why do you need to establish a session to test your PL/SQL?
    wwv_flow_session is a package internal to APEX, and you should probably leave it be.
    The get_application_id procedure you refer to is in apex_application_install, which is used for scripting installation of applications - not get/set of page ID like you're describing.
    If you're uncomfortable using apex_application.g_flow_id, you can use v('APP_ID') or preferably pass the app_id/page_id as parameters to your procedures.
    Your question seems to have a few unknowns, so that's the best I can describe.
    Scott

  • Apex listener installed no test and set bind variables buttons

    I have installed Apex listener and while creating restful service module i dont see test and set bind variables buttons in the source region.
    I went through the many posts. Installed apex listener successfully.
    getting http://localhost:8080/ords/ started message when i start the listener.
    and using Apex URL as http://localhost:7780/pls/htmldb.
    What are the possibilities for this issues?
    Please help me on this.
    Thanks
    Chandran

    Apex listener version is 2.0.9
    Apex version is 4.2

  • XSL-TEXT: how to import subtemplates in XSL and use xdofx tags?

    Hi,
    I am working on a BI Publisher Report (XML Publisher 5.6.3 in EBS) to generate labels on a label printer. The output needs to be in plain text format, therefore I decided to use the XSL-TEXT template and create my own XSL translation.
    In principle this works pretty fine, but there are two things that worry me a bit:
    1. Does anybody know how I could import other XSL files, like sub-templates in RTF? The problem I have is that I don't know the URI or the sub-template. At the moment I store those other XSL files in the OA_MEDIA folder, but this is not really nice. In RFT you can refer to subtemplates with some xdofx commands... this brings me to my second question:
    2. In RTF templates you can use the Oracle specific XML tags, including the <xdofx:%> and <xdoxslt:%> tags. Does anybody know if and how I can use them in XSL templates?
    Any ideas are highly appreciated!
    regards,
    David.

    Hi Vetsrini,
    1. but what is the absolute path for my subtemplates if I store them in the Template Manager? How can I refer to them?
    This is what the manual says for RTFs:
    >
    Enter the Import Syntax in the Primary Template
    Import the subtemplate to the primary template by entering the following syntax in the
    primary template. The import syntax tells the XML Publisher engine where to find the
    subtemplate RTF in the Template Manager. This syntax may be entered anywhere in the
    template prior to the call-template syntax:
    <?import:xdo://APPCODE.TEMPLATE_CODE.lang.TERR?>
    where
    APPCODE is the Application code you assigned to the subtemplate in the Template
    Manager. For example, if you associated this template with the Receivables application,
    enter "AR".
    TEMPLATE_CODE is the template Code you assigned to the subtemplate in the Template
    Manager. For example, AR_CommonComponents.
    >
    sounds good and easy to me. But I don't have a RTF template. I have just a plain XSLT and those XML Publisher tags do not work there. So how do I get the absolute path of my XSLT templates stored in the Template Manager?
    2. I've included the namespace, no error anymore. But the syntax does not result in actions:
    <xsl:value-of select="xdoxslt:substr((PRODUCT_NAME),1,2)"/>
    {code}
    This does not substring() my string, the full string is returned. But anyway, I don't get an error message anymore. Maybe I just used the wrong XDOXSLT function... I need to search for a list of XDOXSLT functions, but that's not very urgent for now. I think I can do the most with plain XSL and inside the DB itself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to find out the customer exit and sap exit variables created provider?

    Hi all,
    How to identify what are all the customer exit and sap exit variables are been created for an info provider. is there any tables which allow us to find out.
    thanxs
    haritha

    Hello haritha,
           SAP Exit and Customer Exit variables are created for  Characteristics and not for individual InfoProviders.
    So whenever the characteristic is used in the InfoProvider, by selection the appropriate variable the exit can be called.
    So the same Exit can be in one or more InfoProviders.
    Hope it helps.
    Thanks,
    Chandran

Maybe you are looking for

  • Hp2710

    I was given the HP 2710m monitor with built in speakers.  I connected it to a Dell Studio 540S, Intel Core quad, 6 GB ram, 64 Bit Windows 7 computer.  With the VGA cord connected, I have a great picture but no sound.  With the HDMI cord connected I h

  • I don't see an option to convert caf to mp3, when I export... thoughts?

    I open a CAF file in Quicktime Pro and I wanted to export it as an MP3. I didn't see an export to MP3 option, so I exported the file to a WAV file then converted that to MP3. Any ideas how I can export directly to MP3? I may have missed when I was lo

  • Can you save Audio File from WhatsApp to iPhone music

    can you save an Audio file from WhatsApp to iPhone music?

  • Why did I lose my  link between iphoto and filemaker db

    Newbie to forums here. Sorry, I posted this earlier in the wrong place as a reply instead of a new question. I have a Filemaker 6.0 catalog database in which I made a container for photos. I stored the reference rather than the photo so the file woul

  • 2008 Mac Pro stuck at Light Blue/Dark Blue screen! HELP

    Hi, I've had my Mac Pro dual 2.8 Ghz Quad Core w/ the standard Radeon XT card, since the end of 08, and I haven't added ANY hardware to it, since. over the past year or so, i'll be working on my Mac Pro, and all of a sudden, it locks up, and a faint