WIP - add extractor, generate snippet_data
This commit is contained in:
17
node_modules/property-information/lib/xml.js
generated
vendored
Normal file
17
node_modules/property-information/lib/xml.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
'use strict'
|
||||
|
||||
var create = require('./util/create')
|
||||
|
||||
module.exports = create({
|
||||
space: 'xml',
|
||||
transform: xmlTransform,
|
||||
properties: {
|
||||
xmlLang: null,
|
||||
xmlBase: null,
|
||||
xmlSpace: null
|
||||
}
|
||||
})
|
||||
|
||||
function xmlTransform(_, prop) {
|
||||
return 'xml:' + prop.slice(3).toLowerCase()
|
||||
}
|
||||
Reference in New Issue
Block a user