<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Iterate over nodes "]]></title>
		<link>http://forums.jcatalog.com/forums/posts/list/2.page</link>
		<description><![CDATA[Latest messages posted in the topic "Iterate over nodes "]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Iterate over nodes </title>
				<description><![CDATA[ Hi there,<br /> <br /> I'm trying to iterate over nodes in a table. For this purpose, I'm using break-level in a table. However, I now want to print some attributes of a series of child nodes that each have a different name. <br /> Example:<br /> <br /> &lt;webshop&gt;<br />     &lt;Costs&gt;<br />       &lt;Deliverycosts label="Verzendkosten" price="1,00" tax="True" taxincluded="True" withouttax="0,00" /&gt;<br />       &lt;Paymentcosts label="Kosten betaalwijze" price="2,00" tax="True" taxincluded="True" withouttax="0,00" /&gt;<br />       &lt;Administrativecosts label="Administratiekosten" price="3,00" tax="True" taxincluded="True" withouttax="0,00" /&gt;<br />       &lt;coupon label="50% korting" price="-5,00" tax="True" taxincluded="True" withouttax="0,00" /&gt;<br />     &lt;/Costs&gt;<br /> &lt;/webshop&gt;<br /> <br /> I want to print the "label" and "price" attributes, in 4 separate rows.<br /> <br /> So the break level on the row should be &lt;webshop&gt;&lt;Costs&gt;/*<br /> <br /> However, the dialog in which i specify the break level only allows me to select the &lt;Costs&gt; node, I cannot type /* anywhere (as far as I can see).<br /> <br /> How should I do this within XSL Fast? I know how to do it in XSL or in FO, but I want to use the layout facilities in xsl fast.<br /> <br /> Thanks for your response,<br /> <br /> Roland]]></description>
				<guid isPermaLink="true">http://forums.jcatalog.com/forums/posts/preList/162/9874.page</guid>
				<link>http://forums.jcatalog.com/forums/posts/preList/162/9874.page</link>
				<pubDate><![CDATA[Tue, 2 Mar 2010 10:46:17]]> GMT</pubDate>
				<author><![CDATA[ Roland Vonk]]></author>
			</item>
			<item>
				<title>Re:Iterate over nodes </title>
				<description><![CDATA[ To specify custom filtering, you need to:<br /> <br /> 1. At proper row, right click -&gt; context menu -&gt; add/edit break level.<br /> 2. At opened dialog, follow to 2nd tab, and in expression window, specify data you need (e.g. Costs/*).<br /> 3. Press [Add] button.<br /> <br /> [img]http://lh5.ggpht.com/_84MMVTUvC4c/S5Dw8EWoadI/AAAAAAAAADU/NS6oyevMzJE/Clipboard02.jpg[/img]<br /> <br /> Now, you have custom virtual grouping assigned to selected row and the rest rows till end of table. Of course, you can use newly created filtering for whole table grouping or even for page grouping as well, like the following image:<br /> <br /> [img]http://lh5.ggpht.com/_84MMVTUvC4c/S5Dwq9_ZonI/AAAAAAAAADI/sZ0Ju5FoCRE/s912/Clipboard04.jpg[/img]<br /> <br /> Also, to let you manage sub-elements of virtual grouping (filtering) easy, you can do the following:<br /> <br /> Drop Costs/Deliverycosts (or any other leaf you want) into edit box &quot;Copy from&quot;, and check option [x] Copy subtree. With this trick, you'll specify XSLfast which leafs will be shown at main tree as children leafs for drag and drop. Usually, you don't need to do this manually, and XSLfast able to compute this information on the fly. But for your case XSLfast needs an hint.<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.jcatalog.com/forums/posts/preList/162/9875.page</guid>
				<link>http://forums.jcatalog.com/forums/posts/preList/162/9875.page</link>
				<pubDate><![CDATA[Fri, 5 Mar 2010 11:59:08]]> GMT</pubDate>
				<author><![CDATA[ Victor Krapivin]]></author>
			</item>
	</channel>
</rss>
