MM_XSL Transform

Does anybody know of a way to load dynamically created xml
files using Dreamweaver's XSL Transform class? I'm trying to load a
php page that outputs xml from a database. When the php file is
viewed it is read in the browser as an XML file. I know the XSL
Transform class will only read .xml files but I don't know how to
make it work with dynamic XML files.

bikeman01 wrote:
> As I said the problem was fixed up to php 5.2.5. Going
to php 5.2.6. has
> broken this again. I don't know what has changed in php
5.2.6 that might cause
> this.
>
> Are you able to confirm this problem in php 5.2.6?
No. I have installed PHP 5.2.6 on a different machine, and
tested the
XSL Transformation server behavior. It works exactly the same
as in 5.2.5.
> If confirmed, what is the process for raising a bug and
will Adobe fix it?
I cannot confirm the problem, so there's nothing I can see
for Adobe to
fix. However, the correct channel for reporting bugs is
through the form
at the following address:
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Even if a problem can be identified, it's highly unlikely
that Adobe
would issue an updated version of the 8.0.2 hotfix. The
hotfix worked
perfectly with the version of PHP that was current at the
time. Since
then, CS3 has been released, and CS4 is being officially
announced next
Tuesday. If a fix is required (and I don't believe one is),
the normal
policy is to supply it for the current version of
Dreamweaver, not one
that is no longer on sale.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • MM_XSLTransform error every time in PHP page

    When I apply an XSL Transformation to a PHP page, the page
    displays with an MM_XSLTransform error saying the XML file is not a
    valid XML document -- even though it absolutely
    is valid XML. This is totally reproducable.
    Here's a simple example:
    library.xml:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <library>
    <owner>Mister Reader</owner>
    <book>
    <isbn>1-2345-6789-0</isbn>
    <title>All About XML</title>
    <author>John Doe</author>
    <language>English</language>
    <price currency="usd">24.95</price>
    </book>
    <book>
    <isbn>9-8765-4321-0</isbn>
    <title>CSS Made Simple</title>
    <author>Jane Smith</author>
    <language>English</language>
    <price currency="usd">19.95</price>
    </book>
    </library>
    library.xsl:
    <xsl:stylesheet version="1.0" xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" encoding="iso-8859-1"/>
    <xsl:template match="/">
    <h1><xsl:value-of select="library/owner"/>'s
    Library</h1>
    <xsl:for-each select="library/book">
    <p><em><xsl:value-of
    select="title"/></em>
    by <xsl:value-of select="author"/>
    (ISBN <xsl:value-of select="isbn"/>)</p>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    library.php:
    <?php
    //XMLXSL Transformation class
    require_once('includes/MM_XSLTransform/MM_XSLTransform.class.php');
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    <?php
    $mm_xsl = new MM_XSLTransform();
    $mm_xsl->setXML("library.xml");
    $mm_xsl->setXSL("library.xsl");
    echo $mm_xsl->Transform();
    ?>
    </body>
    </html>
    When viewing the file library.php, the following error is
    displayed in the browser, followed by the raw XML:
    library.xml is not a valid XML document.
    Non-static method DOMDocument::loadXML() should not be called
    statically, assuming $this from incompatible context in file
    library.xml.
    I wonder whether there is a problem with the include file
    MM_XSLTransform, version 0.6.2. Since that include file begins with
    a "TODO" note from the programmer, I wonder whether it's not quite
    release-ready.
    Anyone else having this problem?
    Environment:
    - Testing Server on localhost
    - Windows XP Pro SP2
    - Dreamweaver 8.0.2
    - PHP 5.1.4
    - MySQL 5.0.2.1
    - PHP MyAdmin 2.8.1

    Jon9999 wrote:
    > I wonder whether there is a problem with the include
    file MM_XSLTransform,
    > version 0.6.2. Since that include file begins with a
    "TODO" note from the
    > programmer, I wonder whether it's not quite
    release-ready.
    It was release-ready. It worked fine in PHP 5.0, but changes
    in PHP
    5.1.4 caused it to break. As I understand, Adobe is preparing
    a PHP
    hotfix that solves several problems caused by the 8.0.2
    updater. It also
    fixes this one.
    In the meantime, you can easily hand fix it yourself.
    Comment out line 301, which looks like this:
    $xml = DOMDocument::loadXML($content);
    Then insert the following two new lines immediately below:
    $doc = new DOMDocument();
    $err = $doc->loadXML($content);
    The rest of the script then continues with this:
    restore_error_handler();
    So, when you have finished, lines 301-304 will look like
    this:
    //$xml = DOMDocument::loadXML($content);
    $doc = new DOMDocument();
    $err = $doc->loadXML($content);
    restore_error_handler();
    Just in case you're interested in what the problem was: line
    301 uses
    loadXML() as a static method of the DOMDocument class. As of
    PHP 5.1.4,
    this isn't allowed. The substitute lines create a DOMDocument
    object,
    and then call the method on the new object.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Displaying a message when there are no results from an XSL Query

    Using MM_XSLTransform.class.php
    I am querying an XML file to produce a list of places whose town name or address match a letter of the alphabet. The letter is passed as a variable in a URL.
    XSL:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xsl:param name="letter"/>
    <xsl:output method="html" encoding="UTF-8"/>
    <xsl:template match="/">
    <xsl:for-each select="dataroot/CPINFOWEB[Town=starts-with(Town, $letter) or Name=starts-with(Name, $letter)]">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
            <td>
        <a href="detail.php?park={CostCode}"><xsl:value-of select="Name"/></a><br />
              <a href="detail.php?park={CostCode}"><xsl:value-of select="Town"/></a><br />
          <xsl:value-of select="Address"/><br />
          <br />    
          </td>
            </tr>
          </table>
          </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    Destination PHP file:
    setXML("../regions/CPINFOWEB-mobile.xml"); $mm_xsl->setXSL("list.xsl"); $mm_xsl->addParameter("letter",$_GET['letter']); echo $mm_xsl->Transform(); ?> 
    The result Name and Town are displayed as a URL to link to a "more details" page.
    All works fine, but when there are no results for a letter of the alphabet I obviously get a blank page.
    How do I display a "no results" message instead

    I deleted my original reply because the formatting of the XSL code was messed up by the forum. Here's trying again:
    Your current code creates a new table for each result. The opening and closing <table> tags should be outside the the <for-each> loop. To deal with the possibility of no results being found, use a conditional statement and the count() function like this:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xsl:param name="letter"/>
    <xsl:output method="html" encoding="UTF-8"/>
    <xsl:template match="/">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <xsl:for-each select="dataroot/CPINFOWEB[Town=starts-with(Town, $letter) or Name=starts-with(Name, $letter)]">
            <tr>
            <td>
        <a href="detail.php?park={CostCode}"><xsl:value-of select="Name"/></a><br />
              <a href="detail.php?park={CostCode}"><xsl:value-of select="Town"/></a><br />
          <xsl:value-of select="Address"/><br />
          <br />    
          </td>
            </tr>
    </xsl:for-each>
    <xsl:if test="count(dataroot/CPINFOWEB/Town) &amp;lt; 1">
        <tr>
        <td>No records found</td>
        </tr>
        </xsl:if>
    </table>
    </xsl:template>
    </xsl:stylesheet>

  • RSS Feeds on a webpage

    Hi DW people am trana have feeds from many different sources included on pages in the website that I am working on.
    What I want to achieve: I am looking to have one row with three columns that display the feed headlines in a 220px by 220px div container (you know all those headlines with pics). So am also trana make each container display like 5 headlines each from one source(usually feeds providers have more than one headline sometimes up to 20)
    So far I have created an XSLT Fragment and I have an XML data source binded to it. The thing is when it is displayed in the browser I have no control over it ie it just lists out all the feeds in several rows from the top of the page to the bottom. Then when I tried giving it some style to make it align in a row they just overlap one on top of the other.
    When I tried including the Fragment on my dynamic page DW automatically created MM_XSLTransform.class.php file and attached it to my page. I dont want to bore anyone but I have issues with this particular MM_XSLTransform.class.php file. I have tried including some functions of my own in it so as to give it more capabilty but really its a very long story...
    I have also experimented with Spry but then without the XSL style it just gives the raw data as output in the browser. When I tried having the XSL style along with the Spry it gives several errors at the start of the page like so:
    ( ! ) Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\wamp\www\parseXMLs\includes\MM_XSLTransform\MM_XSLTransform.class.php on line 208
    ( ! ) Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\wamp\www\parseXMLs\includes\MM_XSLTransform\MM_XSLTransform.class.php on line 215
    at the bottom list out the feeds!!!!
    The error appears on several lines (listing them all out here wont make sense).
    Am using DW CS4 on a windows 7 OS..
    Pls DW people I need some help with this one.. Speedy and valid response appreciated

    Oh my ...
    U really did this for me ?... I appreciate it SIR ... U even put my screen name up on the site.. Wow now I feel popular.. Thank u for all the hard work that u put into this. I really appreciate it..
    Where did the images go? And they do not link to the full story...
    U know wat this is my code.. I hope it gives a clear picture of wat I have been battling wt. See Below
    On page where feeds are to appear:
    <?php
    //XMLXSL Transformation class
    require_once('MM_XSLTransform.class.php');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    a:link{
        font-weight:100;
        color: #009;
        font-size:16px;
    a:link img{
        border:none;
    a:hover{
        font-size:17px;
        text-decoration:none;
        color: #966;
    a:visited{
        text-decoration: none;
        font-size:15px;
    a:visited:hover{
        font-size:17px;
        text-decoration:none;
        color: #963;
    #footer {
        padding: 0 10px;
        background:#DDDDDD;
    #footer #contentTickerarea1{
        overflow:hidden;
        margin: 10px auto;
    #contentTickerarea1 #headline1{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #contentTickerarea1 #headline2{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #contentTickerarea1 #headline3{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #contentTickerarea1 #headline4{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #footer #contentTickerarea2{
        overflow:hidden;
        margin: 10px auto;
    #contentTickerarea2 #headline5{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #contentTickerarea2 #headline6{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #contentTickerarea2 #headline7{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #contentTickerarea2 #headline8{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #footer #related{
        margin:15px auto;
    #footer #Botads{
        margin: 10px auto;
    #Botads #boxAds{
        overflow:hidden;
        margin: 5px auto;
    #boxAds #botAd1{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #boxAds #botAd2{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #boxAds #botAd3{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #boxAds #botAd4{
        margin-left:10px;
        float:left;
        width:200px;
        height:150px;
    #botbannerSpace{
        margin: 5px auto;
        width:600px;
        height:100px;
    #footer #siteStats{
        margin: 10px auto;
        height: 60px;
    #footer #Botlinks{
        text-align:center;
        margin: 10px auto;
        height: 60px;
    #footer #Botlogo{
        margin: 0 2px;
    #Botlogo img{
        width:100%;
    #footer #BotsocialMedialinks{
        margin:0;
        padding: 1px;
        height:25px;
    #footer #copyInfo{
        overflow:hidden;
    #copyInfo .copy{
        float:left;
    #copyInfo .poweredBy{
        float:right;
    </style>
    </head>
    <body>
    <div id="footer">
    motorsports Headlines
      <?php
    $mm_xsl = new MM_XSLTransform();
    $mm_xsl->setXML("../XML Files/RSS Feeds/XSLT/newsdocinfo treeGoogle.xml");
    $mm_xsl->setXSL("../XML Files/RSS Feeds/XSLT/headlines.xsl");
    echo $mm_xsl->Transform();
    ?>
    <div id="contentTickerarea2">
    <div id="headline5">
    <!--End of #headline5--></div>
    <div id="headline6">
    <!--End of #headline6--></div>
    <div id="headline7">
    <!--End of #headline7--></div>
    <div id="headline8">
    <!--End of #headline8--></div>
    <!--End of #contentTickerarea2--></div>
    <div id="related">
    related
    <!--End of #related--></div>
    <div id="Botads">
    <div id="boxAds">
    <div id="botAd1">
    <!--End of #botAd1--></div>
    <div id="botAd2">
    <!--End of #botAd2--></div>
    <div id="botAd3">
    <!--End of #botAd3--></div>
    <div id="botAd4">
    <!--End of #botAd4--></div>
    <!--End of #boxAds--></div>
    <div id="botbannerSpace">
    <!--End of #botbannerSpace--></div>
    <!--End of #Botads--></div>
    <div id="siteStats">
    <!--End of #siteStats--></div>
    <div id="Botlinks">
    <!--End of #Botlinks--></div>
    <div id="Botlogo">
    <!--End of #Botlogo--></div>
    <div id="BotsocialMedialinks">
    <!--End of #BotsocialMedialinks--></div>
    <div id="copyInfo">
    <div class="copy">
    <!--End of copy--></div>
    <div class="poweredBy">
    Powered by
    <!--End of poweredBy--></div>
    <!--End of #copyInfo--></div>
    <!-- end #footer --></div>
    </body>
    </html>
    the XSLT Fragment(created with help from DW), here I use an XML Source from google I saved it to my PC so I dont always have to be on the internet to work wt it :
    <?xml version="1.0" encoding="utf-8"?><!-- DWXMLSource="newsdocinfo treeGoogle.xml" -->
    <!DOCTYPE xsl:stylesheet  [
        <!ENTITY nbsp   "&#160;">
        <!ENTITY copy   "&#169;">
        <!ENTITY reg    "&#174;">
        <!ENTITY trade  "&#8482;">
        <!ENTITY mdash  "&#8212;">
        <!ENTITY ldquo  "&#8220;">
        <!ENTITY rdquo  "&#8221;">
        <!ENTITY pound  "&#163;">
        <!ENTITY yen    "&#165;">
        <!ENTITY euro   "&#8364;">
    ]>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" encoding="utf-8"/>
    <xsl:template match="/">
    <div id="contentTickerarea1">
    <xsl:for-each select="rss/channel/item">
    <div id="headline1">
    <xsl:value-of select="description" disable-output-escaping="yes"/>
    <!--End of #headline1--></div>
    </xsl:for-each>
    <!--End of #contentTickerarea1--></div>
    </xsl:template>
    </xsl:stylesheet>
    According to the help docs of DW .. It is always good to put the style of the fragment on the dynamic page itself to avoiding giving the servers a hard time.. Incase you asking just how I created the fragment: New->XSLT Fragment-> DW then presents you wt d option of using a local source file or using one from the net.. whichever u choose the schema of the source appears in the Bindings panel...
    Then to add this Fragment on the dynamic page.. U open the page in DW.. click Server Behaviors->click the + then click XSL Transformation...
    Phew.... Thats a lot of info aint it?
    Run my code as it is and see wat happens ... u might have to get ur own source to work wt..
    On the dynamic page when u do as I have explained above DW creates a link to the MM_XSLTransform.class.php file ...
    I hope all of this helps SIR
    Message was edited by: HJWJ

  • Ambiguous Namespace

    I use Dreamweaver to generate an XSL fragment and am
    embedding that in an .aspx page. When I load the page, I'm getting
    the following error message: "BC30560: 'XSLTransform' is ambiguous
    in the namespace 'MM'." This is the code Dreamweaver generates for
    me to insert the XSL fragment:
    <%
    Dim mm_xsl As MM.XSLTransform = new MM.XSLTransform()
    mm_xsl.setXML("
    http://webcentral.uc.edu/eprof/cfc/fetcheprofdata.cfc?method=getGroupMembersByName&groupna me=eprof.All.WestCampus.AS.BioSciences")
    mm_xsl.setXSL(Server.MapPath("byDeptMembers.xsl"))
    Response.write(mm_xsl.Transform())
    %>
    I'm a designer, not a developer, so please reply using
    language I might be able to understand or pass along to our server
    admin.
    Thanks in advance,
    Micah

    I just solved the problem!! In fact, you guided me to the solution. 
    I opened the reference list and deleted all un-necessary references to Microsoft.Office.Interop.Excel and kept just Microsoft Excel 12.0 Object library. The problem gone.
    The value of Microsoft.Office.Interop.Excel was 11.0, (if this is what you was asking for).
    It was my fault, I did not know how to reach the reference list!!
    Thanks all for your replies indeed. 
    Kind Regards
    God help the rich man, let the poor man beg!
    Aha!  It seemed the only reasonable explanation -- just a matter of ironing out the symantecs.

  • 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

  • How do I pass on dynamic urls to an xsl page from ASP?

    I'm new to this.
    On my asp page I have the xsl transformation as below:
    <%
    Dim mm_xsl: Set mm_xsl = new MM_XSLTransform
    mm_xsl.setXML "http://www.dummysite?q=var1&r=var2&s=var3"
    mm_xsl.setXSL "test.xsl"
    Response.write mm_xsl.Transform()
    %>
    How can I pass new var1, var2 and var3 from a form to change the url?
    Regards

    I'm new to this.
    On my asp page I have the xsl transformation as below:
    <%
    Dim mm_xsl: Set mm_xsl = new MM_XSLTransform
    mm_xsl.setXML "http://www.dummysite?q=var1&r=var2&s=var3"
    mm_xsl.setXSL "test.xsl"
    Response.write mm_xsl.Transform()
    %>
    How can I pass new var1, var2 and var3 from a form to change the url?
    Regards

  • Not all fields are getting updated in transformation

    Dear all,
    Please help me in the following issue:
    I have the following scenario:
    DSO1 and CUBE1. From DSO1 to CUBE1 I have transformation. Fields are mapped one to one.
    Some of the fields are getting updated in transformation (22 fields) and some of them are not updated in transformation. (2 - storage location and steel grade).
    The fields exist in DSO 1 but don't go into cube.
    I did the following:
    1. deleted transformation and dtp, recreate = > not working
    2. copied the cube, and create new transformation and DTP...not working.
    Any help would be appreciated
    Thank you
    Ramona

    Hi Ramona,
    Storage location (standard infoobject 0STOR_LOC) has plant as compunding object, check whether this is the issue ? (may be check with Steel grade infoobject also).
    Else, do some RSRV checks on the DSO and Infoobject, if it doesn't bring up any issue, raise a message with SAP.
    Check your BW Support Pack level , is it the latest ? Give more details about the scenario ?
    Cheers,
    CK

  • Transformation Issue: HR - PA

    Hi,
    I'm working on SAP HR-PA stuff.
    In standard data flow,  0HR_PA_0 & 0HR_PA_1 datasources feeding data to 0PA_C01 Cube.
    Our detailed reporting requirements demands me to insert a DSO in between. I created a DSO with same fields as cube, and copied all the routines in the update rules and loaded data and everything is working fine.
    Now, I wanted to use BI 7.0 functionality, So, i selected update rules -> Additional functions -> Create Transformation. .
    This will convert all 3.5 routines into BI 7.0 routines, I guess.
    But, after the data loads, surprisingly these transformation populating wrong data into DSO.
    Is this the right way to create transformation from update rules?
    Thanks,
    V

    Hi Vas,
    I just read your thread on sdn for 0PA_C01 cube.
    I need a small help from you.
    I am also working on the same cube, same like you I am migraitng the data flow from 3.5 to 7.0. I have few routines in the update rules which i need to convert it to oops abap in bi7. You have this cube in 7.0 already. So, can you please send me the routine code you have. Actually i am not a abaper and my client also dont have any bw-abap person. I need to do some manual changes in the code. My data flow is exactly same as your data flow. I am unable to solve this problem from long time.
    And also I need to put dso inbetween the flow as per our clients requirements. So where did yu out the start routines and infoobject routines in update rules of 3.5 to 7.0, i mean at what stage?, before dso or after dso? Also I have the INCLUDE in my routines that I am worried about.
    If you provide me the code, i will really appreciate it. And in future we can share the knowledge as well.
    Thanks.
    Regards,
    Harshal Panchal

  • Transformation - Fields Missing!!

    Hello Experts,
    I am facing a strange issue in the transformation beteen DSO to Cube.
    My DSO Contains 148 fields while in the transformation I can see only 131 fields.
    IN thedevelopment Box the transformation appears fine but in the Acceptace box the mentioned problem
    occurs.I tried regenerating the export datasource, activated & transported the DSO but all in vain.
    PLease help.
    Thanks,
    Suyog

    Hi,
    Go to RSA1--> Data sources Choose source system as BI and find for data source with 8<DSO name>. Once you get the data source ,select change from context menu --> go to Fields tab and check under column Transfer (5th Column) for all fields . If any field is unchecked then check and activate data source to see all fields in Cube transformations.
    hope it helps...
    regards,
    Raju

  • Regarding Field Missing in Dso Transformation

    Hi
    Folks
    I am facing the issue like
    In Datasouce to DSO transformation i can see the 55 objects in DSO table, and in DSO to Cube Transformation i can see 54 fields in DSO table, one field is missing , the object  0TXTSH(short discription) is mapped to field 0TXZ01in DS to DSO transformation.
    so How can i get the field in DSO to Cube transformation.??
    any settings have to be change???
    waiting for yours Valuable answers
    Regards
    Anand

    Hi,
    Please identify the object and check it whether it is an attribute or a characteristic, if it is attribute only disable that option then check it.
    Regards,
    Srinivas

  • How can I display XSLT transformer errors on a web page ?

    Hi,
    I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
    static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
            // instantiate the TransformerFactory.
            TransformerFactory tFactory = TransformerFactory.newInstance();
            // creates an error listener
            XslErrorListener xel = new XslErrorListener();
            // sets the error listener for the factory
            tFactory.setErrorListener(xel);
            // generate the transformer
            Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
            // transforms the XML Source and sends the output to the HTTP response
            transformer.transform(new DOMSource(docXML), new StreamResult(pw));
    }If an exception is thrown during the execution of this code, its error message is displayed on the web page.
    This is the listener class:
    public class XslErrorListener implements ErrorListener {
        public XslErrorListener() {
        public void warning(TransformerException ex) {
            // logs on error log
            System.err.println("\n\nWarning on XEL: " + ex.getMessage());
        public void error(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nError on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
        public void fatalError(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
    }When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
    [Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
    Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
    "Could not compile stylesheet".
    How can I display the real cause of the error directly on the web page?
    Thanks,
    Andrea

    This code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
    As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
    In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
    I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
    (1) capture the Transformation exception on the server;
    (2) extract the message from the exception and put it into a message that can be easily understood by the user;
    The current error message that you have going to the web browser is not useful.
    And you should not have the Transformation exception sent to the web browser either.
    What you are attempting to do with the exception is not appropriate.
    Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
    />

  • How to delete the rule in transformation

    Hi all ,
    I have remodeled the info-cube and added one characteristics ZRMACTTRS.  This characteristics got updated in transformation rule..Now i want to delete it from transformation but i am unable to do so ..
    I tried  deleting  the rule and message was populated "one rule is successfully deleted  " but yet it is not removed from transformation structure (this rule has a key,can i remove key from rule ?).
    I have tried to remove the characteristics through remodeling but delete characteristics request is not getting active...
    Please help

    yoiu can try by putting the rule to 'initial' (in rule details)...ignore the subsequent warning and delete the arrow with a right-click. Then activate your rule again...maybe this will work.
    M.

  • Error while assigning constant to infoobject in open hub transformation

    While assigning constants(in rule details) to infoobject in a transformation in a open hub I am getting an error "The Object Name is not allowed to be empty"
    Can anyone tell my why this is happening? What should I do now?

    Hi,
    In the transformation, have you connected that rule to any target field of your destination? If not, then do that and then try to create the routine.
    Regards,
    Vaibhav

  • Error while activating transformation  ----   Message no. RSTRAN510

    Hi,
    while I am Extrating Data From Flat File I encountered this Error.
    I am working on <b>ECC 6.0 , BI 7.0.</b>
    I am trying this one in IDES, it is newly installed server.
    For Flat File Extraction I follwed the Steps
    1) I created Data source -
    let us assume I have created a Flat File with 3 fields
    SNO SNAME MARKS
    File is located in workstation
    Data source created successfull , I have checked in preview.
    2) I have created 2 key Figures, 1 characteristic
    3) I have created Infocube
    <b>here I have some doubt</b>
    while I am creating Infocube, the look and Feel is very different to 3.XX
    when i try to create in 3.XX , we can see the Tabs for Kef figs,chars,Time chars and we assign chars to Dimenstions.
    when i am creating Infocube in BI 7.0 , I don't Find such a Tabs and how I am assign the chars to Dimension
    I created Like this
    select
    Info Area -
    > create Info cube   -
    given name of the cube and create (F5).
    the Info cube window displayed on the Right side
    Then I did like this
    select
    key Figures -
    > Info object Direct Input   
    Then I inserted my two key figures SNO,MARKS
    --- continue (F5)
    Dimension 1 -
    >  Info object Direct Input    
    I inserted the 1 char  SNAME
    --- continue (F5)
    Then I saved the Info cube
    Info cube saved successfull and activated successfull
    <b>Is it Right way For create InfoCube ?</b>
    4) I created Transfomation for the Data source
    Data source -
    > create Transfomation
    I have given
    Object Type  : InfoCube
    Name           :YSTU    - i selected which I already created.
    It automaticall taken these parameters
    Obejct Type     : DataSource
    Data source     : YSTU
    source system :PC_FILE
    create Transformation (Enter)
    I got the Error
    <b>Cannot generate proposal</b>
    <b>Message no. RSTRAN017</b>
    Then I try to activate, I got the Error.
    <b>Error while activating transformation</b>
    <b>Message no. RSTRAN510</b>
    Before I post this , I had searched in Previous SDN post for this Error , But I can't understand the solution.
    I have lot of doubts like <b>Basis Guy need to install any Patch</b> or
    I did mistake any where.
    Help me to Find the solution...
    sure you can get the points
    Thanks
    prasanna

    Thank You so much Voodi, yes you are Right , I am not concentrated on Mapping, Now Transformation is activated.
    and i created Info Package too for the Data source , created successfully.
    I am struck on Final step  <b>creating DTP</b>
    when I am creating DTP
    Data Transfer Proc  : here I need to give the Dtp name ex: YDTP
    DTP Type               : Standard (Can be sheduled)
    Target of DTP
    <b>Object Type</b>       : Info cube
    <b>Name </b>               : YSTU  (This is my Cube Name)
    Source of DTP
    <b>Object Type</b>     : Data source  (It automatically Taken)
    <b>Data source</b>     : This is Disabled
    <b>Source system</b>:  This is Disabled
    continue (Enter)
    I got the message ?
    <b>Specify Name of source</b>
    and courser is in <b>Data Transfer Proc </b>
    Thanks
    prasanna

Maybe you are looking for

  • Report Template - Standard, Alternating Row Colors

    I'm using APEX 4.1.0 and theme 22 on Oracle 10g. I have some tabular forms in my application. For 2 of those, row deletions are allowed and I have the usual select box column to manage the row deletions. Also my users like the "Standard, Alternating

  • Can I set up a RAID 1 Array by adding a drive to an existing install?

    Hi All: I have a K8N Neo2 with a 160GB Seagate SATA drive on it, and just bought an identical drive that I want to use for a RAID 1 array.  My question is this: Do I need to do a complete reformat with the OS in order to setup RAID 1?  With my old sy

  • VAT code on vendor

    Is it possible to restrict the VAT code(s) on a vendor account?  For instance invoices on vendor master 999 should only be posted with VAT code M1 or eventually with the M* range of VAT codes. We talk about a larger number of vendors otherwise it was

  • Regular Expressions for converting HTML to Structured Plain Text

    I'm writing a PL/SQL function that will convert HTML to plain text, but still preserve some of the formatting/line breaks. One of my challenges is in writing a regular expression to capture the text blocks while ignoring the markup. I'm trying to wri

  • Are there any planned LiveView Updates?

    Just wondering if there are any planned software/firmware updates in the works or is this product considered good as is / end of life. As it stands as is my liveview is about 2 feet from the garbage can.