Is it possible to invoke the results of a XSLT file directly in frontend?
Hi:
I am trying to get ajax pagination with jquery work in a web site but i need only the html code returned by the macro i created and not the full html page code rendered.
I mean, when you Visualize an XSLT file in the backend you get only the desired html code but when you render it in a template document in frontend you get full html page code, including html code generated by the macro.
Is there a way to invoke the code generated by the macro like this "http://.../umbraco/developer/xslt/xsltVisualize.aspx?page=2" or something similiar?
It sounds like your template is inheirented from another template, so html and body tags appears around your Macro output. If you use a clean Template and insert your Macro here, you won't get anything other then your Macro/XSLT output - you control all of this your self.
Your masterpage (Template) would look something like this, and would only render your XSLT:
Is it possible to invoke the results of a XSLT file directly in frontend?
Hi:
I am trying to get ajax pagination with jquery work in a web site but i need only the html code returned by the macro i created and not the full html page code rendered.
I mean, when you Visualize an XSLT file in the backend you get only the desired html code but when you render it in a template document in frontend you get full html page code, including html code generated by the macro.
Is there a way to invoke the code generated by the macro like this "http://.../umbraco/developer/xslt/xsltVisualize.aspx?page=2" or something similiar?
/Ivan
Hi Ivan,
It sounds like your template is inheirented from another template, so html and body tags appears around your Macro output. If you use a clean Template and insert your Macro here, you won't get anything other then your Macro/XSLT output - you control all of this your self.
Your masterpage (Template) would look something like this, and would only render your XSLT:
- Morten
That's exactly what i was looking for.
Thanks a lot Morten!
is working on a reply...