Hi,
What do I need to add to an xslt 2.0 stylesheet that modifies an RDF
file which has a doctype declaration with entity references. I'm not
certain how to preserve the DOCTYPE here exactly as shown and also
preserve the entity references such &wiki; within the document.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
<!ENTITY wiki 'http://p13.itawiki.org/wiki/Special:URIResolver/'>
<!ENTITY property
'http://p13.itawiki.org/wiki/Special:URIResolver/Property-3A'>
<!ENTITY wikiurl 'http://localhost/wiki/'>
]>
<rdf:RDF
xmlns:rdf="&rdf;"
xmlns:rdfs="&rdfs;"
xmlns:owl ="&owl;"
xmlns:swivt="&swivt;"
xmlns:wiki="&wiki;"
xmlns:property="&property;">
Currently this is being replaced
<property:Office rdf:resource="&wiki;BX"/>
as this in my xslt.
<property:Office
rdf:resource="http://p13.itawiki.org/wiki/Special:URIResolver/BX"/>
I've been reading some old posts on this but I haven't been able to
key in on the right solution via google.
Regards
--
Alex
-----
Currently:
Freelance Software Engineer 6+ yrs exp
Previously:
https://sites.google.com/a/utg.edu.gm/alex/
A Bafila, is two rivers flowing together as one:
http://www.facebook.com/pages/Bafila/125611807494851
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--