graphMLnode data importing as property rather than attribute
Posted: 05 Jun 2012 16:03
Hey there,
I'm having a bizarre issue where one of my node data keys keeps importing as a property rather than an attribute and I can't seem figure out what's causing it. See the below example: it's "listed_count" that's giving me trouble. Thanks!
<?xml version="1.0" encoding="utf-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<key attr.name="weight" attr.type="int" for="edge" id="d4" />
<key attr.name="weight" attr.type="int" for="node" id="d2" />
<key attr.name="screen_name" attr.type="string" for="node" id="d1" />
<key attr.name="listed_count" attr.type="int" for="node" id="d3" />
<key attr.name="followers_count" attr.type="int" for="node" id="d0" />
<graph edgedefault="directed">
<node id="30924802">
<data key="d0">65765</data>
<data key="d1">jeffreypjacobs</data>
<data key="d2">171</data>
<data key="d3">954</data>
</node>
</graph>
</graphml>
I'm having a bizarre issue where one of my node data keys keeps importing as a property rather than an attribute and I can't seem figure out what's causing it. See the below example: it's "listed_count" that's giving me trouble. Thanks!
<?xml version="1.0" encoding="utf-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<key attr.name="weight" attr.type="int" for="edge" id="d4" />
<key attr.name="weight" attr.type="int" for="node" id="d2" />
<key attr.name="screen_name" attr.type="string" for="node" id="d1" />
<key attr.name="listed_count" attr.type="int" for="node" id="d3" />
<key attr.name="followers_count" attr.type="int" for="node" id="d0" />
<graph edgedefault="directed">
<node id="30924802">
<data key="d0">65765</data>
<data key="d1">jeffreypjacobs</data>
<data key="d2">171</data>
<data key="d3">954</data>
</node>
</graph>
</graphml>