Is there a means in which I can create a datatype that stores the data into the database and content XML file in an XML format that is easily readable from XSLT?
I know it may not be best practice, but the idea is to allow me to have a datatype that stores structured data into the field in an easily usable manner.
thus I could reference the data as such:
Code:<xsl:for-each select="data [@alias='xmldata']/entries/entry">
<xsl:value-of select="./field1"/>: <xsl:value-of select="./field2"/>
</xsl:for-each>
This would open up a huge world of possibilities
The other means would be to have an XSLT helper function that would allow me to do the same thing.
Code:<xsl:for-each select="umbraco.library:LoadXml(data [@alias='xmldata'])/entries/entry">
<xsl:value-of select="./field1"/>: <xsl:value-of select="./field2"/>
</xsl:for-each>
Is there a better means of storing structured data in a single field?
Any thoughts would be appreciated.
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •