Skip to content

Instantly share code, notes, and snippets.

@fumi
Last active February 1, 2016 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fumi/b4c25f2857c2d8566626 to your computer and use it in GitHub Desktop.
Save fumi/b4c25f2857c2d8566626 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Covert test</tktle>
</head>
<body>
<h1>Convert Test</h1>
<table>
<%parse
<tr>
<td>{*.label}</td>
<td>{*.name}</td>
<td>{*.familyName}</td>
<td>{*.givenName}</td>
</tr>
%>
</table>
</body>
</html>
<?xml version="1.0"?>
<rdf:RDF xmlns:ex="http://example.org/ex#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="http://example.org/ex#person1">
<rdf:type rdf:resource="http://example.org/ex#Person" />
<ex:label>Person 1</ex:label>
<ex:name>
<rdf:Description>
<ex:familyName>Family</ex:familyName>
<ex:givenName>Given</ex:givenName>
</rdf:Description>
</ex:name>
</rdf:Description>
</rdf:RDF>
@prefix ex: <http://example.org/ex#> .
ex:person1 a ex:Person ;
ex:label "Person 1";
ex:name [
ex:familyName "Family";
ex:givenName "Given";
] .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment