Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Question: Functions; I have input, but no output. What's wrong with my XSLT?

$
0
0
wysocki wrote:
You should iterate your SQL function you make a call to:
<xsl:apply-templates select="/in:inputs/in:result[@name='AllSubjects']/root/NewDataSet/Table" />
<xsl:template match="/in:inputs/in:result[@name='AllSubjects']/root/NewDataSet/Table">

/Vitaly

Thanks. That worked! I got:

<htmlxmlns="http://www.w3.org/1999/xhtml"><head/><body><h1>test</h1><p>ID: 132</p><p>GradLevel: Special</p><p>Subject: TEST Subject</p><p>Type: Special</p><p>SubType: </p><p>School: TEST School</p><p>Sites: Newton Park</p><p>URL: /sql-demo</p></body></html>
Now all I need to do is work out how to pass the URL of the page to the SQL Select statement.


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>