Skip to Content

XML Path Replacement Help

I'm trying to get this XML Path stuff working and I'm not having a lot of luck. Can anyone tell me what might be wrong with this example? I'm just trying to output the name of the query in a text item.

I have the XML being generated for DP_1. The error message is no help at all. "Error during command processing"

<bi:TEXT_ITEM name="TEXT_ITEM_1" designheight="70" designwidth="200" >
                <bi:WITH_TRAY type="CHOICE" value="X" text="" >
                    <bi:TRAY_SETTINGS type="COMPOSITE" >
                        <bi:CAPTION path="DATA_PROVIDER:DP_1?/BICS_VIEW/QUERY/@text"></bi:CAPTION>

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 28, 2008 at 05:03 AM


    Which command did u try to get this done? I think you need to do the following:

    1. Add a data provider information item for DP_1.Set it property "Output Display" to on(the checkbox in the web item parameters for the 'data provider information item').

    2. Create a command at 'web template' level--Set_Web_Item_Parameters command, for the web item involved.

    3. In this command give a hard coded text value say 'Label1'.

    4. Execute the report and right click-> View source. Search for the term 'Label1'.

    5. Follow the path in the starting from BICS_VIEW till the word 'Label'. Copy this.

    6. In the HTML tab in the WAD replace the part value = 'Label1' with path = <result from step5>



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 30, 2008 at 08:24 PM

    abandoned using XML Path Replacement

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.