<?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: Edit Web Content Wizard in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/edit-web-content-wizard/m-p/259598#M212728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mohan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do find &amp;lt;xsl&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utput method="xml" encoding="utf-8" indent="yes"….. line in your XSL file declaration and the code in it tries to create a new xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To let you know the xsd itself creates a xml file which in turn can be used to create the required output. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out with the below xsl :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;xsl:stylesheet version="1.0" xmlns:xsl="&lt;A href="http://www.w3.org/1999/XSL/Transform" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/1999/XSL/Transform&lt;/A&gt;" &amp;gt;&lt;BR /&gt;&amp;lt;xsl:template match="/"&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;Test Page&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;table cellspacing="0" cellpadding="0" border="0"&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;City&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;xsl:value-of select="sample/name"/&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;xsl:value-of select="sample/city"/&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/xsl:template&amp;gt;&lt;BR /&gt;&amp;lt;/xsl:stylesheet&amp;gt;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;If you are in need of multiple values for Name &amp;amp; City then you may need to change the xsd so that it has an element which is of type maxOccurs="unbounded" and using &amp;lt;xsl:for-each&amp;gt; tag you may iterate over all the items.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope so that helps you out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2011 21:36:48 GMT</pubDate>
    <dc:creator>sujaypillai</dc:creator>
    <dc:date>2011-05-03T21:36:48Z</dc:date>
    <item>
      <title>Edit Web Content Wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/edit-web-content-wizard/m-p/259597#M212727</link>
      <description>Hi,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have created a web form by using xsd, xsl and ftl. Iam trying to edit a web content and i got the following error in alfresco explorer. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.lang.IllegalArgumentException: instance document root tag name invalid. expected sample, got html&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The files are below:sample.xsd&amp;lt;</description>
      <pubDate>Mon, 02 May 2011 12:38:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/edit-web-content-wizard/m-p/259597#M212727</guid>
      <dc:creator>mohanakannan_19</dc:creator>
      <dc:date>2011-05-02T12:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Web Content Wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/edit-web-content-wizard/m-p/259598#M212728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mohan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do find &amp;lt;xsl&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utput method="xml" encoding="utf-8" indent="yes"….. line in your XSL file declaration and the code in it tries to create a new xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To let you know the xsd itself creates a xml file which in turn can be used to create the required output. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out with the below xsl :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;xsl:stylesheet version="1.0" xmlns:xsl="&lt;A href="http://www.w3.org/1999/XSL/Transform" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/1999/XSL/Transform&lt;/A&gt;" &amp;gt;&lt;BR /&gt;&amp;lt;xsl:template match="/"&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;Test Page&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;table cellspacing="0" cellpadding="0" border="0"&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;City&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;xsl:value-of select="sample/name"/&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;xsl:value-of select="sample/city"/&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/xsl:template&amp;gt;&lt;BR /&gt;&amp;lt;/xsl:stylesheet&amp;gt;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;If you are in need of multiple values for Name &amp;amp; City then you may need to change the xsd so that it has an element which is of type maxOccurs="unbounded" and using &amp;lt;xsl:for-each&amp;gt; tag you may iterate over all the items.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope so that helps you out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 21:36:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/edit-web-content-wizard/m-p/259598#M212728</guid>
      <dc:creator>sujaypillai</dc:creator>
      <dc:date>2011-05-03T21:36:48Z</dc:date>
    </item>
  </channel>
</rss>

