Skip to content

how to handle namespaces #70

@TheApApp

Description

@TheApApp

I have an rdf XML that uses namespaces. Can this be handled? For example

<rdf:tag
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
rdf:tag2SomeValue</rdf:tag2>
</rdf:tag>

I understand that I can use xml = xml.parser(str)
and then access via xml["rdf:tag2]
but I don't believe you can use the
xml.rdf:tag2
notation. How would I be able to access using the second approach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions