Thursday 08 April 2010 12:35:01 am
Sorry, could you rephrase what your problem is? It is not very clear... Js can load xml files via http requests, regardless of their filename As for your setup: - you probably need to alter the content-type header sent along with the xml for things to work properly: set up a new layout and use an url like /layout/set/xml/node/view/xml/229 (see layout/set/print as an example) - if /layout/set/xml/node/view/xml/229 is a bit ugly, you can set up a wildcard rewrite rule to have eg. /xmlview/229 as url - if you want to omit the node id and use the node name instead, you can set up a separate siteaccess, with an 'xml' design as main design (where the xml template is the full one), and where the content-type header is sent via the parameters in site.ini; Thius the url could become http://mysite/index.php/xml/path/to/the/node.xml (just name the node with a trailing xml)
Principal Consultant International Business
Member of the Community Project Board
|