Re: [C2-devel] Output xml
Brought to you by:
dawidweiss,
stachoo
From: brinda <bri...@gm...> - 2011-06-29 21:09:31
|
Hi Dawid, I am new to XSLT. I tried writing XSLT and managed to extract the cluster names along with the document refid below them. However I am having difficulty replacing the refid with the url for that id. Can you please help me with that? I am attaching the XML file, XSLT file and the result output that I get after using XSLT. If you see the file- result2.html, I just need to replace the numbers below each cluster with their respective url which is provided under /searchresult/document id/title. Thank you so much for your support. I really appreciate it -Brinda On Sun, Jun 26, 2011 at 11:27 PM, Dawid Weiss [via Carrot2 Users and Developers Forum] <ml-...@n2...> wrote: > There is no "default" XSLT because that XML is serialized directly > from Java code. You could write an XSLT to transform this XML into > something else (like inlining the document IDs, for example); this > should be fairly straightforward -- if you need help with this, let us > know. > > Dawid > > On Mon, Jun 27, 2011 at 3:46 AM, brinda <[hidden email]<http://user/SendEmail.jtp?type=node&node=6519246&i=0>> > wrote: > > > Could you please tell me where the default XSLT file for Carrot2 > Workbench > > is? Where can I find the file which is responsible for the way Carrot2 > > outputs its clusters in XML format? I want to see how you have listed out > > > the groups in the file so that I can write my own XSLT. > > Thankyou so much > > > > -- > > View this message in context: > http://carrot2-users-and-developers-forum.607571.n2.nabble.com/Output-xml-tp6497710p6518598.html > > > Sent from the Carrot2 Users and Developers Forum mailing list archive at > Nabble.com. > > > > > ------------------------------------------------------------------------------ > > > All of the data generated in your IT infrastructure is seriously > valuable. > > Why? It contains a definitive record of application performance, security > > > threats, fraudulent activity, and more. Splunk takes this data and makes > > sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-d2d-c2 > > _______________________________________________ > > Carrot2-developers mailing list > > [hidden email] <http://user/SendEmail.jtp?type=node&node=6519246&i=1> > > https://lists.sourceforge.net/lists/listinfo/carrot2-developers > > > > > > ------------------------------------------------------------------------------ > > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Carrot2-developers mailing list > [hidden email] <http://user/SendEmail.jtp?type=node&node=6519246&i=2> > https://lists.sourceforge.net/lists/listinfo/carrot2-developers > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://carrot2-users-and-developers-forum.607571.n2.nabble.com/Output-xml-tp6497710p6519246.html > To unsubscribe from Output xml, click here<http://carrot2-users-and-developers-forum.607571.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6497710&code=YnJpbmRhZ3VwdGFAZ21haWwuY29tfDY0OTc3MTB8LTkwNzM0NTAxMA==>. > > -- View this message in context: http://carrot2-users-and-developers-forum.607571.n2.nabble.com/Output-xml-tp6497710p6530713.html Sent from the Carrot2 Users and Developers Forum mailing list archive at Nabble.com. |