|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
xsl:help!!!
Hi again
having just got started with XML/XSL, so far I think its pretty cool (p.s thanks ecolalia and cfgeek - very helpful advice last time) here's my latest stumbling block. I have a xml file with a repeating pattern <data> <Company>Company 1</Company> <Sales>"$100,000"</Sales> </Data> <data> <Company>Company 2</Company> <Sales>"$200,000"</Sales> </Data> <data> <Company>Company 3</Company> <Sales>"$300,000"</Sales> </Data> <data> <Company>Company 4</Company> <Sales>"$400,000"</Sales> </Data> . . . . what I am trying to do is loop through all the <data> elements and if the <sales> value is in the top 10, then i need to format the <company> text value as a hyperlink to an html file of the same name can i do this? or do i need to add a link attribute to each of the <company> elements any advice greatly appreciated t.i.a ![]() |
|
#2
|
|||
|
|||
|
thanks for the pointers, will get those implemented asap - heres hoping the XML gods are smiling for the math bit....
|
|
#3
|
|||
|
|||
|
we are not worthy to walk in the shadow of the XSL guru....
![]() |
|
#4
|
|||
|
|||
|
Nice work echolalia! I learnt a few things looking through that.
|
|
#5
|
|||
|
|||
|
as the aussie's say..luv ya werk.
I've got it all plugged in and purring along nicely... thanks again, my poor little brain cell can relax....until the next time... ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > xsl:help!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|