Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • dandrayne 1138 posts 2262 karma points
    Jul 05, 2010 @ 17:38
    dandrayne
    0

    Using an xslt macro in a custom section

    Hi All

    I wonder if it's possible to use an xslt macro withing a custom aspx page/custom section? 

    I'd basically like to transform an external xml file and display the results within a custom admin section.  Does anyone have any experience doing this or any tips?

    Dan

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jul 05, 2010 @ 19:11
    Lee Kelleher
    0

    Hi Dan,

    If I understand correctly, in your custom section/page, you have an XML data-source (external, being not from Umbraco).  So yes, you can apply an XSLT to that, no problem. But my question is do you need to use a macro for it?

    I'm not sure what benefits there are to using a macro in that way - when all you need to do is transform an XML document with the XSLT.  If you need extension libraries (like umbraco.library), then you can load those in as required.

    Do you need an example code snippet to help? (which language are you developing in?)

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft