Copied to clipboard

Flag this post as spam?

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


  • Rao 10 posts 30 karma points
    Aug 22, 2011 @ 18:54
    Rao
    0

    Creating dropdown with subnodes using XSLT

    Hello All,

    Here is my requirement

    1. ProductA (of Document Type Product)

    ·         Size (of Document Type ProductType)

    o        S (of Document Type ProductType)

    o        M (of Document Type ProductType)

    o        L (of Document Type ProductType)

    ·         Color (of Document Type ProductType)

    o        Red (of Document Type ProductType)

    o        Green (of Document Type ProductType)

    2. ProductB(of Document Type Product)

    ·         Size (of Document Type ProductType)

    o        S (of Document Type ProductType)

    o        M (of Document Type ProductType)

    o        L (of Document Type ProductType)

    o        XL (of Document Type ProductType)

    o        XXL (of Document Type ProductType)

    ·         Color (of Document Type ProductType)

    o        White (of Document Type ProductType)

    o        Green (of Document Type ProductType)

     

    I wanted to display these product variants with Caption as Size/Color and attributes in the dropdown.

     

    I am able to do, if any of the products has one variant. How can I do the same if the product has more than one?

     

    Thanks,

    Rao. 

Please Sign in or register to post replies

Write your reply to:

Draft