<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Use xsd in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101167#M70199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently, content models in the AVM (a web project) are defined via an XSD and content model in a traditional space via the traditional content model (which defines a single content type for all AVM assets).&amp;nbsp; They are not shareable in either direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will change post our 2.1 release (target June).&amp;nbsp; The traditional content model for spaces is really a metamodel that should be defined via an XSD, with specific structured content types - whether used in a traditional space or web project - defined by an additional XSD via an include.&amp;nbsp; We are still working out the details of merging these two content model definitions.&amp;nbsp; In the meantime, you can use an XSD to create the same content model you would in a traditional space, register as a web form, and when you create a new asset like a Word doc access the web form, use the file browser to upload and create a reference to the underlying Word doc, and use the form for the metadata that will live as an XML asset.&amp;nbsp; A bit less elegant (in that that XML metadata should be bound to the asset via attributes as opposed to living as a separate asset, though this has advantages in that it is exposed via CIFS, which will also continue being supported in the future using CIFS proc files to expose asset attributes as XML files in a virtual manner).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if more questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2007 20:20:15 GMT</pubDate>
    <dc:creator>kvc</dc:creator>
    <dc:date>2007-04-26T20:20:15Z</dc:date>
    <item>
      <title>Use xsd</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101164#M70196</link>
      <description>Is it possible to use schema to create content outside of the web projects??How to display custom meta data in web client while creating content inside web projects??</description>
      <pubDate>Mon, 23 Apr 2007 13:26:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101164#M70196</guid>
      <dc:creator>naveenkumar</dc:creator>
      <dc:date>2007-04-23T13:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use xsd</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101165#M70197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it possible to use schema to create content outside of the web projects??&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;not currently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How to display custom meta data in web client while creating content inside web projects??&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;i don't understand the question.&amp;nbsp; could you elaborate please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 23:24:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101165#M70197</guid>
      <dc:creator>arielb</dc:creator>
      <dc:date>2007-04-25T23:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Use xsd</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101166#M70198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to use my custom content types while creating a content inside the web projects. i created my content model and the content types are appeared in the front end, then i selected my content type to create a content inside web projects.when i click view, not able to see my custom properties. By default it points to avmcontent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please help me…..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 05:13:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101166#M70198</guid>
      <dc:creator>naveenkumar</dc:creator>
      <dc:date>2007-04-26T05:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Use xsd</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101167#M70199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently, content models in the AVM (a web project) are defined via an XSD and content model in a traditional space via the traditional content model (which defines a single content type for all AVM assets).&amp;nbsp; They are not shareable in either direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will change post our 2.1 release (target June).&amp;nbsp; The traditional content model for spaces is really a metamodel that should be defined via an XSD, with specific structured content types - whether used in a traditional space or web project - defined by an additional XSD via an include.&amp;nbsp; We are still working out the details of merging these two content model definitions.&amp;nbsp; In the meantime, you can use an XSD to create the same content model you would in a traditional space, register as a web form, and when you create a new asset like a Word doc access the web form, use the file browser to upload and create a reference to the underlying Word doc, and use the form for the metadata that will live as an XML asset.&amp;nbsp; A bit less elegant (in that that XML metadata should be bound to the asset via attributes as opposed to living as a separate asset, though this has advantages in that it is exposed via CIFS, which will also continue being supported in the future using CIFS proc files to expose asset attributes as XML files in a virtual manner).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if more questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 20:20:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101167#M70199</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-04-26T20:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use xsd</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101168#M70200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to use web forms to edit XML files that are not part of any web projects. These are XML files located in a regular ECM space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The intention is to have better editing capability for XML files, than just the text-like editor provided for inline editing of XML files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So an XSD file would be associated with the XML file and the XForms will be used to capture and persist instance data into the XML file (initial data population and editing too), along with validation based on the XSD file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 18:02:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101168#M70200</guid>
      <dc:creator>spatil</dc:creator>
      <dc:date>2007-07-06T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use xsd</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101169#M70201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it possible to use web forms to edit XML files that are not part of any web projects. These are XML files located in a regular ECM space.&lt;BR /&gt;&lt;BR /&gt;The intention is to have better editing capability for XML files, than just the text-like editor provided for inline editing of XML files.&lt;BR /&gt;&lt;BR /&gt;So an XSD file would be associated with the XML file and the XForms will be used to capture and persist instance data into the XML file (initial data population and editing too), along with validation based on the XSD file.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Spatil, better late then never &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had this same requirement. With the release of version 2.9B this has become possible. You can now create all content based on a form. If this content is not part of a web project, there is no built-in way yet to render the resulting XML into a webpage. To overcome this, i have created a script that modifies the XML to call an XSLT stylesheet. This script is called from a content rule on the space i want the content in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this answer your wishes too?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 19:12:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101169#M70201</guid>
      <dc:creator>kbonnet</dc:creator>
      <dc:date>2008-02-29T19:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use xsd</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101170#M70202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Koen (and all),&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is timely for me. I've just created a similar script, and I'm having trouble with the relative address to the XSL file. Where are you locating yours, and what to you use for the reference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Keith&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 21:30:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101170#M70202</guid>
      <dc:creator>tsoifan</dc:creator>
      <dc:date>2008-03-03T21:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Use xsd</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101171#M70203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Keith,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;having trouble with the relative address to the XSL file. Where are you locating yours, and what to you use for the reference?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used the "view in browser" link from the details page of the XSL file. My scripts is this one below. I'm just replacing the existing processing instruction by two new ones. In the topic i linked to in my previous post is the suggestion to use E4X-script, although the poster there also stated he used this kind of text parsing/replacement too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this help you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;xmltext = document.content;&lt;BR /&gt;pi = '&amp;lt;?xml version="1.0"?&amp;gt;&amp;lt;?xml-stylesheet type="text/xsl" href="/alfresco/d/d/workspace/SpacesStore/7e9f86e1-e6e7-11dc-b181-65bd8e557e77/Stylesheet" ?&amp;gt;';&lt;BR /&gt;document.content = xmltext.replace('&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;',pi);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 21:38:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101171#M70203</guid>
      <dc:creator>kbonnet</dc:creator>
      <dc:date>2008-03-03T21:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use xsd</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101172#M70204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Koen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does this help you?&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;href="/alfresco/d/d/workspace/SpacesStore/7e9f86e1-e6e7-11dc-b181-65bd8e557e77/Stylesheet"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Yes, a look at that href is exactly what I needed. I didn't originally think of placing the stylesheet in the managed content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One extra thing I have my script doing; deleting any previous stylesheet reference, so the script doesn't add an extra one each time the form is edited.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Keith&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 17:32:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-xsd/m-p/101172#M70204</guid>
      <dc:creator>tsoifan</dc:creator>
      <dc:date>2008-03-07T17:32:55Z</dc:date>
    </item>
  </channel>
</rss>

