• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

convert facebook xml file to GraphML format

 
Ranch Hand
Posts: 510
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

facebook provides a java api that allows us to extract friends list into a xml format.

my goal is to find a way to convert facebook xml data into GraphML format.

I have no clue how i can proceede to tackle this problem.
any suggestions or materials would be very welcomed.

thanks.
 
Sheriff
Posts: 24654
58
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I see the requirement "convert one XML format to another XML format" I generally think of using XSLT. That is most likely what I would do with your example.
 
Yahya Elyasse
Ranch Hand
Posts: 510
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Paul Clapham:
When I see the requirement "convert one XML format to another XML format" I generally think of using XSLT. That is most likely what I would do with your example.



did't used XSLT before.is there a good java XSLT tutorial to get me started ?
 
Paul Clapham
Sheriff
Posts: 24654
58
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do an Internet search for the keywords "xslt tutorial" if you want to find XSLT tutorials. I guarantee you will find some. After you read them and think about them for a while, ask yourself whether you need Java for this project. You may find you don't need it.
 
Yahya Elyasse
Ranch Hand
Posts: 510
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I desperitely need help from some generous person. my project deadline is very tight & don't want to be obliged to invest lots of time learning XSLT technology .
i need someone to help me write a XSLT file that takes as input the list of facebook friends ids and produce as output the Graphml file corresponding to this fb friends network .

btw ,is there any other java oriented solution for solving the problem i described above ?

thank you all.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also use XQuery to do XML document transformations. XQuery transformations can then be executed (in Java) using Saxon 8.1 or better.
 
When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!