D
dzieciou
I've used JENA and got the following result in result of query to RDF
file:
<j.0:ResultSet>
<j.0:solution rdfarseType="Resource">
<j.0:binding rdfarseType="Resource">
<j.0:value>John Smith</j.0:value>
<j.0:variable>fname</j.0:variable>
</j.0:binding>
<j.0:binding rdfarseType="Resource">
<j.0:variable>x</j.0:variable>
<j.0:value rdf:resource="http://somewhere/JohnSmith/"/>
</j.0:binding>
</j.0:solution>
<j.0:ResultSet>
I wish it was transformed with XLS into something like this:
<resultset>
<solution>
<fname>John Smith</fname>
<x>http://somewhere/JohnSmith/</x>
</solution>
</resultset>
The main problem is how to match the interior of XML tag (i.e. fname)
and put it into <fname>. Thxn for any help or suggestion,
Maciek.
file:
<j.0:ResultSet>
<j.0:solution rdfarseType="Resource">
<j.0:binding rdfarseType="Resource">
<j.0:value>John Smith</j.0:value>
<j.0:variable>fname</j.0:variable>
</j.0:binding>
<j.0:binding rdfarseType="Resource">
<j.0:variable>x</j.0:variable>
<j.0:value rdf:resource="http://somewhere/JohnSmith/"/>
</j.0:binding>
</j.0:solution>
<j.0:ResultSet>
I wish it was transformed with XLS into something like this:
<resultset>
<solution>
<fname>John Smith</fname>
<x>http://somewhere/JohnSmith/</x>
</solution>
</resultset>
The main problem is how to match the interior of XML tag (i.e. fname)
and put it into <fname>. Thxn for any help or suggestion,
Maciek.