liquid-xml

Liquid Studio: How to write a JSON schema $ref to another file

六月ゝ 毕业季﹏ 提交于 2019-12-12 13:44:34
问题 I'm trying to refer to a JSON schema located in a different file using "$ref" with Liquid Studio 2017. Both the referring JSON schema and the referred JSON schema are located within the same directory. I tried it using relative paths: "$ref": "referredSchema.json/propertyName" and using absolute paths: "$ref": "file:///C:/JSON/referredSchema.json/propertyName" "$ref": "file:///JSON/referredSchema.json/propertyName" "$ref": "file:///JSON/referredSchema.json#/propertyName" and a few other

Can I automatically associate an XSD schema with an XML document

不问归期 提交于 2019-12-12 04:33:59
问题 I'm editing a lot of XML files using Liquid XML, I can associate a schema with the document by adding a schemaLocation attribute, but this is not practical as I have lots of files and I can't leave the attribute in as the upstream processor doesn't like it! Is their a way I can associate a schema with a group of files? 回答1: There are a few ways to associate XSD schemas with an XML document. Schema Location Attributes If the XML Document contains a schema location attributes (xsi