In a nutshell, the new 4.1 schema is a re-formulation of the old (legacy) one. Instead of each document being a node element, the element name is the node-type alias, same with property values; they no longer use data elements with alias attributes. Here is a quick example, comparing the old/legacy with the new:
<node id="1066" parentID="-1" level="1" nodeName="Home" ... nodeTypeAlias="Homepage" path="-1,1066">
<data alias="bodyText"><![CDATA[<p>Welcome to my homepage.</p>]]></data>
</node>
<Homepage id="1066" parentID="-1" level="1" ... nodeName="Home" path="-1,1066" isDoc="">
<bodyText><![CDATA[<p>Welcome to my homepage.</p>]]></bodyText>
</Homepage>
I'm sure more documentation/information will be available closer to 4.1's release.
v4 XML schema
Hi all,
Does anyone have any information/reference/links on the new 4.1 XML structure?
Hi Elspiko,
There is nothing "official" out yet, (that I'm aware of), but I wrote a blog post about working with the new schema:
http://blog.leekelleher.com/2010/04/02/working-with-xslt-using-new-xml-schema-in-umbraco-4-1/
In a nutshell, the new 4.1 schema is a re-formulation of the old (legacy) one. Instead of each document being a node element, the element name is the node-type alias, same with property values; they no longer use data elements with alias attributes. Here is a quick example, comparing the old/legacy with the new:
I'm sure more documentation/information will be available closer to 4.1's release.
Cheers, Lee.
is working on a reply...