Generate XML from XSD with relative path

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

Generate XML from XSD with relative path

Post by mariomueller »

Hi,

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

Thanks
Regards
Mario
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Generate XML from XSD with relative path

Post by adrian »

Hello,

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.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply