[xwiki-users] XML parser for displaying on pages
I want to parse XML attachments to a page and display the data in a table or list on the page. Does this functionality exist? Just checking before I write my own code. _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:W...
Hi, On Mar 29, 2010, at 5:27 PM, Mike Davis wrote:
I want to parse XML attachments to a page and display the data in a table or list on the page. Does this functionality exist? Just checking before I write my own code.
So you have attachments which are XML files and you want to parse them and display their content in a wiki table ? If so, I'd suggest you use the {{groovy}} macro and use the groovy xml slurper to do the work. You should be able to write this in less than 10 lines :) http://groovy.codehaus.org/Reading+XML+using+Groovy%27s+XmlSlurper Thanks -Vincent
participants (2)
-
Mike Davis -
Vincent Massol