This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

<xsl:if ... question


Hello all

Basically I want to test if the value of the
identifierref attribute in the item element, is equal
to the identifier attribute, in the resource element.
If so, then I want to take the value of the href
attribute from the resource element and use it to
create a link in my html document, along with the
content of the title element, which will be the name
of the link. 

<organizations default="MANIFEST01_ORG1">
 <organization identifier="MANIFEST01_ORG1">
 <item identifier="MANIFEST01_ITEM1" isvisible="true">
  <title>Course Information</title>
 <item identifier="MANIFEST01_ITEM2"
identifierref="MANIFEST01_RESOURCE1" isvisible="1"
parameters="">
  <title>Reading List</title></item>
   </item>
...  
</organization>
</organizations>

<resources>
  <resource identifier="MANIFEST01_RESOURCE1"
type="webcontent" href="Geo101_readings.doc">
    <file href="Geo101_readings.doc"/>
  </resource>
...
</resources>

I have made several attempts of solving this in XSL
but without any success. Any help would be
appreciated. 

Rgds

Brian
E-mail: Brian_hickey1@yahoo.com


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]