• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Displaying text using the obj_name

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The xml is like

<item>
<notice-ref>
<title>Notice</title>
<ptxt>Refer to
<object-link object-id="736289" obj_type_syskey="5" obj_name="Liftgate/Hood Assist Rod Notice"/>.
</ptxt>
</notice-ref>


What should be changed in xslt to display the text that is indicated by the object name.I am using cooktop.The expanded xml displayed above is got by connecting to a database.It is then put into cooktop to convert to html.

What should be specified in xslt???
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Something like "item/notice-ref/title/ptxt/object-link/@obj_name". Depending on what your context node is at the time, of course. I can't tell you what you should change because I don't know what you have in your XSLT now.
 
reply
    Bookmark Topic Watch Topic
  • New Topic