Xml feed slideshow pasing variables to detail  page .... confusion ... Help Needed

Hi there Everyone
hi Gunter
I aam having some problems...... yet again.....
I did have this all working but now I cannot get it to work .... driving me crazy
A few months ago I had a post on this forum to help me pass a variable from my list page to a detail page that contains an XML flash slideshow that gets, loads, feeds, its image info from a separate 'getpi.php' page that contains the xml info to feed the slideshow
i still have my other site (still not finished) working with an art gallery that is still working fine ....the same as what I want now but I cannot copy the way I did it to my new site... very frustrating
Now I have been trying to do exactly the same thing again but I cannot get it to work no matter how hard I try ...(more than 10 solid hours..really)
i will start the same as before and explain what I have and what I cant get to work....
For a start I am making a site with a lot of users with a list user and detail user pages ..... and on the detail pages I would like a slideshow that feeds form another page my 'getpic.php' page ( feed more pictures from the users... five extra pictures to be displayed in a slide show )
I have my listusers.php page working well ... it lists my users and passes a URL variable to the detail page ..... the url variable is 'id_usr'
I have my userdetail.php page working well.... it displays all the correct pictures from the correct users ..... I have inserted 6 different images... a main picture and all the 5 pics that need to be in the slide show..... (using show image behavior)
(so I know that the detail page is recieving all the correct pics)
I have the record set on my detail page set to filter by
id_usr url varriable = id_usr
Is that correct? .... i think it is .. . just want to be sure
now I also have a getpic.php page (that feeds the slideshow)
I also have a testslideshow.php page that has a slide show inserted in it and that has a recordset that is not filtered by anything .....
When I test the testslideshow.php page it works ... It uses the getpic.php page to retrieve the pics for the slideshow and it works 100%
So I am pretty sure the get pic page works too......
Now it gets difficult for me .......
The last time I asked about doing this You (Gunter)gave me some code to past at the top of me userdetail.php page and my getpic.php page....
now I cannot get it to work at all
First the getpic.php page.....
The first bit of code to be put at the top of the getpic.php page is
to be put at line 1
(this is the same as before and still works fine on my other site)
and I have set the record set on the getpic.php page to filter by
id_usr session variable = session_id_usr (I have tried id_usr too)
Does that all sound correct?
Now my detail page
You (Gunter)wrote me some code to stick at the top of my detail page ....
Now I have modified this code to use my new variable 'id_usr'
Does that sound correct?
The recordset on my userdetail.php page is filtered by url variable id_usr
And i have also tried to filter the recordset by session variabl = session_id_usr ( and just id_usr )
I am REALLY lost
I have tried every possible combination of this and I cannot get it to work I haad it working before and I cannot get it to work now .... which makes me feel even worse .......
Could you please look at all this and tell me if ..... or what I am doing wrong .........
I am really sorry for brining up the same topic i

Hi there Everyone
hi Gunter
I aam having some problems...... yet again.....
I did have this all working but now I cannot get it to work .... driving me crazy
A few months ago I had a post on this forum to help me pass a variable from my list page to a detail page that contains an XML flash slideshow that gets, loads, feeds, its image info from a separate 'getpi.php' page that contains the xml info to feed the slideshow
i still have my other site (still not finished) working with an art gallery that is still working fine ....the same as what I want now but I cannot copy the way I did it to my new site... very frustrating
Now I have been trying to do exactly the same thing again but I cannot get it to work no matter how hard I try ...(more than 10 solid hours..really)
i will start the same as before and explain what I have and what I cant get to work....
For a start I am making a site with a lot of users with a list user and detail user pages ..... and on the detail pages I would like a slideshow that feeds form another page my 'getpic.php' page ( feed more pictures from the users... five extra pictures to be displayed in a slide show )
I have my listusers.php page working well ... it lists my users and passes a URL variable to the detail page ..... the url variable is 'id_usr'
I have my userdetail.php page working well.... it displays all the correct pictures from the correct users ..... I have inserted 6 different images... a main picture and all the 5 pics that need to be in the slide show..... (using show image behavior)
(so I know that the detail page is recieving all the correct pics)
I have the record set on my detail page set to filter by
id_usr url varriable = id_usr
Is that correct? .... i think it is .. . just want to be sure
now I also have a getpic.php page (that feeds the slideshow)
I also have a testslideshow.php page that has a slide show inserted in it and that has a recordset that is not filtered by anything .....
When I test the testslideshow.php page it works ... It uses the getpic.php page to retrieve the pics for the slideshow and it works 100%
So I am pretty sure the get pic page works too......
Now it gets difficult for me .......
The last time I asked about doing this You (Gunter)gave me some code to past at the top of me userdetail.php page and my getpic.php page....
now I cannot get it to work at all
First the getpic.php page.....
The first bit of code to be put at the top of the getpic.php page is
to be put at line 1
(this is the same as before and still works fine on my other site)
and I have set the record set on the getpic.php page to filter by
id_usr session variable = session_id_usr (I have tried id_usr too)
Does that all sound correct?
Now my detail page
You (Gunter)wrote me some code to stick at the top of my detail page ....
Now I have modified this code to use my new variable 'id_usr'
Does that sound correct?
The recordset on my userdetail.php page is filtered by url variable id_usr
And i have also tried to filter the recordset by session variabl = session_id_usr ( and just id_usr )
I am REALLY lost
I have tried every possible combination of this and I cannot get it to work I haad it working before and I cannot get it to work now .... which makes me feel even worse .......
Could you please look at all this and tell me if ..... or what I am doing wrong .........
I am really sorry for brining up the same topic i

Similar Messages

  • Detail page navigation help needed

    I am running 9iAS 9.0.2 and have a MD Form that displays 10 detial records at a time. I need to develop functionality to allow my users to move between detail pages without having to click "Next","Next","Next",etc....
    I was thinking of using the functionality of the onDetailNext procedure as part of the return value in a combobox LOV for the detail pages, but I don't know what to set the variables to, or if this is even possible.
    My code outline right now is. THis does a simple next. I don't know how to set it to jump to the 3rd or 4th page etc.
    BEGIN
    onDetailNext(
    p_block_name => null,
    p_object_name => null,
    p_instance => null,
    p_event_type => null,
    p_user_args => null,
    p_session => p_session
    END;
    Help on this, or info on a better way to do this would be great.

    As of now, there aren't any simple ways to jump to the nth page. You will have to do a lot of coding yourself.
    Please see the form's package body to get an idea how form's paginate between multiple records.

  • How to find end of the Page in Crystal ? or I need to add one Horizontal line at the end of the page.--- URGENT HELP NEEDED

    Hi friends,
    I need to add one horizontal line  for the detail section at the end of the page.
    I tried to put that line in page footer and i tried with Box also. Both are not properly working. Some space problem is coming.
    Is there any feature to find end of the Page.
    I want report format like this.
    set id  |  set name |  date  Name
      1         x           dddd   vijay
                            dddd   sarathi
                            dddd    reddy
    (End of the page)
    Thanks in advance...
    vijay.

    Do you know how many detail records are showing up per page?
    If you do - you could create a Details B section that is suppressed except for on Record N (where N is a counter, and N is the last Detail record that will show up on a page).
    The Page footer is indeed built so that it will be rendered at the bottom of your physical page of paper.

  • Variables into flash movie  -  Urgent help needed, please

    I am hoping this is simple:
    Here is my HTML code:
    <param name="movie" value="orig2.swf" /><param
    name=FlashVars VALUE="sname=video1.flv"><param name="quality"
    value="high" /><param name="bgcolor" value="#ffffff" />
    I need to pass video1.flv to the flash movie.
    Here is the MOVIE data. I was told this is how to do it, but
    I am sure it's missing something basic.
    //insert sample link below
    mediaDisplay.directLink = "
    http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
    //pulls sname from param value in HTML
    mediaDisplay.simplePlaylist = sname;
    streamnameTxt.text = sname;
    So, it should pull the SNAME variable from HTML and feed it
    into player. If I type in SNAME variable and manually place it in
    DirectLink line above, it works, but I need it to feed from HTML.
    PLEASE HELP!!

    I know how to pass the variable TO flash, but how do I get
    the FLASH movie to receive it??
    Again, here is the code in the FLA file
    //insert sample link below
    mediaDisplay.directLink = "
    http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
    //pulls sname from param value in HTML
    mediaDisplay.simplePlaylist = sname;
    streamnameTxt.text = sname;

  • Subtotal at end of each page..help needed

    Hi,
    I have a requirment like:-
    I have to display subtotal (sum of amount) at the end of each page,for some organization unit.
    but the problem i am facing is:=e.g.
    I have to dispaly three columns department number,employees and salary.
    if for organization unit=10,
    there exist ten departments and the hole data for that org. unit is going beyond one page, then at the end of first page for that organization unit subtotal should be displayed.
    My logic is:-
    I have applied format trigger on subtotal,which will dispaly subtotal filed after every 10 department number (This is like hardcoded logic)work fine for most of the org unit.
    but the problem comes when number of employees for some department increases to the level that count of department=10 comes at next page so subtotal will be displayed in between the second page.
    Can anyone suggest me the logic for same...it's really very urgent.
    Thanking you
    Edited by: user599509 on Sep 6, 2008 10:53 PM

    Please don't post such hard to read posts.
    Pages will thread inline tables from page to page but not if the cells are larger than the page.
    Tables break on cell boundaries.
    Floating objects are those that are not part of the text. that is they are free to move on the page. There is not complete compatibility between Pages and Word and differences will occur.
    Peter

  • Page Peel Help Needed.

    Cheers, been struggling with this and would like to know if anyone can shed some light. I have a Page Peel here that works fine in a plain index.html with nothing except the peel on it:
    Here are the source and picture:
    The problem is when I try to apply the Page Peel to my existing high_res.html, it doesn´t work, it only shows my flash movie background but no peel!
    Here are the source and picture:
    Here is the code used on my high_res.html
            // Forneça um conteúdo alternativo para navegadores que não oferecem suporte     // para scripts, ou para aqueles em que os scripts estejam desativados.       O conteúdo HTML alternativo deve ser inserido aqui. Este conteúdo requer o Adobe Flash Player.       Obter o Flash
    I have no idea what can be wrong here, been doing some research and read something about pagel peel being under flash file due to lack of transparancy, but I gave up, headache is getting stronger.
    Hope someone can help me out here.
    Thanks

    Problem solved!
    Great thing about receiving no help is having to somehow figure it all out by yourself.
    Mission accomplished.

  • How do you know if the battery is dead? Detailed history. Help needed!!

    So here's the story.
    Bought the PowerBook G4 1.67GHz used off a trusted friend. Worked fine for 3 months or whatever up till yesterday basically.
    The charger was in, orange light, but the charger in the corner was going from "Charge" to "15%" and switching (and decreasing) every 3 seconds so it seemed it wasn't really charging it or picking up the signal.
    Eventually the thing died, and I thought I'd leave it off and charge (even if it is slowly) so that it will eventually be back up. The screen lid push button was lit up/glowing, so it must've gone into auto sleep.
    It wouldn't turn on after that, even around 4 hours later, so I tried pushing in the the charger in a different way just to check and realised if i pushed it one way it would go Green and stay, but if i pushed it another way it would go Orange and stay. Wierd. Was it fully charged or not? It wasn't I think.
    Eventually somehow, It seems a bit of charge got to it and I managed to get the Sleep password screen up and entered it in, then quickly shut it down before it depleted whatever was left already.
    After this, the charger still did the same Orange / Green thing.
    I looked up the problem and found a lot of those PMU reset things, did all of them to no avail. I realised that apparently the actual laptop should be able to support itself and boot without a battery - so I tried that, took out the battery and tried booting a lot of times but nothing happened.
    Could it be the logic board? I knew that one of the Memory slots in the PB was actually non functioning so I knew it could be something.. Also another known problem was that a piece of the stupid charger prong on the PB charger broke, inside the laptop, but it was like that for around 6 weeks and always charged still. If it was that I assume that the charger wouldn't pick up a light at all then.
    The light is still green on the laptop charger ring, but the laptop does nothing at all I can't afford a new laptop lol. I will give my local Sydney city Apple centre a ring and see if they have alternate batteries / chargers I can try but since its around 2-3 years old, I don't think they'll be able to help.

    Fixed!
    Took it to the Apple Store. They tried getting the stuck piece out for 20 seconds but to no avail. They searched for a spare battery and found one with charge and it worked fine. Quoted $80AU for the DC In Board and $150AU for the labour to get it fitted and fixed.
    Took it home, spent half an hour with two sewing pins and managed to hook it out.
    Now going to buy a new charger tomorrow (3rd-Party or Apple brand if out of stock everywhere else) and will be able to take it interstate with me after New Years! Woot woot!
    Genius Bar is a huge help. God bless Apple and their customer service team.

  • Tab page problem help needed

    Hello all,
    I have 8 tabs in my form and has different items in each tab. it has 2 seperations, Top single record based on block A and table A and bottom multi record based on block B and table A. (both blocks are based on same table but exists on 2 different block bcos of some functionality we had to design like this)
    I have implemented a functionality where in i have a button called COPY and if user selects an item A from top block and click on COPY, the system will copy the value in item A from block A to same item A in block B only where checkbox is clicked(i have a checkbox in bottom multi record block). now everything is working fine.
    my question is the checkbox which is in multi record block can be placed in only one tab, now it is in first tab but what should i do if i want to have checkbox in all the tab and based on the selection of the checkbox the diff items in diff tabs should be copied
    please tell how to do this also let me know if anyone did not understand my question
    Thanks
    Vinod

    as per my screen design, placing the checkbox on the main canvas instead of inside the tab is very difficult. the tab width is extended to the max.
    i want to create only one checkbox and as the user changes the tab, the position of the checkbox will move to the diff tabs.
    i do not want to create 8 checkboxes.
    how to do this
    Vinod

  • Master detail page problem

    hi all:
    i'm using jdeveloper10.1.2 i developed a master detail page but i need to put a button when the user click this button it will display the the detail table and by default the master table is loaded when the page is browsed and the detail table is hided how can i do it using jsp?????
    Best Regards

    Look at the 10.1.2 Help.
    Search on index for master-detail, with search title Creating a single JSP Page mast working with....

  • Creating Page Level Help Screens

    Hi there
    I have been asked to include a link to page-level help in our EP implementation.
    Now, I can find the property(s) that need to be set in order to get the link to appear, but where do I set the content for the particular page?
    In the masthead, there is a hyperlink for help, which redirects the user to SDN, but I remember reading somewhere where that is defined, so I'm not too worried about updating that or getting rid of it completely.
    The page level help needs to be page-related, ie. the help content that is displayed must depend on the page from which the link was clicked.
    Is this possible?
    Any help would be greatly appreciated.

    Sure no problem 
    First I created an EP implementation for help  (You can do this with WebDynPro or EP your call)
    Second you have to create an IVIEW from the portal administration tab, you can do if create IVIEW from par if you have it uploaded or create it from the imported WebDynPro Target up to you. 
    Second when you create the page you include your iview as expained above and under properties of the page  (this means don't check the iview box when you look at properties) ensure it opens up in a new window.  This will give you a pop up help menu that you programmed yourself.
    I used EP because WebDynPro seemed to be slow.  Basically my help pages where just links with CSS that pointed to another server (DMS server) that was open to http links to bring up help documents for our portal.
    I hope this helps
    Cheers,
    Devlin

  • Passing two variables in the body of the URL using the go to detail page SB in ASP

    Hi all,
    Would appreciate your assistance with the following, I'm
    trying to set up a go to detail page sb that passes two variable in
    the body of the URL rather than the standard one.
    The code i've tried is -
    <td><A HREF="gggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>&amp;"PCL1ID=" +
    othermenutwo.Fields.Item("PCL2PC1ID").Value
    %><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></A></td>
    Where the PCL1ID and the PCL2ID are the variables
    The normal code generated by the go to detail page sb with
    one variable is -
    <td><a href="ggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>"><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></a></td>
    Unfortunatley my code tweaking isn't working as the second
    variable isn't being sent, any help would be gratefully appreciated
    Thanks

    Instead of using DW's 'go to detail page' option, simply set
    up the link the manual way in DW using the Link browser. Select the
    file you want to link to and then use the parameters button at the
    bottom of the 'Select File' dialogue to set the parameters to be
    passed with the link. You can then manually set the name of the
    parameter to be passed and then select its value from a recordset.
    The key thing is that you can set as many parameters as you like,
    so you can set both the parameters you want.
    On the detail page you then filter by the parameter name you
    chose (or both).
    Personally I always code links this way rather than using the
    go to detail page option as you get much better control of what is
    going on.

  • Use of Session Variable in Dashboard Page XML

    Hi All,
    Can we use a Session variable in the Dashboard Page XML?
    My Requirement is,
    There are 1000+ users, each user will have access to same dashboard. But a different report in the same dashboard.
    So we want to Save individual user reports in the location /users/LOGIN_NAME/Financials/ABC
    and dynamically change the Dashboard Page XML, to accept Session Variable VALUEOF(NQ_SESSION.USER) in place of LOGIN_NAME.
    So that for each user, they will see only their report.

    On the face of it, Session is ideal for this, however this is SharePoint and the obvious isn't always the best. 
    You'd need to do the calculation about memory usage and number of concurrent users to ensure it really is a viable option in Production. 
    If it isn't viable, or wouldn't scale to possible future usage what would you do? Then you need to ask if it's really necessary to move between pages? If the user needs to move through a dialog for example, that could be hosted on a single page which might
    have different controls or sections made visible as the user progressed through the use case.
    Passing data between pages in SharePoint is a lot more difficult than it should be. Sometimes it's best to stay put, and certainly safer than using Session if you're really not sure if Session will stop your solution from scaling.
    Always remember, SharePoint might be hosted on ASP.NET but the design considerations are significantly different than if this were a pure ASP.NET application.
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • Master-detail reports with variable number of pages in a big report

    I am designing with Reports 6.0.5.32.0 a master-detail report such as a
    combination between a customer with his name, address etc, at the top of
    the page (always 60% of the first page) and then as details lines with his orders.
    For one customer seems relatively OK with the variable number of pages in accordance with the number of his orders.
    When the main query finds more customers I present always the customer at the top of
    a new page (that's easy), but how can I control the number of the next pages for the orders, variable for every customer.
    I can not predict how many pages are necessary for a customer and white pages are
    not desirable. When the number of Max. Vertical Body Pages is too low I can get the next pages for every customer, but appears an
    uncontrollable shift to the left.
    For instance, a customer with 40 orders needs 3 pages, one with 4 orders only 1 page, one with 15 orders 2 pages, etc.
    What's the magic property for a secure and precise layout?

    Hi Andreas,
    did you try setting vertical spacing to expand or variable on master repeating frame (and posible other frames surrounding master repeating frame)?
    Hope this helps

  • URL parameter to a detail page

    Hello,
    I a m having trouble with my url parameter which is not fetching the correct record. The code works -  and returns a word title and description; but it returns only the top record no matter which link is used. Please help.
    1. I have a master page with three url links which are sent to the detail page:
    <p><a href="sprydetail.html?word=integrity">integrity</a></p> 
    <p><a href="sprydetail.html?word=voice">voice</a></p>
    <p><a href="sprydetail.html?word=argument">argument</a></p>
    The sprydetail.html page looks like this:
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryURLUtils.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var ds1 = new Spry.Data.XMLDataSet("myxml.xml", "tagwords/tagword/word");
    var ds2 = new Spry.Data.XMLDataSet("myxml.xml", "tagwords/tagword/description");
    //-->
    </script>
    </head>
    <body>
    <div spry:region="ds1">
      <h1>{word}</h1>
    </div>
    <div spry:region="ds2">
      <p>{description}</p>
    </div>
    </body>
    My xml file looks like this:
    <tagwords>
    <tagword>
    <word>Integrity</word>
    <description><![CDATA["in·teg·ri·ty [in-teg-ri-tee] Show IPA noun 1. adherence to moral and ethical principles; soundness of moral character; honesty. 2. the state of being whole, entire, or undiminished: to preserve the integrity of the empire. 3. a sound, unimpaired, or perfect condition: the integrity of a ship's hull."]]></description>
    </tagword>
    <tagword>
    <word>Voice</word>
    <description><![CDATA["voyss [voyss] Show IPA noun"]]></description>
    </tagword>
    <tagword>
    <word>Argument</word>
    <description><![CDATA["arg-u-ment[arg-u-ment] Show IPA noun"]]></description>
    </tagword>
    </tagwords>

    1. I have a master page with three url links which are sent to the detail page:
    <p><a href="sprydetail.html?word=integrity">integrity</a></p> 
    <p><a href="sprydetail.html?word=voice">voice</a></p>
    <p><a href="sprydetail.html?word=argument">argument</a></p>
    Please remember that the URL variables are case sensitive, ie if the variable that you are looking for is Integrity then the variable cannot be integrity.
    The sprydetail.html page looks like this:
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryURLUtils.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var ds1 = new Spry.Data.XMLDataSet("myxml.xml", "tagwords/tagword/word");
    var ds2 = new Spry.Data.XMLDataSet("myxml.xml", "tagwords/tagword/description");
    //-->
    </script>
    </head>
    <body>
    <div spry:region="ds1">
      <h1>{word}</h1>
    </div>
    <div spry:region="ds2">
      <p>{description}</p>
    </div>
    </body>
    Change the above to
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
    <body>
    <div spry:region="ds1">
      <h1>{word}</h1>
    </div>
    <div spry:detailregion="ds1">
      <p>{description}</p>
    </div>
    <script src="SpryAssets/SpryData.js"></script>
    <script src="SpryAssets/xpath.js"></script>
    <script src="SpryAssets/SpryURLUtils.js"></script>
    <script>
    var params = Spry.Utils.getLocationParamsAsObject();
    var ds1 = new Spry.Data.XMLDataSet("myxml.xml", "tagwords/tagword[word ='"+params.word+"']");
    </script>
    </body>
    </html>
    First of all I prefer having the JS at the bottom of the document, not absolutely required. Next I have gone for one dataset showing a region and a detailregion. I have also extracted the URL variable placing this into params, the individual value params.word has been used in the xPath definition.
    Gramps

  • How to create/call dynamic XML feed from CFC - HELP PLEASE!!

    Hi All,
    First off I'm a newb to web services.  I'm trying to create the invoke a web service on a CFC for a XML feed.  When I call the CFC directly all looks fine and is correctly formatted etc:
    http://www.prevu.tv/cfc/xyzTest.cfc?method=listPlant
    Am I correct in outputting it in this way?  What if I output as a string instead......would others be able to consume it?
    When I try to invoke it as a web service I am getting an error I do not understand.  I am trying to call it using (user/pass not required in CFC):
    <cfinvoke webservice="test" method="listPlant" returnvariable="foo">
    <cfinvokeargument name="username" value="abc">
    <cfinvokeargument name="password" value="123">
    </cfinvoke>
    <cfoutput><cfdump var="#foo#"></cfoutput>
    Here is my CFC code:
    <cfcomponent>
        <cffunction name="listPlant" access="remote" returntype="xml" output="no">
        <cfargument name="username" type="string" required="no">
        <cfargument name="password" type="string" required="no">
            <cfquery datasource="#request.dsn#" name="getPlant">
            SELECT                *
            FROM                  plant
            INNER JOIN        plantaddress ON plant.plantID = plantaddress.plantID
            WHERE              icePlantID IS NULL
            AND                   categoryID NOT IN (9,10,11)
            AND                   statusID = 1
            AND                   activePlantList = 1
            ORDER BY        plant.plantID LIMIT 5
            </cfquery>
            <!---Convert Query to xml--->
            <cfprocessingdirective suppresswhitespace="Yes">
            <cfcontent type="text/xml; charset=utf-8">
            <cfxml variable="xmlobject">
            <PrevuPlant>
                <cfoutput query="getPlant">
                <Plant>
                    <PlantID>#plantID#</PlantID>
                    <PlantName>#XmlFormat(plantName)#</PlantName>
                    <Street>#XmlFormat(street)#</Street>
                    <Suburb>#XmlFormat(suburb)#</Suburb>   
                    <City>#XmlFormat(city)#</City>
                    <State>#XmlFormat(state)#</State>
                    <Country>#XmlFormat(country)#</Country>
                    <PostCode>#XmlFormat(postcode)#</PostCode>
                    <Latitude>#XmlFormat(latitude)#</Latitude>
                    <Longitude>#XmlFormat(longitude)#</Longitude>
                    <CountryCode>#XmlFormat(countryCode)#</CountryCode>
                    <AreaCode>#XmlFormat(areaCode)#</AreaCode>
                    <Phone>#XmlFormat(phone)#</Phone>
                    <Fax>#XmlFormat(fax)#</Fax>
                </Plant>
                 </cfoutput> 
            </PrevuPlant>
            </cfxml>
            <!---Convert back to a string--->
            <cfset myvar=toString(xmlobject)>
            </cfprocessingdirective>
        <cfreturn myvar>
        </cffunction>
    </cfcomponent>
    Can anyone please tell me where I am going wrong, or how the output for a XML feed called from a CFC should look in a browser etc?
    Thanks

    Hey Dan....thanks for the prompt reply.
    I added the wsdl and this is what I get when I call the service from this cfm page: http://www.prevu.tv/xyzTest.cfm
    Have never seen output like this.  Is this correct?
    The web service I'm writing is also for some .net developers so it may be that I need to output as string also - this discussion has not taken place yet.

Maybe you are looking for