Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-25-2009, 01:30 PM
New Member
 
Posts: 3
Default Using Zimlets with XSLT

Hello all,

I am new to zimlets and I'm doing a little preliminary investigation of what would be involved in using them. Our department is considering using zimlets in the future, and I happen to have a little knowledge with using XSLT and I wanted to learn more about how it could potentially be used with zimlets. From what I've read zimlets are xml-based (or at least use xml) and can communicate using SOAP. I guess my basic question is how it might be possible to manipulate or control the way zimlets behave by using XSLT to format the XML content. Is there any documention on this at all? I have searched for articles about zimlets and XSLT and discovered almost nothing. Do you have any recommendations on where I can look or what I should look at/for to familiarize myself with the basics of zimlets and possible applications with XSLT? Any responses or suggestions would be much appreciated.

Many Thanks,

Josh

Last edited by jmnielsen; 03-25-2009 at 01:38 PM..
Reply With Quote
  #2 (permalink)  
Old 03-30-2009, 11:24 AM
New Member
 
Posts: 3
Default

Is there a moderator or anyone sufficiently knowledgeable about this topic to even point me in the correct direction? Doing a few topic searches I saw that some people were coupling together .xml files (possibly from a SOAP response) and a custom defined .xsl file to make a useful transformation of the xml. How much of this is necessary and intrinsic to developing custom zimlets? If not necessary how may it be incorporated? Even one specific example would do.

P.S. Some other topics here that mentioned using XSL: Help with First Zimlet (seems to be defining custom xml and xsl files), SOAP and XSLT, and Custom zimlet XML parsing error. In line with those topics, what is the relevance for using .xsl files with XML or SOAP in Zimlets (i.e. what were they using them for, and what else can the be used for)?

Thanks,

Josh
Reply With Quote
  #3 (permalink)  
Old 03-30-2009, 06:23 PM
Zimbra Employee
 
Posts: 187
Default

Quote:
Originally Posted by jmnielsen View Post
Is there a moderator or anyone sufficiently knowledgeable about this topic to even point me in the correct direction? Doing a few topic searches I saw that some people were coupling together .xml files (possibly from a SOAP response) and a custom defined .xsl file to make a useful transformation of the xml. How much of this is necessary and intrinsic to developing custom zimlets? If not necessary how may it be incorporated? Even one specific example would do.

P.S. Some other topics here that mentioned using XSL: Help with First Zimlet (seems to be defining custom xml and xsl files), SOAP and XSLT, and Custom zimlet XML parsing error. In line with those topics, what is the relevance for using .xsl files with XML or SOAP in Zimlets (i.e. what were they using them for, and what else can the be used for)?

Thanks,

Josh
Hi Josh,
Please find the attached com_zimbra_xslt example. It uses xsl stylesheets to style the xml response thats returned from a service(like amazon, yahoo etc).

thanks,
Raja
Attached Files
File Type: zip com_zimbra_xslt.zip (12.2 KB, 10 views)
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 04-02-2009, 09:54 AM
New Member
 
Posts: 3
Default

Thank you very much Raja!

Is there by chance an online community database of files and packages like that that users submit which can be reused by others? If so it might be worth looking through such files for more examples like that.

Also, forgive my denseness, but can this only be run from inside Zimbra? I ask because it would be interesting to execute this for testing from a command line (would you have to use a build tool like ANT?). And I presume I would have to produce the interface/code to send and receive queries to/from the Web Service in order to get the XML that these *.xsl files transform? And at that, I'm not even sure I'd know at this point how to plug this "zimlet" in to Zimbra. I assume there are user guides to show how this might be run and tested within Zimbra?

I'd appreciate any additional information or feedback you could give be about these questions.

Thanks,

Josh

Last edited by jmnielsen; 04-02-2009 at 09:57 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.