Try to search your question here, if you can't find : Ask Any Question Now ?

XSLT file – Problem with for-each function

HomeCategory: stackoverflowXSLT file – Problem with for-each function
Avatarsourav asked 5 months ago

I’ve a file similar to the below one:

  <catalog>
    <cd0>
        <title>Empire Burlesque</title>
        <artist>Bob Dylan</artist>
        <country>USA</country>
        <company>Columbia</company>
        <price>10.90</price>
        <year>1985</year></cd0>
    <cd1>
        <title>Empire Burlesque</title>
        <artist>Bob Dylan</artist>
        <country>USA</country>
        <company>Columbia</company>
        <price>10.90</price>
        <year>1985</year>
    </cd1>
    <cd2>
        <title>Empire Burlesque</title>
        <artist>Bob Dylan</artist>
        <country>USA</country>
        <company>Columbia</company>
        <price>10.90</price>
        <year>1985</year>
    </cd2>
    .
    .
    .
</catalog>

I would want to extract any element of node <cd1>, <cd2>, <cd3>, etc… with a for-each function but i can’t find how to do it….

Could you please help me ?

1 Answers
Best Answer
AvatarMannu answered 5 months ago
Your Answer

4 + 5 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com