Generate XML from XSD with relative path

This should cover W3C XML Schema, Relax NG and DTD related problems.
Posts: 30
Joined: Wed Feb 14, 2018 3:27 pm

Generate XML from XSD with relative path

Post by mariomueller » Fri May 04, 2018 8:40 am


when I use Tools > Generate XML Sample, then the schema location is absolute
Is there an option to make the location relative by default?


Posts: 2736
Joined: Tue May 17, 2005 4:01 pm

Re: Generate XML from XSD with relative path

Post by adrian » Fri May 04, 2018 10:16 am


No, the schema location is always absolute (URL). It is not relative because its configuration is not portable (not kept at project level).
Do note that if you already have the schema open in an editor, or it has been recently opened and closed, all you have to do is expand the URL combo box list (widget on the right side) and you'll find the list of open schemas at the top followed by the list of recently used schemas. So, you can immediately pick from the list the needed schema.

Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Post Reply