<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[Content with Style - Comments on Dynamic tables with XSLT]]></title>
    <link>http://www.contentwithstyle.co.uk/feeds/rss/comments/5</link>
    <description><![CDATA[]]></description>
    <pubDate>Thu, 02 Sep 2010 15:08:48 -0400</pubDate>
    <generator>Zend_Feed</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Content with Style - Comment #1 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-865</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-865</guid>
      <description><![CDATA[I wonder why it doesn&#8217;t work when I download  both xml file &#38; xsl file from this sample.  It show output but once i tried to click on either one link for sorting, it doesn&#8217;t work as what sample shown. <br />
<br />
What is the problem? Do you miss out some line of the code??]]></description>
      <content:encoded><![CDATA[I wonder why it doesn&#8217;t work when I download  both xml file &#38; xsl file from this sample.  It show output but once i tried to click on either one link for sorting, it doesn&#8217;t work as what sample shown. <br />
<br />
What is the problem? Do you miss out some line of the code??]]></content:encoded>
      <pubDate>Mon, 12 Jun 2006 05:43:14 -0400</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #2 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-866</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-866</guid>
      <description><![CDATA[@angie: I don&#8217;t think so, as it works fine in my example files when I run them on my machine. <br />
Maybe  you can post your platform and PHP version, including which parser you&#8217;re using?<br />
<br />
Depending on which PHP version and platform you&#8217;re using it might be neccessary to include the &#8220;file://&#8221; protocol in the xml and xsl path in order to get it working:<br />
<br />
<pre><code>
//filepath on windows
$xml = 'file://' . str_replace("\", "/", getcwd()) . "/data.xml";
$xsl = 'file://' . str_replace("\", "/", getcwd()) . "/example.xsl";

//process the file and echo the result
echo xslt_process($my_xslt,$xml,$xsl,NULL,array(),$arguments);
</code></pre>]]></description>
      <content:encoded><![CDATA[@angie: I don&#8217;t think so, as it works fine in my example files when I run them on my machine. <br />
Maybe  you can post your platform and PHP version, including which parser you&#8217;re using?<br />
<br />
Depending on which PHP version and platform you&#8217;re using it might be neccessary to include the &#8220;file://&#8221; protocol in the xml and xsl path in order to get it working:<br />
<br />
<pre><code>
//filepath on windows
$xml = 'file://' . str_replace("\", "/", getcwd()) . "/data.xml";
$xsl = 'file://' . str_replace("\", "/", getcwd()) . "/example.xsl";

//process the file and echo the result
echo xslt_process($my_xslt,$xml,$xsl,NULL,array(),$arguments);
</code></pre>]]></content:encoded>
      <pubDate>Mon, 12 Jun 2006 06:04:22 -0400</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #3 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-948</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-948</guid>
      <description><![CDATA[I am interested in how you get the variables that are passed into the XSL.  It seems you are somehow taking them from the URL.  You have examples of PHP and JavaScript, but I do not understand how this code works with the XSL.  How does your XSL know that it needs to use PHP or JavaScript?  <br />
<br />
Here is another question that I am interested in.  How would this be done in JSP?<br />
<br />
This page is very helpful.  Thank you for the great information thus far.]]></description>
      <content:encoded><![CDATA[I am interested in how you get the variables that are passed into the XSL.  It seems you are somehow taking them from the URL.  You have examples of PHP and JavaScript, but I do not understand how this code works with the XSL.  How does your XSL know that it needs to use PHP or JavaScript?  <br />
<br />
Here is another question that I am interested in.  How would this be done in JSP?<br />
<br />
This page is very helpful.  Thank you for the great information thus far.]]></content:encoded>
      <pubDate>Wed, 28 Jun 2006 16:14:10 -0400</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #4 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-949</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-949</guid>
      <description><![CDATA[Hi Mike. Usually the XSL is transfomed by a processor.<br />
You pass the XML, the XSL and some optional arguments to this processor. In this case I just pass the whole GET collection. <br />
<br />
Have a look in the function call for the transformation:<br />

<pre><code>
$arguments = $_GET;
xslt_process($my_xslt,$xml,$xsl,NULL,array(),$arguments);
</code></pre>

You can do this in javascript, c# and in PHP very easily. I have no idea how such a thing would look exactly in JSP, but I assume it will be pretty much the same.]]></description>
      <content:encoded><![CDATA[Hi Mike. Usually the XSL is transfomed by a processor.<br />
You pass the XML, the XSL and some optional arguments to this processor. In this case I just pass the whole GET collection. <br />
<br />
Have a look in the function call for the transformation:<br />

<pre><code>
$arguments = $_GET;
xslt_process($my_xslt,$xml,$xsl,NULL,array(),$arguments);
</code></pre>

You can do this in javascript, c# and in PHP very easily. I have no idea how such a thing would look exactly in JSP, but I assume it will be pretty much the same.]]></content:encoded>
      <pubDate>Sun, 14 Dec 2008 16:47:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #5 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-953</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-953</guid>
      <description><![CDATA[Thanks for the pointer.  I guess I still need a little more clearing up.<br />
<br />
Where would this code (that contains the function call for the transformation) go?  If I use JavaScript in my XSL style sheet, would I need to create a function (with this code) inside the script tags and call it somewhere in the style sheet?  Would it be better to keep the JavaScript in a separate file?<br />
<br />
I appreciate your time and help!  Maybe I&#8217;ll finally be able to figure this out.]]></description>
      <content:encoded><![CDATA[Thanks for the pointer.  I guess I still need a little more clearing up.<br />
<br />
Where would this code (that contains the function call for the transformation) go?  If I use JavaScript in my XSL style sheet, would I need to create a function (with this code) inside the script tags and call it somewhere in the style sheet?  Would it be better to keep the JavaScript in a separate file?<br />
<br />
I appreciate your time and help!  Maybe I&#8217;ll finally be able to figure this out.]]></content:encoded>
      <pubDate>Thu, 29 Jun 2006 15:24:52 -0400</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #6 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-956</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-956</guid>
      <description><![CDATA[Mike, please take some time and look at source of the example files. Then you shouldn&#8217;t have any problem to unscramble these questions yourself.]]></description>
      <content:encoded><![CDATA[Mike, please take some time and look at source of the example files. Then you shouldn&#8217;t have any problem to unscramble these questions yourself.]]></content:encoded>
      <pubDate>Thu, 29 Jun 2006 17:47:11 -0400</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #7 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-981</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-981</guid>
      <description><![CDATA[no sablatron in ZIP file]]></description>
      <content:encoded><![CDATA[no sablatron in ZIP file]]></content:encoded>
      <pubDate>Thu, 06 Jul 2006 05:48:58 -0400</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #8 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-983</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-983</guid>
      <description><![CDATA[Mikkel:<br />
You can <a href="http://www.gingerall.org/sablotron.html">find sablotron here</a>. <br />
It&#8217;s a server extension, so you will have to install it first.]]></description>
      <content:encoded><![CDATA[Mikkel:<br />
You can <a href="http://www.gingerall.org/sablotron.html">find sablotron here</a>. <br />
It&#8217;s a server extension, so you will have to install it first.]]></content:encoded>
      <pubDate>Thu, 06 Jul 2006 09:08:39 -0400</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #9 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-1864</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-1864</guid>
      <description><![CDATA[Hi <br />
First of all i would like to thank you for such a good tutorial. With the same code i am trying to display to two dynamic tables. <br />
In the main body i am calling 2 templates to display:<br />
xsl:call-template name=&#8221;onuVlanEntry&#8221;<br />
xsl:call-template name=&#8221;VoipLineEntry&#8221;<br />
<br />
In the tbody i am specifying this:<br />
xsl:apply-templates<br />
<br />
in the both the table there are 2 rows. Now in both the tables it is displaying 4 rows. In the tbody <br />
xsl:call-template name=&#8221;onuVlanEntryRows&#8221;<br />
is not working. Can you plaease help me out . I am not using sort. simple two table data display.<br />
<br />
Thanks In advance<br />
Nilesh]]></description>
      <content:encoded><![CDATA[Hi <br />
First of all i would like to thank you for such a good tutorial. With the same code i am trying to display to two dynamic tables. <br />
In the main body i am calling 2 templates to display:<br />
xsl:call-template name=&#8221;onuVlanEntry&#8221;<br />
xsl:call-template name=&#8221;VoipLineEntry&#8221;<br />
<br />
In the tbody i am specifying this:<br />
xsl:apply-templates<br />
<br />
in the both the table there are 2 rows. Now in both the tables it is displaying 4 rows. In the tbody <br />
xsl:call-template name=&#8221;onuVlanEntryRows&#8221;<br />
is not working. Can you plaease help me out . I am not using sort. simple two table data display.<br />
<br />
Thanks In advance<br />
Nilesh]]></content:encoded>
      <pubDate>Thu, 21 Dec 2006 17:37:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #10 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-3838</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-3838</guid>
      <description><![CDATA[When I run it, I got the following error message:<br />
<br />
Fatal error: Call to undefined function: xslt_create() in /home/cws/public_html/resources/xsl_tables/simple_table/transform.php on line 3<br />
<br />
Please help me .]]></description>
      <content:encoded><![CDATA[When I run it, I got the following error message:<br />
<br />
Fatal error: Call to undefined function: xslt_create() in /home/cws/public_html/resources/xsl_tables/simple_table/transform.php on line 3<br />
<br />
Please help me .]]></content:encoded>
      <pubDate>Wed, 10 Sep 2008 23:31:34 -0400</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #11 on Dynamic tables with XSLT]]></title>
      <link>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-3841</link>
      <guid>http://www.contentwithstyle.co.uk/content/dynamic-tables-with-xslt/#comment-3841</guid>
      <description><![CDATA[casey: Make sure you have an XSL processor in your PHP installation. Now, the example I wrote here years ago works with Sablotron, but there is a new, built in processor in PHP5. Check <a href="http://uk2.php.net/xsl">the manual</a> for how to instanciate that one.]]></description>
      <content:encoded><![CDATA[casey: Make sure you have an XSL processor in your PHP installation. Now, the example I wrote here years ago works with Sablotron, but there is a new, built in processor in PHP5. Check <a href="http://uk2.php.net/xsl">the manual</a> for how to instanciate that one.]]></content:encoded>
      <pubDate>Thu, 11 Sep 2008 03:08:26 -0400</pubDate>
    </item>
  </channel>
</rss>
