- From: Brian Suda <brian.suda@gmail.com>
- Date: Thu, 24 May 2007 18:07:17 +0000
- To: public-grddl-wg <public-grddl-wg@w3.org>
- Message-ID: <21e770780705241107y63b7b4a5ke9245fe591c695e6@mail.gmail.com>
I had a look at the XSLT and everything seems to be working for me: When i run: xsltproc http://suda.co.uk/sandbox/GRDDL/hreview2rdfxml.xsl http://www.w3.org/2001/sw/grddl-wg/doc29/hotel-data.html i get back the attached results. A snipping here, looks more like what you expect: <Description xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:about="_408"> <vcard:FN>Catacombs Hotel, Edinburgh</vcard:FN> <vcard:URL rdf:resource="http://catacombs.example.com/"/> <vcard:ADR rdf:parseType="Resource"> <vcard:Street>213 Forest Rd..</vcard:Street> <vcard:Locality>Edinburgh</vcard:Locality> <vcard:Country>United Kingdom</vcard:Country> <vcard:Pcode>EH1 1QW</vcard:Pcode> </vcard:ADR> <review:hasReview> <review:Review rdf:about="http://catacombs.example.com/"> <rdfs:label>Catacombs Hotel, Edinburgh</rdfs:label> <dc:type>business</dc:type> <review:createdOn>20011109T192433Z</review:createdOn> <review:rating rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</review:rating> <review:reviewer> <foaf:Person> <foaf:name>JohnD</foaf:name> <foaf:homepage rdf:resource="http://paul.example.org/"/> </foaf:Person> </review:reviewer> </review:Review> </review:hasReview> </Description> I do have CVS access so i'll try to bundle and commit the XSLT files to the W3C space so it is stable and available to others. If there are issues, let me know. -brian -- brian suda http://suda.co.uk
Attachments
- text/xml attachment: results.rdf
Received on Thursday, 24 May 2007 19:07:06 UTC