main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
284 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | 'use strict'
|
---|
| 2 |
|
---|
| 3 | var create = require('./util/create')
|
---|
| 4 |
|
---|
| 5 | module.exports = create({
|
---|
| 6 | space: 'xml',
|
---|
| 7 | transform: xmlTransform,
|
---|
| 8 | properties: {
|
---|
| 9 | xmlLang: null,
|
---|
| 10 | xmlBase: null,
|
---|
| 11 | xmlSpace: null
|
---|
| 12 | }
|
---|
| 13 | })
|
---|
| 14 |
|
---|
| 15 | function xmlTransform(_, prop) {
|
---|
| 16 | return 'xml:' + prop.slice(3).toLowerCase()
|
---|
| 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.