Hi Jacopo Cappellato,
Thnks it solved my problem and also gave me new concept for implementatioin
of different Formats,..
Thanks and regards
Phani

On 8/7/06, Jacopo Cappellato <[EMAIL PROTECTED]> wrote:

Hi,

in the controller's view definition for that screen, specify the correct
content-type; see for example how it is set the content type for PDF
documents:

<view-map name="InvoicePDF" type="screenfop"
page="component://accounting/widget/AccountingPrintForms.xml#InvoicePDF"
content-type="application/pdf" encoding="none"/>

I think that the right content type for xml files is "text/xml"

Jacopo

G.Venkata Phanindra wrote:
> Hi,
>       I want to display XML data for a requested URL.
>            I have defined a reference in contentscreens.xml file as
follows
>
>    <screen name="sitemap-gsmp">
>        <section>
>            <widgets>
>                    <platform-specific><html><html-template
> location="component://giftsnideas/webapp/giftsnideas/content/sitemap-
> gsmp.ftl"/></html></platform-specific>
>            </widgets>
>        </section>
>    </screen>
> Even though my Out of ftl file is as i expected since i am using the
>          <platform-specific><html><html-template
> location="component://giftsnideas/webapp/giftsnideas/content/sitemap-
> gsmp.ftl"/></html></platform-specific>
> The output is comming as HTML format ........How can i get XML
> format.........




--
G.Venkata Phanindra
Mob:: 9849852989

Reply via email to