Copied to clipboard

Flag this post as spam?

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


  • Sa 118 posts 152 karma points
    Jun 02, 2010 @ 08:44
    Sa
    0

    xslt usage

    hello fraternities.,

    i would like to use xslt in my project..

    i would like to know how xslt can be used for displaying images,retrieving the data selected etc..

    let me know if that is possible and how?is there any project for reference?

    Thanking you in advance

     

     

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 02, 2010 @ 09:13
    Dirk De Grave
    0

    Hi Sam,

    what exactly do you mean by my project? Is that umbraco related? Or something else? Give us some more info about the context and what you've done already so we can help as much as possible...

    Have you checked Warren's Creative Website Starter, it's full of xslt examples. And also check the wiki and forum for specific examples and questions.

     

    Looking forward to more info.

     

    Cheers,

    /Dirk

  • Sa 118 posts 152 karma points
    Jun 02, 2010 @ 09:25
    Sa
    0

    Hello Dirk.,

    thanks for your speedy reply..

    yes it is umbraco related project.. i am planning to do a shopping cart in umbraco..

    i referred a topic discussed in this forum stating to use xslt as such..

    i have never used xslt.. so planned to do using xslt which will be a learning exp as well.

    so was looking for it.. i hope you can help me  out to start with..

    thank you

  • Terje 9 posts 29 karma points
    Nov 03, 2010 @ 15:38
    Terje
    0

    Hi,

    I just upgraded from 4.0.4 to 4.5.2 and have some problems with the xslt.

    What I try to do is to make a for-each based on nodeName.

    I have n nodes with the same doctype (folder)
    Under I have n nodes with the same doctype (publications)

    How to make a for-each that list all the publications based on nodeName as a parameter from the macro?

    Here is the old XSLT:
    <xsl:for-each select="$currentPage/node [@nodeName=$columnName]/node [@nodeTypeAlias='publication']">

    I thought mybe the new one should looks something like this:     

    <xsl:for-each select="$currentPage [@nodename=$columnName]/publication">
    or
    <xsl:for-each select="$currentPage/ancestor-or-self::*[@isDoc and @nodeName=$columnName]/publication">

     

    Thanks in advance!

  • Terje 9 posts 29 karma points
    Nov 08, 2010 @ 13:05
    Terje
    0

    Anyone plz?

Please Sign in or register to post replies

Write your reply to:

Draft