On Thu, Mar 1, 2012 at 5:13 PM, Mark Wallace <[email protected]> wrote:
> Yes, I had run across the XmlTool in my searches.  I don't know how to make
> a new Velocity tool available in XWiki.  Can anyone give a pointer on how to
> do this?

You have a velocity.tools property in xwiki.properties file to add new tools.

>
> Thanks,
>  -Mark
>
>
> On 3/1/2012 11:02 AM, Jerome Velociter wrote:
>>
>> Hi,
>>
>> You could look into the velocity xmltool :
>>
>> http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/generic/XmlTool.html
>>
>> It's not bundled with XWiki AFAIK, but should be easy to achieve.
>>
>> Jerome
>>
>> On Thu, Mar 1, 2012 at 4:54 PM, Mark Wallace<[email protected]>
>>  wrote:
>>>
>>> Is there a way in XWiki's velocity to process an XML document?  I want to
>>> parse a SPARQL Query Results XML document [1] returned by a custom script
>>> service.
>>>
>>> Thanks!
>>>
>>> [1] http://www.w3.org/TR/rdf-sparql-XMLres/
>>>
>>> --
>>> Mark Wallace
>>> Principal Engineer, Semantic Applications
>>> Modus Operandi, Inc., FL, USA
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> devs mailing list
>>> [email protected]
>>> http://lists.xwiki.org/mailman/listinfo/devs
>>>
>>
>>
>
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to