Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 235
Kevin Obee Avatar asked Feb 16 '13 12:02

Kevin Obee


1 Answers

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.

like image 93
Ruud van Falier Avatar answered Jan 01 '23 21:01

Ruud van Falier