xy.py
branchstable
changeset 5613 bc0ebfbf5c5d
parent 5610 91b0f118328a
child 5663 d93a875a9d94
equal deleted inserted replaced
5612:177a9a059717 5613:bc0ebfbf5c5d
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    14 # details.
    14 # details.
    15 #
    15 #
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """map standard cubicweb schema to xml vocabularies
    18 """map standard cubicweb schema to xml vocabularies"""
    19 
       
    20 """
       
    21 
    19 
    22 from yams import xy
    20 from yams import xy
    23 
    21 
    24 xy.register_prefix('http://www.w3.org/1999/02/22-rdf-syntax-ns#', 'rdf')
    22 xy.register_prefix('http://www.w3.org/1999/02/22-rdf-syntax-ns#', 'rdf')
    25 xy.register_prefix('http://purl.org/dc/elements/1.1/', 'dc')
    23 xy.register_prefix('http://purl.org/dc/elements/1.1/', 'dc')