site/node_modules/property-information/lib/xml.js

10 lines
225 B
JavaScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
import {create} from './util/create.js'
export const xml = create({
space: 'xml',
transform(_, prop) {
return 'xml:' + prop.slice(3).toLowerCase()
},
properties: {xmlLang: null, xmlBase: null, xmlSpace: null}
})