See right now i am receiving topples e.g > <example.com/product/1> <example.com/prop/title> iPhone > <example.com/product/1> <example.com/prop/brand> Apple > <example.com/product/1> <example.com/prop/condition> New > <example.com/product/1> <example.com/prop/description> Smart phone > <example.com/product/1> <example.com/prop/keypoints> touch screen, smart > phone
I want to get this data in this formate > <example.com/product/1> > <example.com/prop/title> iPhone > <example.com/prop/brand> Apple > <example.com/prop/condition> New > <example.com/prop/description> Smart phone > <example.com/prop/keypoints> touch screen, smart phone > <example.com/product/2> > <example.com/prop/title> iPhone > <example.com/prop/brand> Apple > <example.com/prop/condition> New > <example.com/prop/description> Smart phone > <example.com/prop/keypoints> touch screen, smart phone and so on, Purpose of this process is to read data block by block. Regards On Mon, Mar 30, 2015 at 4:38 PM, Andy Seaborne <a...@apache.org> wrote: > On 29/03/15 22:11, Nauman Ramzan wrote: > >> Hi all ! >> I just want to know how can I formate >> Fuseki response ? >> Like >> <item1> >> <title> mobile >> <brand> apple >> <item2> >> <title> mobile >> <brand> apple >> And so on like turtle >> How can i apply these formats ? >> >> Regards >> Nauman >> >> > That's XML? > > You could apply XSLT to the XML results form of SELECT results. > You can even get the server to add the stylesheet line with &stylesheet= > That's how HTML output is done. > > Andy > >