Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML and XSL

Status
Not open for further replies.

KBusaidi

IS-IT--Management
Dec 21, 2004
15
OM
Hi,

Is there a way to output the display of Livelink documents and there attributes (category stuff) in an XML format and use the XSL to style the output in such a way that one can add an additional button or icon that can say "add to basket" type?.
I have a library system in Livelink that I would like an individual to search for a book and click the button or icon to send an email or message to the librarian
requesting the document.

All help is highly appreciated.
Thanks
Busaidi
 
I do not know a lot about XML/XSL but sure what you want to do is more than possible.XML is just a data structure and livelink exports document's cat /atts during an xml export.
Regarding the second part of your qn you will have to think about this carefully
Simple approach will be a client 'mailto' link to your librarian with the subject as the livelink URL or objectID.This appraoch will fail if the client does not have email software.
Better approach will be server side submission of a form
->To your request handler in livelink->which invokes the mailing progarm configured for the livelink server and do the job.You could also acheive this by doing any custom mail object on your webserver(simplemail,cdonts etc).

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
I think what appnair is talking about is what opentext call XML skinning. You can use an XSL stylesheet and the xmlexport command

Put your xsl stylesheet in C:\OPENTEXT\support\XSL

and make a call to the page in the form


where 331786 is an example of the node id of the page and nameofstylesheet.xsl is the XSL stylesheet. You can use XSL to give the page a certain look and feel, however, its very limited on what you can do in terms of adding extra functionality (such as a add to basket).

Opentext do a course on XML skinning
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top