bramstein / xsltjson

XSLTJSON - Convert XML to JSON using XSLT
http://www.bramstein.com/projects/xsltjson/
308 stars 94 forks source link

How to define the schema for elements that use json:force-array attribute? #9

Closed georgema1982 closed 9 years ago

georgema1982 commented 10 years ago

I'm using json:force-array attribute on some elements to force the xslt to treat them as an array. The problem is that I need to define xsd file for xml that uses this attribute while force-array isn't defined at http://json.org/ and schema validation would fail. Any sugesstion as how to define schema for elements that use json:force-array attribute?

bramstein commented 9 years ago

Sorry, I have never used schema's.