Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > Other Languages

Reply
 
LinkBack Thread Tools
Old November 6th, 2006, 09:35 AM   #1
New Member
 

Join Date: Nov 2006
Location: spore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 ai0912 is on a distinguished road
XSL - urgent

Hi,
I have the below xml document
<mainele>
<element1> test1 </element1>
<element2> test2 </element2>
<element3> test3 </element3>
</mainele>
<mainele>
<element1> test1 </element1>
<element2> test2 </element2>
<element3> test3 </element3>
</mainele>
<mainele>
<element1> test1 </element1>
<element2> test2 </element2>
<element3> test3 </element3>
<fields>
<fld1> data1</fld1>
<fld2>data2 </fld2>
</fields>

</mainele>


I am trying to group elements with similar data to an html output.
Ie. In above example since all elements in both <mainele> have similar data they should be displayed only as a single row on html.
Presently, my data is showing up as 2 different rows on html page.
Some of the <mainele> may contain <fields> tag. These do not have to be included in the grouping.
How can I do this using XSL? I am using msxsl.exe to convert xml to html output. I am not sure if we are using XSLT2.0 so dont know if I can use group function.
- Can someone tell how I can find the version if I am using msxsl.exe?
- For either version, can you explain in detail how I can achieve the grouping.

Thanks in advance
ai0912 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
group


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some urgent help....!!!! shevorne HTML, XHTML and CSS 9 September 30th, 2007 07:36 PM
Really need help here..urgent!! mawarzinnirah Other Languages 3 September 17th, 2007 10:00 AM
Urgent help please marie2007 PHP 3 September 9th, 2007 06:44 PM
urgent help req.. s_mazhar Graphic Specifics 5 October 31st, 2005 05:04 AM


Search Engine Optimization by vBSEO 3.2.0 RC8