You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, July 4th 2017, 1:00pm

XML file structure

Hi there,


Just wondering if the hierarchical structure (or DTD) for the krpano XML file can be viewed anywhere, can't seem to find it on the website.

The XML Reference page documents all of the elements, but they are all listed in a flat structure, ie. <hotspot> should be located within <scene> but both are within the <krpano> element.

It would be very useful if the element structure was shown in a nested format, so the parent-child relationships can be easily identified.

Thanks in advance,
Ronny

2

Sunday, July 9th 2017, 7:51pm

Hi,

Quoted

The XML Reference page documents all of the elements, but they are all listed in a flat structure
That's the correct document structure.

ie. <hotspot> should be located within <scene>
Not necessarily, a <scene> is only a kind of container element that stores another krpano xml structure:
https://krpano.com/docu/xml/#scene

Best regards,
Klaus