Organizational Research By

Surprising Reserch Topic

Question:Schema for the <project> XML in a Sitecore package


Does anyone have the schema that relates to the XML document that appears in the installer folder of a Sitecore package file?

Especially interested in the format of the project/Sources/xitems/Entries/x-item element.

 


asked Sep 13, 2013 in Java Interview Questions by rajesh
edited Sep 12, 2013
0 votes
34 views



Related Hot Questions

2 Answers

0 votes
That XML file seems to be a representation of the Sitecore.Install.PackageProject class, so I tried to generate an XSD from code using serialization on that class. However, if you use a decompile to take a look at how package building and installation works, you'll find out that Sitecore has written their own serializer for this. So I wasn't able to generate a correct XSD with the .NET serializer.

With a decompiler (I use dotPeek, freeware) you can track down a lot of information about that XML file and how it's being used by Sitecore, but I don´t see a (realistic) way to extract a schema from this. If you're going to look into it, look inside Sitecore.Kernel.dll and look for the Sitecore.Install namespace.

Have you tried asking Sitecore Support? If anyone has this schema, it's them.
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
That XML file seems to be a representation of the Sitecore.Install.PackageProject class, so I tried to generate an XSD from code using serialization on that class. However, if you use a decompile to take a look at how package building and installation works, you'll find out that Sitecore has written their own serializer for this. So I wasn't able to generate a correct XSD with the .NET serializer.

With a decompiler (I use dotPeek, freeware) you can track down a lot of information about that XML file and how it's being used by Sitecore, but I don´t see a (realistic) way to extract a schema from this. If you're going to look into it, look inside Sitecore.Kernel.dll and look for the Sitecore.Install namespace.

Have you tried asking Sitecore Support? If anyone has this schema, it's them.
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013

...