Copied to clipboard

Flag this post as spam?

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


  • ysee 38 posts 36 karma points
    May 14, 2009 @ 18:08
    ysee
    0

    How to write the xslt?

    <br />
    

    flash used in XML.
    Question 1: the xml using xslt get into the cache will provide the next use of it?
    Question 2: How to Figure the xslt to generate?

  • ysee 38 posts 36 karma points
    May 15, 2009 @ 15:41
    ysee
    0
    <br />
    

    Who can help me?

  • Jesper Hauge 298 posts 487 karma points c-trib
    May 15, 2009 @ 17:59
    Jesper Hauge
    0

    Please try to elaborate a bit on your problem.

    I don't understand question 1 at all, and regarding question 2: That depends on how you've structured your content in Umbraco.

    Regards
    Jesper Hauge

  • ysee 38 posts 36 karma points
    May 16, 2009 @ 09:33
    ysee
    0

    You can contact you?
    MSN?

    I would like to solve this problem。

    Generated map of the xml。

  • ysee 38 posts 36 karma points
    May 16, 2009 @ 11:38
    ysee
    0






    How to use?

  • Tommy Poulsen 514 posts 708 karma points
    May 16, 2009 @ 15:21
    Tommy Poulsen
    0

    Regarding using media you can check out the examples in this link:

    http://blackpoint.dk/umbraco-workbench.aspx?Snippet=/umbraco-workbench/xslt/accessing-media-files.aspx

    Regarding your other questions, I think you may have to explain in more details what your problems are.

    Regards

    Tommy

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    May 16, 2009 @ 15:27
    Casey Neehouse
    0

    ysee,

    Your question is a bit difficult to follow, however, I will give it a try.

    There are a couple things to consider here. Your flash will need to point to a URL to retrieve the xml. In many cases, flash will only work with an XML content type, so, we will need to account for that as well. Here is what I recommend:

    1: Create a template - call it whatever.... flash.xml for example.
    2: Set the content type on the template to be "text/xml".... add "<% Response.ContentType = "text/xml"; %>" to the template...
    3: insert your macro that generates the xml...

    your xslt may look something like this....
    [code]




    [/code]

    you can call the template using the altTemplate method...

    path-to-flash.aspx?alttemplate=flash.xml
    or path-to-flash.aspx/flash.xml
    or path-to-flash/flash.xml.aspx

    Good luck..

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    May 16, 2009 @ 15:34
    Casey Neehouse
    0

    Also, verify the alias casing for the xslt....

  • ysee 38 posts 36 karma points
    May 16, 2009 @ 17:53
    ysee
    0

    neehouse,
    Thank you very much

    Macro
    Use XSLT file flash.xslt


    Macro cache settings is the result of or xslt file cache?



    Cache Period this?
    Cache By Page
    Cache Personalized



    umbarco how the caching mechanism?

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    May 16, 2009 @ 21:21
    Casey Neehouse
    0

    It is up to you on the caching. Since this data is not likely to change, long term caching should be sufficient. Caching by page and personalized is not necessary, as the data is the same everywhere, correct?

  • ysee 38 posts 36 karma points
    May 17, 2009 @ 16:43
    ysee
    0
    <br />
    

    I tested the use of a problem!

    How to generate flash.xml?
    FLASH to use.

Please Sign in or register to post replies

Write your reply to:

Draft