I'm needing to consume some XML which has a namespace identifier
reused.

<rdf:RDF xmlns="http://purl.obolibrary.org/obo/go/subsets/goslim_yeast.owl#";
     xml:base="http://purl.obolibrary.org/obo/go/subsets/goslim_yeast.owl";
     xmlns:go="http://purl.obolibrary.org/obo/go#";
     xmlns:obo="http://purl.obolibrary.org/obo/";
     xmlns:owl="http://www.w3.org/2002/07/owl#";
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
     xmlns:xml="http://www.w3.org/XML/1998/namespace";
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#";
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
     
xmlns:terms="http://www.geneontology.org/formats/oboInOwl#http://purl.org/dc/terms/";
     xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#";>;
    <owl:Ontology 
rdf:about="http://purl.obolibrary.org/obo/go/subsets/goslim_yeast.owl";>;
        <owl:versionIRI 
rdf:resource="http://purl.obolibrary.org/obo/go/2020-12-08/subsets/goslim_yeast.owl"/>;
    </owl:Ontology>

    <!-- much more data -->

</rdf:RDF>


I'm wondering if I can do this with out directly interacting with a
token stream.

https://play.golang.org/p/5y0LGh-MbGE

thanks


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/c260a95b4229b48d4fce89c84f3c094079229caf.camel%40kortschak.io.

Reply via email to