<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community - XML, XSLT and XPATH</title>
		<link>http://www.daniweb.com/forums/</link>
		<description><![CDATA[Our XML, XSLT and XPATH forum is the place for Q&A-style discussions related to XML.  Note we have a separate RSS, Web Services and SOAP forum in the Web Development category.]]></description>
		<language>en-US</language>
		<lastBuildDate>Sun, 08 Nov 2009 03:58:59 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community - XML, XSLT and XPATH</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title>How to Compare Date in XPath Expression</title>
			<link>http://www.daniweb.com/forums/thread235935.html</link>
			<pubDate>Wed, 04 Nov 2009 10:45:47 GMT</pubDate>
			<description><![CDATA[I have orders.xml like the following 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code Tags</a>...]]></description>
			<content:encoded><![CDATA[<div>I have orders.xml like the following<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;<br />
&lt;orders&gt;<br />
&lt;order orderDate=&quot;1/1/2009&quot; orderNo=&quot;1&quot;&gt;<br />
&lt;customer id=&quot;nnghiem&quot; name=&quot;nguyen nghiem&quot;/&gt;<br />
&lt;item id=&quot;item-1&quot; price=&quot;25000&quot; quantity=&quot;0&quot;/&gt;<br />
&lt;item id=&quot;item-2&quot; price=&quot;22000&quot; quantity=&quot;3&quot;/&gt;<br />
&lt;/order&gt;<br />
&lt;order orderDate=&quot;2/2/2009&quot; orderNo=&quot;2&quot;&gt;<br />
&lt;customer id=&quot;lp&quot; name=&quot;lampard&quot;/&gt;<br />
&lt;item id=&quot;item-1&quot; price=&quot;25000&quot; quantity=&quot;2&quot;/&gt;<br />
&lt;item id=&quot;item-2&quot; price=&quot;22000&quot; quantity=&quot;8&quot;/&gt;<br />
&lt;/order&gt;<br />
&lt;order orderDate=&quot;3/3/2007&quot; orderNo=&quot;3&quot;&gt;<br />
&lt;customer id=&quot;nnghiem&quot; name=&quot;nguyen nghiem&quot;/&gt;<br />
&lt;item id=&quot;item-1&quot; price=&quot;25000&quot; quantity=&quot;7&quot;/&gt;<br />
&lt;item id=&quot;item-2&quot; price=&quot;22000&quot; quantity=&quot;6&quot;/&gt;<br />
&lt;/order&gt;<br />
&lt;/orders&gt;</pre><br />
I want to retrieve every order in '2009 <br />
I solved this problem by the following way:<br />
<br />
 <pre style="margin:20px; line-height:13px">String exp = &quot;/orders/order[substring(@orderDate,string-length(@orderDate)-3)='2009']&quot;;<br />
//... some code lines</pre><br />
I wonder is there any way to compare date in this situation like this:<br />
<br />
 <pre style="margin:20px; line-height:13px">String exp = &quot;/orders/order[@orderDate&lt;'31/12/2009' and @orderDate&gt;'1/1/2009']&quot;;</pre><br />
// get all orders between 1/1/2009 and 31/12/2009 (in year 2009)<br />
<br />
but this exp will not return the expected result<br />
<br />
How to solve this problem?<br />
<br />
Thanks for your attention!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>extkml</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235935.html</guid>
		</item>
		<item>
			<title>XPath Expression to calculate total amount for order details</title>
			<link>http://www.daniweb.com/forums/thread235931.html</link>
			<pubDate>Wed, 04 Nov 2009 10:28:43 GMT</pubDate>
			<description><![CDATA[I have a xml file like this 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code Tags</a> </div> <div>...]]></description>
			<content:encoded><![CDATA[<div>I have a xml file like this<br />
<br />
 <pre style="margin:20px; line-height:13px"><br />
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;<br />
&lt;orders&gt;<br />
&lt;order orderDate=&quot;1/1/2009&quot; orderNo=&quot;1&quot;&gt;<br />
&lt;customer id=&quot;nnghiem&quot; name=&quot;nguyen nghiem&quot;/&gt;<br />
&lt;item id=&quot;item-1&quot; price=&quot;25000&quot; quantity=&quot;0&quot;/&gt;<br />
&lt;item id=&quot;item-2&quot; price=&quot;22000&quot; quantity=&quot;3&quot;/&gt;<br />
&lt;/order&gt;<br />
&lt;order orderDate=&quot;2/2/2009&quot; orderNo=&quot;2&quot;&gt;<br />
&lt;customer id=&quot;lp&quot; name=&quot;lampard&quot;/&gt;<br />
&lt;item id=&quot;item-1&quot; price=&quot;25000&quot; quantity=&quot;2&quot;/&gt;<br />
&lt;item id=&quot;item-2&quot; price=&quot;22000&quot; quantity=&quot;8&quot;/&gt;<br />
&lt;/order&gt;<br />
&lt;order orderDate=&quot;3/3/2007&quot; orderNo=&quot;3&quot;&gt;<br />
&lt;customer id=&quot;nnghiem&quot; name=&quot;nguyen nghiem&quot;/&gt;<br />
&lt;item id=&quot;item-1&quot; price=&quot;25000&quot; quantity=&quot;7&quot;/&gt;<br />
&lt;item id=&quot;item-2&quot; price=&quot;22000&quot; quantity=&quot;6&quot;/&gt;<br />
&lt;/order&gt;<br />
&lt;/orders&gt;</pre><br />
Now i want to calculate total amount for each order<br />
<br />
this is my xsl file<br />
<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:for-each select=&quot;/orders/order&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt; &lt;xsl:value-of select=&quot;@orderNo&quot;&gt;&lt;/xsl:value-of&gt; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt; &lt;xsl:value-of select=&quot;@orderDate&quot;&gt;&lt;/xsl:value-of&gt; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt; &lt;xsl:value-of select=&quot;customer/@name&quot;&gt;&lt;/xsl:value-of&gt; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt; &lt;xsl:value-of select=&quot;sum(item/@quantity * item/@price)&quot;&gt;&lt;/xsl:value-of&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:for-each&gt;</pre><br />
When i transform xml+xsl =&gt; html, an error occured at the line <br />
 <pre style="margin:20px; line-height:13px">&lt;xsl:value-of select=&quot;sum(item/@quantity * item/@price)&quot;&gt;&lt;/xsl:value-of&gt;</pre><br />
I can only guess that my xpath - expression is not correct, i also tried this:<br />
 <pre style="margin:20px; line-height:13px">&lt;xsl:value-of select=&quot;sum(item/@quantity * @price)&quot;&gt;&lt;/xsl:value-of&gt;</pre><br />
But i also got the same problem. How can i fix this?<br />
<br />
I need some advices, i've just learnt XSL for 1 week.<br />
<br />
Thanks for your attention</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>extkml</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235931.html</guid>
		</item>
		<item>
			<title>Convert XML file to another XML file using XSLT</title>
			<link>http://www.daniweb.com/forums/thread235237.html</link>
			<pubDate>Mon, 02 Nov 2009 03:57:40 GMT</pubDate>
			<description><![CDATA[I need to convert the following XML file  
<Para> 
<PgfTag value="Body" type="str"/> 
<Pgf> 
<PgfFont> 
<FFamily value="Times New Roman" type="str"/> 
<FWeight value="Regular" type="str"/> 
</PgfFont> 
</Pgf> 
<ParaLine>]]></description>
			<content:encoded><![CDATA[<div>I need to convert the following XML file <br />
 <pre style="margin:20px; line-height:13px">&lt;Para&gt;<br />
&lt;PgfTag value=&quot;Body&quot; type=&quot;str&quot;/&gt;<br />
&lt;Pgf&gt;<br />
&lt;PgfFont&gt;<br />
&lt;FFamily value=&quot;Times New Roman&quot; type=&quot;str&quot;/&gt;<br />
&lt;FWeight value=&quot;Regular&quot; type=&quot;str&quot;/&gt;<br />
&lt;/PgfFont&gt;<br />
&lt;/Pgf&gt;<br />
&lt;ParaLine&gt;<br />
&lt;String&gt;Underlined charcter&lt;/String&gt;<br />
&lt;/ParaLine&gt;<br />
&lt;/Para&gt;<br />
&lt;Para&gt;<br />
&lt;PgfTag value=&quot;Body&quot; type=&quot;str&quot;/&gt;<br />
&lt;Pgf&gt;<br />
&lt;PgfFont&gt;<br />
&lt;FFamily value=&quot;Times New Roman&quot; type=&quot;str&quot;/&gt;<br />
&lt;FWeight value=&quot;Regular&quot; type=&quot;str&quot;/&gt;<br />
&lt;FAngle value=&quot;Italic&quot; type=&quot;str&quot;/&gt;<br />
&lt;/PgfFont&gt;<br />
&lt;/Pgf&gt;<br />
&lt;ParaLine&gt;<br />
&lt;String&gt;Italic charcter&lt;/String&gt;<br />
&lt;/ParaLine&gt;<br />
&lt;/Para&gt;</pre><br />
to<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;styles&gt;<br />
&lt;style family=&quot;paragraph&quot; name=&quot;P1&quot;&gt;<br />
&lt;paragraph-properties line-height-at-least=&quot;0.1945in&quot; text- autospace=&quot;none&quot; /&gt;<br />
&lt;text-properties text-underline-style=&quot;solid&quot; text-underline-width=&quot;auto&quot;/&gt;<br />
&lt;/style&gt;<br />
&lt;style family=&quot;paragraph&quot; name=&quot;P2&quot;&gt;<br />
&lt;paragraph-properties line-height-at-least=&quot;0.1945in&quot; text-autospace=&quot;none&quot;&gt;<br />
&lt;/paragraph-properties&gt;<br />
&lt;text-properties font-style=&quot;italic&quot;&gt;<br />
&lt;/text-properties&gt;<br />
&lt;/style&gt;<br />
&lt;/styles&gt;<br />
&lt;body&gt;<br />
&lt;texts&gt;<br />
&lt;text style-name=&quot;P1&quot;&gt;<br />
Underlined charcter<br />
&lt;/text&gt;<br />
&lt;text style-name=&quot;P2&quot;&gt;<br />
Italic charcter<br />
&lt;/text&gt;<br />
&lt;/texts&gt;<br />
&lt;/body&gt;</pre><br />
I am able to get the styles tags but how Can I get the Texts tags with style-names as P1 and P2<br />
<br />
Thank you in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>sushil.sharma75</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235237.html</guid>
		</item>
		<item>
			<title><![CDATA[Nesting of xsl:key() within xsl:key() & combining results of xsl:key()]]></title>
			<link>http://www.daniweb.com/forums/thread235091.html</link>
			<pubDate>Sun, 01 Nov 2009 12:44:21 GMT</pubDate>
			<description>Hi all, 
 
I have 2 unrelated questions. I need to do a grouping of data using XSLT. I need this to function like how a nested IF within an IF would function. After which, I need to group the data so that I can split it into multiple files according to the Group condition. 
 
Using XSLT Version 1.0...</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
I have 2 unrelated questions. I need to do a grouping of data using XSLT. I need this to function like how a nested IF within an IF would function. After which, I need to group the data so that I can split it into multiple files according to the Group condition.<br />
<br />
Using XSLT Version 1.0 :<br />
<br />
Q1) How do you nest a key() within another key() (i.e. Use the result nodes returned from the first key() as current node-list to search for 2nd key() condition to group my data)?<br />
<br />
Q2) Can I combine the results of 2 key() functions? Say, I want to execute code for all nodes with Key values of &quot;A&quot; and &quot;B&quot;.<br />
<br />
Does anyone know how to solve Q1 and Q2?<br />
<br />
Appreciate your help very much! I hope the questions are clear enough. Let me know if you need examples of input and output.<br />
<br />
Regards, Melita.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>meli7a</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235091.html</guid>
		</item>
		<item>
			<title>Fetch live scores and save them to database</title>
			<link>http://www.daniweb.com/forums/thread234167.html</link>
			<pubDate>Wed, 28 Oct 2009 18:59:17 GMT</pubDate>
			<description>I am trying to make a desktop application that can fetch live scores from web and save them to a database for offline view. 
Also if you know any open source application that is capable of displaying scores  by fecthing from web then please tell. 
 
I dont know how to access scores of a match. 
I...</description>
			<content:encoded><![CDATA[<div>I am trying to make a desktop application that can fetch live scores from web and save them to a database for offline view.<br />
Also if you know any open source application that is capable of displaying scores  by fecthing from web then please tell.<br />
<br />
I dont know how to access scores of a match.<br />
I have seen widgets that are capable of doing this by using a java script i think.<br />
<br />
But i want to make a desktop application</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>lifeh2o</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234167.html</guid>
		</item>
		<item>
			<title>Checking the date</title>
			<link>http://www.daniweb.com/forums/thread234155.html</link>
			<pubDate>Wed, 28 Oct 2009 16:59:22 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
I am new to Xpath so this is a very basic question. 
I have a date variable I want compare that variable to current date. 
example: my_date > current_date then print "previous date" 
how to write this in xpath? 
thanks]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I am new to Xpath so this is a very basic question.<br />
I have a date variable I want compare that variable to current date.<br />
example: my_date &gt; current_date then print &quot;previous date&quot;<br />
how to write this in xpath?<br />
thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>veboit</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234155.html</guid>
		</item>
		<item>
			<title>Variable not working as expected?</title>
			<link>http://www.daniweb.com/forums/thread233540.html</link>
			<pubDate>Mon, 26 Oct 2009 18:03:39 GMT</pubDate>
			<description><![CDATA[So I created a template for a simple link builder function.  
Problem is, when I use it, I don't get the link, I get just the text.  
Could anyone help me understand what I'm doing wrong? 
 
Thanks! 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>So I created a template for a simple link builder function. <br />
Problem is, when I use it, I don't get the link, I get just the text. <br />
Could anyone help me understand what I'm doing wrong?<br />
<br />
Thanks!<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;xsl:variable name=&quot;ReadMore&quot;&gt;<br />
&nbsp; &lt;xsl:call-template name=&quot;linkBuilder&quot; &gt;<br />
&nbsp; &nbsp;  &lt;xsl:with-param name=&quot;linkID&quot; select=&quot;format-number(@ID, '#,##0.#;-#,##0.#')&quot;&nbsp; /&gt;<br />
&nbsp; &lt;/xsl:call-template&gt;<br />
&lt;/xsl:variable&gt;<br />
&lt;xsl:value-of select=&quot;concat(substring(@Body,0,300),'...', $ReadMore)&quot; disable-output-escaping=&quot;yes&quot; /&gt;</pre>And the function itself<br />
 <pre style="margin:20px; line-height:13px">&lt;xsl:template name=&quot;linkBuilder&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:param name=&quot;linkID&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;http://mysite.com/page_view.aspx?ID={$linkID}&quot;&gt;[read more]&lt;/a&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:template&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>TeckniX</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233540.html</guid>
		</item>
		<item>
			<title>Password protect SpreadsheetML</title>
			<link>http://www.daniweb.com/forums/thread233081.html</link>
			<pubDate>Sun, 25 Oct 2009 05:39:35 GMT</pubDate>
			<description><![CDATA[I am using XSL to transform the XML.I am generating a Excel sheet using XML/XSLT. I want to password protect the sheet. If a user try to modify any cell then it ask for password? 
 
<?xml version ="1.0" encoding ="utf-8" ?> 
   
  <xsl:stylesheet version="1.0"...]]></description>
			<content:encoded><![CDATA[<div>I am using XSL to transform the XML.I am generating a Excel sheet using XML/XSLT. I want to password protect the sheet. If a user try to modify any cell then it ask for password?<br />
<br />
&lt;?xml version =&quot;1.0&quot; encoding =&quot;utf-8&quot; ?&gt;<br />
  <br />
  &lt;xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; <br />
                  xmlns=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot;<br />
    <br />
 xmlns:msxsl=&quot;urn:schemas-microsoft-com:xslt&quot;<br />
 xmlns:user=&quot;urn:my-scripts&quot;<br />
 xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot;<br />
 xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot;<br />
 xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot; &gt;<br />
<br />
<br />
<br />
    &lt;xsl:template match=&quot;/&quot;&gt;<br />
      &lt;ss:Workbook xmlns=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot;<br />
   xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot;<br />
   xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot;<br />
   xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot;<br />
   xmlns:html=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;<br />
<br />
        &lt;!--&lt;x:ExcelWorkbook&gt;<br />
<br />
          &lt;WindowHeight&gt;5400&lt;/WindowHeight&gt;<br />
<br />
          &lt;WindowWidth&gt;6534&lt;/WindowWidth&gt;<br />
<br />
          &lt;WindowTopX&gt;120&lt;/WindowTopX&gt;<br />
<br />
          &lt;WindowTopY&gt;30&lt;/WindowTopY&gt;<br />
<br />
          &lt;ProtectStructure&gt;False&lt;/ProtectStructure&gt;<br />
<br />
          &lt;ProtectWindows&gt;False&lt;/ProtectWindows&gt;<br />
<br />
        &lt;/x:ExcelWorkbook&gt;--&gt;<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
        &lt;ss:Styles&gt;<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
          &lt;ss:Style ss:ID=&quot;targets_title_bold&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;1&quot;/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Center&quot; ss:Vertical=&quot;Top&quot; ss:WrapText=&quot;1&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/ss:Style&gt;<br />
          <br />
          &lt;ss:Style ss:ID=&quot;targets_title_bold_color&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;1&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#C0C0C0&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Center&quot; ss:Vertical=&quot;Top&quot; ss:WrapText=&quot;1&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;black_right&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;1&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#C0C0C0&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;black_left&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;1&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#C0C0C0&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;s28&quot;&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Top&quot; ss:ReadingOrder=&quot;LeftToRight&quot; ss:WrapText=&quot;1&quot;/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#808080&quot; ss:Underline=&quot;Single&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#FFFFFF&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;BoldColumn&quot;&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;s29&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#C0C0C0&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;s30&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;green&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#99CC00&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;green_right&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#99CC00&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/Style&gt;<br />
<br />
<br />
          &lt;Style ss:ID=&quot;blue&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#AEFFFF&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;blue_left&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;0&quot;/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#AEFFFF&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;blue_right&quot;&gt;<br />
            &lt;NumberFormat ss:Format=&quot;#,##0&quot;/&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;0&quot;/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#AEFFFF&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/Style&gt;<br />
<br />
<br />
          &lt;Style ss:ID=&quot;yellow&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#FFFF00&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
<br />
          &lt;Style ss:ID=&quot;yellow_right&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;NumberFormat ss:Format=&quot;0&quot; /&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#FFFF00&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/Style&gt;<br />
<br />
         <br />
<br />
          &lt;Style ss:ID=&quot;red&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#FF0000&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;red_right&quot;&gt;<br />
            &lt;NumberFormat ss:Format=&quot;0&quot;/&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#FF0000&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/Style&gt;<br />
         <br />
<br />
          &lt;Style ss:ID=&quot;pink&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#FF5FFE&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;allign_right&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            <br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;allign_left&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;bold&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
         &lt;Style ss:ID=&quot;Bold_Left&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;Bold_Right&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;target_minimum_effective&quot; &gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;minimum_effective_date&quot; &gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;target_minimum_expiration&quot; &gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;Font x:CharSet=&quot;1&quot; ss:Bold=&quot;1&quot; ss:Size=&quot;10&quot; ss:Color=&quot;#000000&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;minimum_expiration_date&quot; &gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;target_expiration_date&quot; &gt;<br />
            &lt;ss:Protection ss:Protected=&quot;0&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#AEFFFF&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;target_effective_date&quot; &gt;<br />
            &lt;ss:Protection ss:Protected=&quot;0&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#AEFFFF&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;business_address&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
         &lt;ss:Style ss:ID=&quot;business_address_value&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;0&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#AEFFFF&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;blank&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;targets_white_number_right&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;1&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;NumberFormat ss:Format=&quot;0&quot; /&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;Style ss:ID=&quot;format_string&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;1&quot;/&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Right&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
            &lt;NumberFormat ss:Format=&quot;#,##0&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
          &lt;/Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;border&quot;&gt;<br />
            &lt;ss:Protection/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Left&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;1&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
         &lt;/ss:Style&gt;<br />
<br />
<br />
          &lt;ss:Style ss:ID=&quot;red_error&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;1&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#FF0000&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;green_error&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;1&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#00F200&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
          &lt;ss:Style ss:ID=&quot;yellow_error&quot;&gt;<br />
            &lt;ss:Protection ss:Protected=&quot;1&quot;/&gt;<br />
            &lt;Interior ss:Color=&quot;#FFFF00&quot; ss:Pattern=&quot;Solid&quot;/&gt;<br />
            &lt;ss:Borders&gt;<br />
              &lt;ss:Border ss:Position=&quot;Right&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Top&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
              &lt;ss:Border ss:Position=&quot;Bottom&quot; ss:LineStyle=&quot;Continuous&quot; ss:Weight=&quot;3&quot;/&gt;<br />
            &lt;/ss:Borders&gt;<br />
            &lt;Alignment ss:Horizontal=&quot;Left&quot; ss:Vertical=&quot;Bottom&quot;/&gt;<br />
          &lt;/ss:Style&gt;<br />
<br />
<br />
<br />
<br />
        &lt;/ss:Styles&gt;<br />
<br />
<br />
<br />
<br />
<br />
        &lt;ss:Worksheet ss:Protected=&quot;1&quot; ss:Name=&quot;General&quot;&gt;<br />
          &lt;ss:Table&gt;<br />
<br />
            &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;127.284&quot; /&gt;<br />
            &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;146.700&quot; /&gt;<br />
<br />
            &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;48.20&quot; /&gt;<br />
            &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;128.79&quot; /&gt;<br />
            &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;81.337&quot; /&gt;<br />
<br />
            &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;48.20&quot; /&gt;<br />
<br />
            &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;48.20&quot; /&gt;<br />
            &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;48.20&quot; /&gt;<br />
<br />
            &lt;ss:Row&gt;<br />
<br />
<br />
             &lt;Cell ss:StyleID=&quot;s29&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;TBC - Rate Calculator&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;TBC v1.0&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/ss:Row&gt;<br />
<br />
            &lt;!--///////////////// 2nd Row ///////////////////////////////--&gt;<br />
<br />
<br />
            &lt;ss:Row&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;s29&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell  ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/cluster_id&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
            &lt;/ss:Row&gt;<br />
<br />
            &lt;!--'//////////////////////////// 3rd Row ////////////////////////////////////////////////////--&gt;<br />
<br />
<br />
<br />
            &lt;Row ss:Index=&quot;3&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;s29&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Cluster&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/cluster_name&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;target_minimum_effective&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Minimum Effective Date&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;minimum_effective_date&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/minimum_effective_date&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/template_id&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
           &lt;!--'//////////////////////////////////////4th Row ///////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;4&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;s29&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Route&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/routes&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;target_minimum_expiration&quot; &gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Minimum Expiration Date&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;minimum_expiration_date&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/minimum_expiration_date&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/main_id&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
           &lt;!--'//////////////////////////////////////5th Row ////////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;5&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;s29&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;User ID&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/userid&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
          &lt;!--'//////////////////////////////////////6th Row ////////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;6&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;s29&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Mail Address&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/mailaddress&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;target_minimum_effective&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Target Effective Date&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;target_effective_date&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/target_effective_date&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
         &lt;!--'//////////////////////////////////////7th Row ////////////////////////////////////////////////////--&gt;<br />
<br />
<br />
            &lt;Row ss:Index=&quot;7&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;s29&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Date &amp;amp; Time&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/datetime&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;target_minimum_expiration&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Target Expiration Date&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;target_expiration_date&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/target_expiration_date&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
       &lt;!--'//////////////////////////////////////8th Row ////////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;8&quot;&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
        &lt;!--'//////////////////////////////////////9th Row ////////////////////////////////////////////////////--&gt;<br />
            &lt;Row ss:Index=&quot;9&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;green&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Contract BAS rates&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
<br />
   &lt;!--'//////////////////////////////////////10th Row ////////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;10&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;yellow&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Target BAS rates&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;business_address&quot; &gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Business Address&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;business_address_value&quot; ss:MergeAcross=&quot;10&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;NewDataSet/General/business_address&quot;/&gt;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
        &lt;!--'//////////////////////////////////////11th Row ////////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;11&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;red&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Minimum BAS rates&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
         &lt;!--'//////////////////////////////////////12th Row ////////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;12&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blue&quot; &gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Editable fields&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
              <br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
              <br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
              <br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
       &lt;!--'//////////////////////////////////////13th Row ///////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;13&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;pink&quot; &gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Mars Line &gt; 30 days old&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
            &lt;/Row&gt;<br />
<br />
      &lt;!--'//////////////////////////////////////14th Row ///////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;14&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;green&quot; &gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;columns titled &quot;!&quot;&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Line is OK&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
            &lt;/Row&gt;<br />
<br />
            &lt;!--'//////////////////////////////////////15th Row ///////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;15&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;yellow&quot; &gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;columns titled &quot;!&quot; ?&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Target BAS &gt; Contract BAS&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
            &lt;/Row&gt;<br />
<br />
           &lt;!--'//////////////////////////////////////16th Row ///////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;16&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;red&quot; &gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;columns titled &quot;!&quot; !&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Line is inconsistent or&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
            &lt;/Row&gt;<br />
           &lt;!--'//////////////////////////////////////17th Row //////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;17&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Target BAS &amp;lt; Minimum BAS&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
           &lt;!--'//////////////////////////////////////18th Row ////////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;18&quot;&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
        &lt;!--'//////////////////////////////////////19th Row ///////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;19&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;BoldColumn&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Target Authority&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Receipt&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot; ss:MergeAcross=&quot;12&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Receipt Country Cluster has authority to set Targets. Delivery Country Cluster has read access. &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
          <br />
            &lt;/Row&gt;<br />
<br />
          &lt;!--'//////////////////////////////////////20th Row ///////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;20&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Delivery&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;  ss:MergeAcross=&quot;12&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Delivery Country Cluster has authority to set Targets. Receipt Country Cluster has read access.&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
<br />
<br />
<br />
           &lt;!--'//////////////////////////////////////21th Row ///////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;21&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;BoldColumn&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;RecExcl&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot; ss:MergeAcross=&quot;12&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Receipt Exclusively. Receipt Country Cluster has authority to set Targets. Delivery Country Cluster has no access.&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
           &lt;!--'//////////////////////////////////////22th Row ///////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;22&quot;&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;BoldColumn&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                &lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;DelExcl&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot; ss:MergeAcross=&quot;12&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Delivery Exclusively. Delivery Country Cluster has authority to set Targets. Receipt Country Cluster has no access.&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
          &lt;!--'//////////////////////////////////////23th Row //////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;Row ss:Index=&quot;23&quot;&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;blank&quot;&gt;<br />
              &lt;/Cell&gt;<br />
<br />
            &lt;/Row&gt;<br />
<br />
          &lt;!--'//////////////////////////////////////24th Row //////////////////////////////////////////////////--&gt;<br />
            &lt;Row ss:Index=&quot;24&quot;&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;Bold_Left&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Exchange Rates (USD)&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;Bold_Left&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Currency&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;Bold_Left&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Code&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;Bold_Right&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Rate&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
              &lt;Cell ss:StyleID=&quot;Bold_Right&quot;&gt;<br />
                &lt;Data ss:Type=&quot;String&quot;&gt;Quotation Date&lt;/Data&gt;<br />
              &lt;/Cell&gt;<br />
<br />
<br />
            &lt;/Row&gt;<br />
<br />
<br />
         &lt;!--'//////////////////////////////////////,25,26,27,28,29,30,31 Row //////////////////////////////////////////////////--&gt;<br />
<br />
            &lt;xsl:for-each select=&quot;NewDataSet/Exchanges&quot;&gt;<br />
               &lt;Row&gt;<br />
<br />
                &lt;Cell ss:StyleID=&quot;Bold_Left&quot;&gt;<br />
                  &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                  &lt;/Data&gt;<br />
                &lt;/Cell&gt;<br />
<br />
                &lt;Cell ss:StyleID=&quot;allign_left&quot;&gt;<br />
                  &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;currency&quot;/&gt;&lt;/Data&gt;<br />
                &lt;/Cell&gt;<br />
<br />
<br />
                &lt;Cell ss:StyleID=&quot;allign_left&quot;&gt;<br />
                  &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;code&quot;/&gt;&lt;/Data&gt;<br />
                &lt;/Cell&gt;<br />
<br />
                &lt;Cell ss:StyleID=&quot;allign_right&quot;&gt;<br />
                  &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;rate&quot;/&gt;&lt;/Data&gt;<br />
                &lt;/Cell&gt;<br />
<br />
                &lt;Cell ss:StyleID=&quot;allign_right&quot;&gt;<br />
                  &lt;Data ss:Type=&quot;String&quot;&gt;&lt;xsl:value-of select=&quot;quotation_date&quot;/&gt;&lt;/Data&gt;<br />
                &lt;/Cell&gt;<br />
<br />
              &lt;/Row&gt;<br />
<br />
<br />
            &lt;/xsl:for-each&gt;<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
            <br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
            &lt;!--&lt;xsl:for-each select=&quot;NewDataSet/Exchanges&quot;&gt;<br />
<br />
              &lt;ss:Row&gt;<br />
<br />
                &lt;ss:Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                  &lt;ss:Data ss:Type=&quot;String&quot;&gt;Receipt&lt;/ss:Data&gt;<br />
                &lt;/ss:Cell&gt;<br />
<br />
                &lt;ss:Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                  &lt;ss:Data ss:Type=&quot;String&quot;&gt;Delivery&lt;/ss:Data&gt;<br />
                &lt;/ss:Cell&gt;<br />
<br />
                &lt;ss:Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                  &lt;ss:Data ss:Type=&quot;String&quot;&gt;Cur&lt;/ss:Data&gt;<br />
                &lt;/ss:Cell&gt;<br />
<br />
                &lt;ss:Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                  &lt;ss:Data ss:Type=&quot;String&quot;&gt;Cont&lt;/ss:Data&gt;<br />
                &lt;/ss:Cell&gt;<br />
<br />
                &lt;ss:Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                  &lt;ss:Data ss:Type=&quot;String&quot;&gt;Cont&lt;/ss:Data&gt;<br />
                &lt;/ss:Cell&gt;<br />
<br />
                &lt;ss:Cell&gt;<br />
                  &lt;Data ss:Type=&quot;String&quot;&gt;<br />
                    &lt;xsl:value-of select=&quot;name&quot;/&gt;<br />
                  &lt;/Data&gt;<br />
                &lt;/ss:Cell&gt;<br />
<br />
              &lt;/ss:Row&gt;<br />
<br />
            &lt;/xsl:for-each&gt;--&gt;<br />
<br />
<br />
          &lt;/ss:Table&gt;<br />
<br />
        &lt;/ss:Worksheet &gt;<br />
        &lt;ss:Worksheet ss:Protected=&quot;1&quot; ss:Name=&quot;Targets&quot;&gt;<br />
<br />
<br />
<br />
          &lt;ss:Table&gt;<br />
            <br />
            &lt;!--&lt;xsl:for-each select=&quot;NewDataSet/column&quot;&gt;--&gt;<br />
<br />
              &lt;!--&lt;xsl:if test=&quot;name &amp;gt; 10&quot;&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;23.00&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;38.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;23.00&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;38.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;26.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;29.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;27.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;50&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;331.1&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;150&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;200&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;150&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;200&quot; /&gt;<br />
<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;54.5&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;74.11&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;31.4&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;35.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;31.4&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;44.7&quot; /&gt;<br />
<br />
                &lt;ss:Row&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Group&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CC&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Code&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Group&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CC&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Code&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Size&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Type&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Authority&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;in BAS currency as per BAS in MARS contract&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Country&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Port&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Country&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Port&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Date&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Line Nbr&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;qa&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt; &lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Target of Minimum&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Target of Contract&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Target of Minimum&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Target of Contract&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                &lt;/ss:Row&gt;<br />
<br />
              &lt;/xsl:if&gt;--&gt;<br />
<br />
              &lt;!--&lt;xsl:if test=&quot;name &amp;lt; 10&quot;&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;23.00&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;38.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;23.00&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;38.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;26.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;29.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;27.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;50&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;49.145&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;37&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;7.69&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;331.1&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;150&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;200&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;150&quot; /&gt;<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;200&quot; /&gt;<br />
<br />
<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;54.5&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;74.11&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;31.4&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;35.00&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;31.4&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;65&quot; /&gt;<br />
<br />
                &lt;ss:Column ss:AutoFitWidth=&quot;0&quot; ss:Width=&quot;44.7&quot; /&gt;<br />
<br />
                &lt;ss:Row&gt;<br />
                  --&gt;<br />
              <br />
              &lt;!--targets_title_bold--&gt;&lt;!--<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Group&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CC&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Code&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Group&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CC&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Code&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Size&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Type&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Authority&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Reven&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;BAS OPA DPA IHE IHI&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;CYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OMarg&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;OYield&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;!&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;in BAS currency as per BAS in MARS contract&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Country&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Port&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Country&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Port&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Date&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold_color&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Line Nbr&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;qa&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt; &lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Target of Minimum&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Target of Contract&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Target of Minimum&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;Target of Contract&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                  &lt;Cell ss:StyleID=&quot;targets_title_bold&quot;&gt;<br />
                    &lt;Data ss:Type=&quot;String&quot;&gt;&lt;/Data&gt;<br />
                  &lt;/Cell&gt;<br />
<br />
                &lt;/ss:Row&gt;<br />
<br />
              &lt;/xsl:if&gt;--&gt;<br />
<br />
<br />
<br />
            &lt;!--&lt;/xsl:for-each&gt;--&gt;<br />
<br />
     <br />
            <br />
            <br />
            <br />
            <br />
<br />
<br />
<br />
            &lt;xsl:apply-templates /&gt;<br />
<br />
            &lt;/ss:Table&gt;<br />
<br />
          &lt;WorksheetOptions xmlns=&quot;urn:schemas-microsoft-com:office:excel&quot;&gt;<br />
           <br />
            &lt;AllowFilter/&gt;<br />
          &lt;/WorksheetOptions&gt;<br />
          &lt;AutoFilter x:Range=&quot;R2C1:R2C63&quot;<br />
           xmlns=&quot;urn:schemas-microsoft-com:office:excel&quot;&gt;<br />
          &lt;/AutoFilter&gt;<br />
        <br />
<br />
<br />
<br />
<br />
<br />
          <br />
          &lt;x:AutoFilter x:Range=&quot;R1C1:R1C60&quot;&gt;<br />
            &lt;x:AutoFilterColumn x:Hiden=&quot;false&quot; x:Index=&quot;1&quot; x:Type=&quot;All&quot;&gt;<br />
            &lt;/x:AutoFilterColumn&gt;<br />
          &lt;/x:AutoFilter&gt;--&gt;<br />
   &lt;/ss:Worksheet &gt;<br />
       <br />
      &lt;/ss:Workbook &gt;<br />
   <br />
    &lt;/xsl:template&gt;<br />
<br />
&lt;xsl:template match=&quot;NewDataSet&quot;&gt;<br />
      <br />
&lt;xsl:apply-templates /&gt;<br />
<br />
    &lt;/xsl:template&gt;<br />
<br />
<br />
<br />
<br />
    &lt;xsl:template match=&quot;Table1&quot;&gt;<br />
    &lt;/xsl:template&gt;--&gt;<br />
<br />
<br />
  &lt;/xsl:stylesheet&gt;<br />
<br />
<br />
How to password protect the sheet in Excel sheet genearted using XML/XSLT?<br />
<br />
Many Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>anshuman444</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233081.html</guid>
		</item>
		<item>
			<title>XML</title>
			<link>http://www.daniweb.com/forums/thread232816.html</link>
			<pubDate>Sat, 24 Oct 2009 05:30:02 GMT</pubDate>
			<description>Hello, I want to know how to write java code to retrieve  content and position of an xml element using sax parser.</description>
			<content:encoded><![CDATA[<div>Hello, I want to know how to write java code to retrieve  content and position of an xml element using sax parser.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>thandarucsy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232816.html</guid>
		</item>
		<item>
			<title>Retrieving data from a sharepoint list using CAML query - returning uneeded columns</title>
			<link>http://www.daniweb.com/forums/thread232569.html</link>
			<pubDate>Fri, 23 Oct 2009 10:52:11 GMT</pubDate>
			<description>hi, i am trying to retreive data from a sharepoint list but its returns all columns such as ows_MetaInfo, ows__ModerationStatus ,ows__Level ows_ID ,ows_owshiddenversion, ows_UniqueId ,ows_FSObjType  
rather than just the fields i want from the list. 
I thought the...</description>
			<content:encoded><![CDATA[<div>hi, i am trying to retreive data from a sharepoint list but its returns all columns such as ows_MetaInfo, ows__ModerationStatus ,ows__Level ows_ID ,ows_owshiddenversion, ows_UniqueId ,ows_FSObjType <br />
rather than just the fields i want from the list.<br />
I thought the &quot;&lt;IncludeMandatoryColumns&gt;FALSE&lt;/IncludeMandatoryColumns&gt; tag would filter these colums out<br />
<br />
Can any1 help?<br />
heres my code:<br />
<br />
 <pre style="margin:20px; line-height:13px"> webreference.Lists myList = new webreference.Lists();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myList.Credentials = new NetworkCredential(Username, Password, Domain);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // myList.Url = &quot;http://193.82.85.1/HelpDesk/_vti_bin/lists.asmx&quot;;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XmlDocument xmlDoc = new XmlDocument();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XmlNode ndQuery = xmlDoc.CreateElement(&quot;Query&quot;);<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; XmlNode ndViewFields = xmlDoc.CreateElement(&quot;ViewFields&quot;);<br />
&nbsp; &nbsp; XmlNode ndQueryOptions = xmlDoc.CreateElement(&quot;QueryOptions&quot;);<br />
<br />
&nbsp; &nbsp; ndQueryOptions.InnerXml = &quot;&lt;IncludeMandatoryColumns&gt;FALSE&lt;/IncludeMandatoryColumns&gt;&quot; + &quot;&lt;DateInUtc&gt;FALSE&lt;/DateInUtc&gt;&quot; + &quot;&lt;IncludeAttachmentUrls&gt;TRUE&lt;/IncludeAttachmentUrls&gt; &lt;ViewAttributes Scope='Recursive' /&gt;&quot;;<br />
<br />
<br />
&nbsp; &nbsp; ndViewFields.InnerXml = &quot;&lt;FieldRef Name='Title' /&gt; &lt;FieldRef Name='SRDetail'/&gt; &lt;FieldRef Name='Priority'/&gt; &lt;FieldRef Name='Raised_x0020_By'/&gt; &lt;FieldRef Name='Date_x0020_Raised'/&gt; &lt;FieldRef Name='Category'/&gt; &lt;FieldRef Name='Centre'/&gt; &lt;FieldRef Name='ResolutionType' /&gt;&quot;;<br />
&nbsp; &nbsp; ndQuery.InnerXml = &quot;&lt;OrderBy&gt;&lt;FieldRef Name='Date_x0020_Raised'/&gt;&lt;/OrderBy&gt;&quot;;<br />
<br />
&nbsp; &nbsp; //&quot;&lt;Query&gt;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name='Raised_x0020_By' /&gt;&lt;Value Type='Text'&gt;ddlRaisedBy.Value&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&lt;/Query&gt;&quot; <br />
<br />
&nbsp; &nbsp; XmlNode nodeListItems = myList.GetListItems(&quot;{002DD75F-2F5A-407C-95A7-2C8CC7156C58}&quot;, &quot;{3D3A5BB0-4994-4D64-891C-24D6ECB31991}&quot;, ndQuery, ndViewFields, &quot;5&quot;, ndQueryOptions, null);<br />
&nbsp; &nbsp; XmlReader reader = new XmlNodeReader(nodeListItems);<br />
&nbsp; <br />
<br />
&nbsp; &nbsp; DataSet ds = new DataSet();<br />
&nbsp; &nbsp; ds.ReadXml(reader);<br />
<br />
<br />
&nbsp; &nbsp; GridView1.DataSource = ds.Tables[1];<br />
&nbsp; &nbsp; GridView1.DataBind();</pre><br />
much appreciated</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>julseypart</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232569.html</guid>
		</item>
		<item>
			<title>Following XSLT Logic Not Working</title>
			<link>http://www.daniweb.com/forums/thread232501.html</link>
			<pubDate>Fri, 23 Oct 2009 04:55:05 GMT</pubDate>
			<description><![CDATA[I have to check value of a variable in XSLT if it is null then i have to set it to default "$" 
so for that i have written following XSLT code: 
 
<XSL:variable name dummy select= "ArrayOfBookMark/BookMark[ShortName='Asp-7041-EndVar1]/Value"> 
<XSL:choose> 
   <XSL:when test="($dummy!='')"> 
      ...]]></description>
			<content:encoded><![CDATA[<div>I have to check value of a variable in XSLT if it is null then i have to set it to default &quot;$&quot;<br />
so for that i have written following XSLT code:<br />
<br />
&lt;XSL:variable name dummy select= &quot;ArrayOfBookMark/BookMark[ShortName='Asp-7041-EndVar1]/Value&quot;&gt;<br />
&lt;XSL:choose&gt;<br />
   &lt;XSL:when test=&quot;($dummy!='')&quot;&gt;<br />
        &lt;XSL:variable name=&quot;dummy1&quot; select=&quot;$dummy&quot;/&gt;<br />
   &lt;/when&gt;<br />
   &lt;XSL:otherwise&gt;<br />
        &lt;XSL:variable name=&quot;dummy1&quot; select=&quot;'$'&quot;/&gt;<br />
       &lt;/XSL:variable&gt;<br />
   &lt;XSL:otherwise&gt;<br />
&lt;/XSL:choose&gt;<br />
<br />
<br />
Here in Dummy i am copying the value comming from follwing XML.it is retriving value correctly in to dummy.<br />
Condition also checking but the value assignment code for new variable &quot;dummy1&quot;  is not happening.<br />
<br />
&lt;ArrayOfBookMark&gt;<br />
  &lt;BookMark&gt;<br />
     &lt;ShortName&gt;Asp-7041-EndVar1&lt;/ShortName&gt;<br />
     &lt;Value&gt;12345&lt;/Value&gt;<br />
  &lt;/BookMark&gt;<br />
&lt;/ArrayOfBookMark&gt;<br />
<br />
please help...<br />
<br />
<br />
Quick response will b appriciated.<br />
<br />
-Sanket<br />
<a href="mailto:Sanket.chougule@gmail.com">Sanket.chougule@gmail.com</a></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>sanket002</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232501.html</guid>
		</item>
		<item>
			<title>XPATH Question on Filtering / Condition</title>
			<link>http://www.daniweb.com/forums/thread232428.html</link>
			<pubDate>Thu, 22 Oct 2009 21:53:11 GMT</pubDate>
			<description><![CDATA[I have an xml like below 
<PO> 
   <ITEM> 
       <ID>1000</ID> 
       <PRICE>10</PRICE> 
   </ITEM> 
   <ITEM> 
       <ID>1000</ID> 
       <PRICE>10</PRICE> 
   </ITEM>]]></description>
			<content:encoded><![CDATA[<div>I have an xml like below<br />
&lt;PO&gt;<br />
   &lt;ITEM&gt;<br />
       &lt;ID&gt;1000&lt;/ID&gt;<br />
       &lt;PRICE&gt;10&lt;/PRICE&gt;<br />
   &lt;/ITEM&gt;<br />
   &lt;ITEM&gt;<br />
       &lt;ID&gt;1000&lt;/ID&gt;<br />
       &lt;PRICE&gt;10&lt;/PRICE&gt;<br />
   &lt;/ITEM&gt;<br />
   &lt;ITEM&gt;<br />
       &lt;ID&gt;1001&lt;/ID&gt;<br />
       &lt;PRICE&gt;10&lt;/PRICE&gt;<br />
   &lt;/ITEM&gt;<br />
   &lt;ITEM&gt;<br />
       &lt;ID&gt;1001&lt;/ID&gt;<br />
       &lt;PRICE&gt;10&lt;/PRICE&gt;<br />
   &lt;/ITEM&gt;<br />
&lt;/PO&gt;<br />
<br />
I want an xpath that will get only ID = 1000 and the output should be like below<br />
&lt;PO&gt;<br />
   &lt;ITEM&gt;<br />
       &lt;ID&gt;1000&lt;/ID&gt;<br />
       &lt;PRICE&gt;10&lt;/PRICE&gt;<br />
   &lt;/ITEM&gt;<br />
   &lt;ITEM&gt;<br />
       &lt;ID&gt;1000&lt;/ID&gt;<br />
       &lt;PRICE&gt;10&lt;/PRICE&gt;<br />
   &lt;/ITEM&gt;<br />
&lt;/PO&gt;<br />
<br />
I tried /PO/ITEM[ID=&quot;1000&quot;] but it gives the following but I need even the root &quot;PO&quot; also...<br />
<br />
   &lt;ITEM&gt;<br />
       &lt;ID&gt;1000&lt;/ID&gt;<br />
       &lt;PRICE&gt;10&lt;/PRICE&gt;<br />
   &lt;/ITEM&gt;<br />
   &lt;ITEM&gt;<br />
       &lt;ID&gt;1000&lt;/ID&gt;<br />
       &lt;PRICE&gt;10&lt;/PRICE&gt;<br />
   &lt;/ITEM&gt;<br />
<br />
Thanks for the help</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>hangon</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232428.html</guid>
		</item>
		<item>
			<title><![CDATA[XML Feed Problem with £ and ' any ideas.... anyone???]]></title>
			<link>http://www.daniweb.com/forums/thread232009.html</link>
			<pubDate>Wed, 21 Oct 2009 15:26:22 GMT</pubDate>
			<description><![CDATA[Hi there everyone. Does anyone have any idea how to stop my xml feed displaying # instead of £ and companys instead of company's. 
 
I've tried everything I can think of. In UTF-8 it won't show hardly anything in ASCII it works but still spits out thhe errors above. 
 
 
  <div class="codeblock">...]]></description>
			<content:encoded><![CDATA[<div>Hi there everyone. Does anyone have any idea how to stop my xml feed displaying # instead of £ and companys instead of company's.<br />
<br />
I've tried everything I can think of. In UTF-8 it won't show hardly anything in ASCII it works but still spits out thhe errors above.<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />
<br />
&lt;head&gt;<br />
&lt;meta content=&quot;text/html; charset=ASCII&quot; http-equiv=&quot;Content-Type&quot; /&gt;<br />
&lt;title&gt;RAD Feed&lt;/title&gt;<br />
&lt;/head&gt;<br />
<br />
&lt;body&gt;<br />
<br />
&lt;?php<br />
include &quot;development/StripAttributes.php&quot;;<br />
$username = &quot;******&quot;; //Database Username<br />
$password = &quot;*******&quot;; //Database Password<br />
$hostname = &quot;*******&quot;; //Database Host<br />
$dbname = &quot;******&quot;; //Database (or Catalog in MySQL parlance) name<br />
$dbh = mysql_connect($hostname, $username, $password) or die(&quot;Could not connect to database server&quot;);<br />
$selected = mysql_select_db($dbname, $dbh) or die(&quot;Database not found or problem connecting&quot;);<br />
$result = mysql_query(&quot;SELECT expiry, position, postdate, jobref, salary, jobid, subcounty, country, description FROM jobs&quot;);<br />
<br />
function stripchars($str)<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; $row = htmlentities(&quot;$str&quot;);<br />
&nbsp; &nbsp; $row = ereg_replace(128, &quot;&amp;euro;&quot;, $row); // Euro symbol<br />
&nbsp; &nbsp; $row = ereg_replace(133, &quot;…&quot;, $row); // ellipses<br />
&nbsp; &nbsp; &nbsp; &nbsp; $row = ereg_replace(&quot;&amp;nbsp;&quot;, &quot; &quot;, $row); // space<br />
&nbsp; &nbsp; &nbsp; &nbsp; $row = ereg_replace(&quot;&amp;&quot;, &quot;&amp;amp;&quot;, $row); // and&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&amp;&quot;, &quot;&amp;amp;&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; $row = ereg_replace(8226, &quot;″&quot;, $row); // double prime<br />
&nbsp; &nbsp; $row = ereg_replace(8216, &quot;'&quot;, $row); // left single quote<br />
&nbsp; &nbsp; $row = ereg_replace(145, &quot;'&quot;, $row); // left single quote<br />
&nbsp; &nbsp; $row = ereg_replace(8217, &quot;'&quot;, $row); // right single quote<br />
&nbsp; &nbsp; $row = ereg_replace(146, &quot;'&quot;, $row); // right single quote<br />
&nbsp; &nbsp; $row = ereg_replace(8220, &quot;&quot;&quot;, $row); // left double quote<br />
&nbsp; &nbsp; $row = ereg_replace(147, &quot;&quot;&quot;, $row); // left double quote<br />
&nbsp; &nbsp; $row = ereg_replace(8221, &quot;&quot;&quot;, $row); // right double quote<br />
&nbsp; &nbsp; $row = ereg_replace(148, &quot;&quot;&quot;, $row); // right double quote<br />
&nbsp; &nbsp; $row = ereg_replace(8226, &quot;•&quot;, $row); // bullet<br />
&nbsp; &nbsp; $row = ereg_replace(149, &quot;•&quot;, $row); // bullet<br />
&nbsp; &nbsp; $row = ereg_replace(8211, &quot;–&quot;, $row); // en dash<br />
&nbsp; &nbsp; $row = ereg_replace(150, &quot;–&quot;, $row); // en dash<br />
&nbsp; &nbsp; $row = ereg_replace(8212, &quot;—&quot;, $row); // em dash<br />
&nbsp; &nbsp; $row = ereg_replace(151, &quot;—&quot;, $row); // em dash<br />
&nbsp; &nbsp; $row = ereg_replace(8482, &quot;™&quot;, $row); // trademark<br />
&nbsp; &nbsp; $row = ereg_replace(153, &quot;™&quot;, $row); // trademark<br />
&nbsp; &nbsp; $row = ereg_replace(169, &quot;&amp;copy;&quot;, $row); // copyright mark<br />
&nbsp; &nbsp; $row = ereg_replace(174, &quot;&amp;reg;&quot;, $row); // registration mark<br />
&nbsp; &nbsp; $row = ereg_replace(&quot;&quot;,&quot;’&quot;,$row);//fix SQL<br />
&nbsp; &nbsp; $final = htmlentities(&quot;$row&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; return $final;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
}<br />
<br />
// if the file exists already, delete it first to flush data<br />
$xmlfeedfile = &quot;rad.xml&quot;;<br />
$filehandle = fopen($xmlfeedfile, 'w');<br />
$itemLink&nbsp; = $fullurl.'/info_jobid_'. $b[jobid].'.html';<br />
<br />
$xmlString = '&lt;'.'?'.'xml version=&quot;1.0&quot; encoding=&quot;ASCII&quot; '.'?' .'&gt;<br />
&lt;source&gt;<br />
&lt;publisher&gt;EditorialJobs.co.uk&lt;/publisher&gt;<br />
&lt;publisherurl&gt;http://www.EditorialJobs.co.uk&lt;/publisherurl&gt;';<br />
fwrite($filehandle, $xmlString);<br />
while ($row = mysql_fetch_assoc($result)) {&nbsp; &nbsp; <br />
if(strtotime($row['expiry']) &lt; time()) {&nbsp; &nbsp; &nbsp; &nbsp; <br />
continue;&nbsp; &nbsp; <br />
}<br />
$pos = stripslashes(strip_tags($row['position']));<br />
$date = stripslashes(strip_tags($row['postdate']));<br />
$ref = stripslashes(strip_tags($row['jobref']));<br />
$desc = stripslashes(strip_tags($row['description']));<br />
$cnt = stripslashes(strip_tags($row['country']));<br />
$sal = stripslashes(strip_tags($row['salary']));<br />
$loc = stripslashes(strip_tags($row['subcounty']));<br />
$jid = stripslashes($row['jobid']);<br />
$desc = preg_replace('/&amp;nbsp;/', ' ', $desc);<br />
$desc = preg_replace('/&amp;/', '/&amp;amp;/', $desc);<br />
$desc = preg_replace('/&amp;apos;/', &quot;'&quot;, $desc);<br />
$desc = preg_replace('/#/', '£', $desc);<br />
$pos = preg_replace('/&amp;nbsp;/', ' ', $pos);<br />
$pos = preg_replace('/&amp;/', '/&amp;amp;/', $pos);<br />
$sal = preg_replace('/&amp;nbsp;/', ' ', $sal);<br />
$sal = preg_replace('/&amp;/', '/&amp;amp;/', $sal);<br />
$sal = preg_replace('/£/', '&amp;pound;', $sal);<br />
<br />
$xmlString = &quot;&lt;job&gt;\n\t&lt;title&gt;&lt;![CDATA[{$pos}]]&gt;&lt;/title&gt;\n\t&lt;date&gt;&lt;![CDATA[{$date}]]&gt;&lt;/date&gt;\n\t&lt;referencenumber&gt;&lt;![CDATA[{$ref}]]&gt;&lt;/referencenumber&gt;\n\t&lt;salary&gt;{$sal}&lt;/salary&gt;\n\t&lt;url&gt;&lt;![CDATA[http://www.editorialjobs.co.uk/info_jobid_{$jid}.html]]&gt;&lt;/url&gt;\n\t&lt;city&gt;&lt;![CDATA[{$loc}]]&gt;&lt;/city&gt;\n\t&lt;country&gt;&lt;![CDATA[{$cnt}]]&gt;&lt;/country&gt;\n\t&lt;description&gt;&lt;![CDATA[{$desc}]]&gt;&lt;/description&gt;\n&lt;/job&gt;&quot;; <br />
<br />
fwrite($filehandle, $xmlString);<br />
}<br />
mysql_close($dbh);<br />
fwrite($filehandle, &quot;&lt;/source&gt;&quot;);<br />
fclose($filehandle);<br />
?&gt;<br />
<br />
&lt;/body&gt;<br />
<br />
&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>Facte</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232009.html</guid>
		</item>
		<item>
			<title><![CDATA[Get all <img> Tags that are siblings?]]></title>
			<link>http://www.daniweb.com/forums/thread231484.html</link>
			<pubDate>Mon, 19 Oct 2009 20:31:37 GMT</pubDate>
			<description><![CDATA[Hi all 
 
I need to detect all image tags in a HTML document that are siblings: 
 
<p> 
  <img ../> 
  <img ../> 
  <img ../> 
</p> 
<p>]]></description>
			<content:encoded><![CDATA[<div>Hi all<br />
<br />
I need to detect all image tags in a HTML document that are siblings:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;p&gt;<br />
&nbsp; &lt;img ../&gt;<br />
&nbsp; &lt;img ../&gt;<br />
&nbsp; &lt;img ../&gt;<br />
&lt;/p&gt;<br />
&lt;p&gt;<br />
&nbsp; &lt;img ../&gt;<br />
&lt;/p&gt;</pre><br />
In the example above I need to detect the first three img tags, but not the fourth.<br />
<br />
In contrary, I also need to detect the img tags that do NOT have direct img siblings.<br />
<br />
Sadly I have no idea how to do this. Any hint, please? Thanks.<br />
Josh</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>Psybear</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread231484.html</guid>
		</item>
		<item>
			<title>how to remove namespace prefix from the output?</title>
			<link>http://www.daniweb.com/forums/thread230665.html</link>
			<pubDate>Fri, 16 Oct 2009 10:08:44 GMT</pubDate>
			<description><![CDATA[Hi Folks, 
             I have this following xslt script: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help...]]></description>
			<content:encoded><![CDATA[<div>Hi Folks,<br />
             I have this following xslt script:<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;xsl:stylesheet version=&quot;1.2&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:ibn=&quot;http://ibn.traveltainment.de/2009/001&quot; xmlns=&quot;http://www.opentravel.org/OTA/2003/05&quot; xmlns:ota=&quot;http://www.opentravel.org/OTA/2003/05&quot; xmlns:ota1=&quot;http://www.opentravel.org/OTA/2002/11&quot; xmlns:ns3=&quot;http://www.opentravel.org/OTA/2002/11&quot; xmlns:fo=&quot;http://www.w3.org/1999/XSL/Format&quot; exclude-result-prefixes=&quot;SOAP-ENV ota ns3&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:output method=&quot;text&quot; encoding=&quot;UTF-8&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:variable name=&quot;soap&quot; select=&quot;name(/SOAP-ENV:Envelope/SOAP-ENV:Body/ota:*)&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:variable name=&quot;soap2&quot; select=&quot;name(/soap:Envelope/soap:Body/ns3:*)&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:variable name=&quot;base&quot; select=&quot;name(/*)&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:template match=&quot;/&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:choose&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:when test=&quot;count(soap:Envelope/soap:Body) &gt; 0&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:value-of select=&quot;$soap2&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:value-of select=&quot;$soap&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:when&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:when test=&quot;count(SOAP-ENV:Envelope/SOAP-ENV:Body) &gt; 0&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:value-of select=&quot;$soap&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:value-of select=&quot;$soap2&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:when&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:otherwise&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:value-of select=&quot;$base&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:otherwise&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:choose&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:template&gt;<br />
&lt;/xsl:stylesheet&gt;</pre><br />
<br />
in which I'm extracting the root element from inside the SOAP body, for example on a given Input:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:fo=&quot;http://www.w3.org/1999/XSL/Format&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;soap:Header&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ns2:Security xmlns:ns2=&quot;http://schemas.xmlsoap.org/ws/2002/12/secext&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ns2:UsernameToken&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ns2:Username&gt;xxxx&lt;/ns2:Username&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ns2:Password&gt;vvvvv&lt;/ns2:Password&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Domain&gt;aaa.bb.com&lt;/Domain&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ns2:UsernameToken&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ns2:Security&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/soap:Header&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;soap:Body&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ns3:SessionCreateRQ xmlns:ns3=&quot;http://www.opentravel.org/OTA/2002/11&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ns3:POS&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ns3:Source PseudoCityCode=&quot;AAA&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ns3:POS&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ns3:SessionCreateRQ&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/soap:Body&gt;<br />
&lt;/soap:Envelope&gt;</pre><br />
<br />
I get &quot;ns3:SessionCreateRQ&quot; as output, but I only need &quot;SessionCreateRQ&quot;. That is &quot;without&quot; a namespace prefix.<br />
<br />
How can i do that?<br />
<br />
Similarly, I have other types of inputs as well and may be there I could have different namespace prefixes. I want to exclude them as well.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>sbutt</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230665.html</guid>
		</item>
		<item>
			<title>Xpath expression</title>
			<link>http://www.daniweb.com/forums/thread229552.html</link>
			<pubDate>Mon, 12 Oct 2009 14:08:06 GMT</pubDate>
			<description><![CDATA[Hi All, 
I want to retrive element values from Xml Document which contains the string which i am passing. 
 
For example : 
 
I want to retrive all the element values which has word 'Sales' . 
 
How should i write XPath expression ? 
 
Any example will be appriciated.]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
I want to retrive element values from Xml Document which contains the string which i am passing.<br />
<br />
For example :<br />
<br />
I want to retrive all the element values which has word 'Sales' .<br />
<br />
How should i write XPath expression ?<br />
<br />
Any example will be appriciated.<br />
<br />
Thanks<br />
<br />
John</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>john2029</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229552.html</guid>
		</item>
		<item>
			<title>extracting root element.</title>
			<link>http://www.daniweb.com/forums/thread229522.html</link>
			<pubDate>Mon, 12 Oct 2009 12:09:05 GMT</pubDate>
			<description><![CDATA[I have this basic transformation script: 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code Tags</a>...]]></description>
			<content:encoded><![CDATA[<div>I have this basic transformation script:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;xsl:stylesheet version=&quot;1.2&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:ibn=&quot;http://ibn.traveltainment.de/2009/001&quot; xmlns=&quot;http://www.opentravel.org/OTA/2003/05&quot; xmlns:ota=&quot;http://www.opentravel.org/OTA/2003/05&quot; xmlns:ota1=&quot;http://www.opentravel.org/OTA/2002/11&quot; exclude-result-prefixes=&quot;SOAP-ENV ota&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:output method=&quot;text&quot; encoding=&quot;UTF-8&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:variable name=&quot;outermostElementName&quot; select=&quot;name(/SOAP-ENV:Envelope/SOAP-ENV:Body/ota:*)&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:template match=&quot;/&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:choose&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:when test=&quot;count(SOAP-ENV:Envelope/SOAP-ENV:Body) &gt; 0&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:value-of select=&quot;$outermostElementName&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:when&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:otherwise&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:value-of select=&quot;/*&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:otherwise&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:choose&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:template&gt;<br />
&lt;/xsl:stylesheet&gt;</pre><br />
in which I'm trying to extract a particular element (root), given a different types of xml inputs.<br />
<br />
XML 1: I want to extract &quot;ota:OTA_TT_PkgQuoteRS&quot;<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:m2=&quot;http://www.opentravel.org/OTA/2002/11&quot; xmlns:m=&quot;http://www.opentravel.org/OTA/2003/05&quot; xmlns:fo=&quot;http://www.w3.org/1999/XSL/Format&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:SOAP-ENC=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;SOAP-ENV:Header&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;m:Security xmlns:m=&quot;http://schemas.xmlsoap.org/ws/2002/12/secext&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;m:BinarySecurityToken&gt;88096378-085d-102d-8733-001ec9ebbbf0&lt;/m:BinarySecurityToken&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/m:Security&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/SOAP-ENV:Header&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;SOAP-ENV:Body&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:OTA_TT_PkgQuoteRS xmlns:ota=&quot;http://www.opentravel.org/OTA/2003/05&quot; Version=&quot;1.0&quot; TransactionIdentifier=&quot;623&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:Success/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:Package BrandCode=&quot;NLOA&quot; Status=&quot;Available&quot; ProductCode=&quot;OASVHE1201&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;DateRange xmlns=&quot;http://www.opentravel.org/OTA/2003/05&quot; End=&quot;2009-11-02&quot; Start=&quot;2009-10-30&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:ItineraryItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:ItineraryItem RPH=&quot;1&quot; Status=&quot;Available&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:Flight ArrivalDateTime=&quot;2009-10-30T13:10:00&quot; DepartureDateTime=&quot;2009-10-30T09:40:00&quot; DirectionInd=&quot;Outbound&quot; Type=&quot;Scheduled&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:DepartureAirport LocationCode=&quot;AMS&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:ArrivalAirport LocationCode=&quot;HEL&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:OperatingAirline Code=&quot;KL&quot; FlightNumber=&quot;1167&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CabinAvailability&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:Seat Code=&quot;N&quot; Quantity=&quot;2&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:PassengerRPHs ListOfPassengerRPH=&quot;1 2 &quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CabinAvailability&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:Flight&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:ItineraryItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:ItineraryItem RPH=&quot;2&quot; Status=&quot;Available&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:Flight ArrivalDateTime=&quot;2009-11-02T08:15:00&quot; DepartureDateTime=&quot;2009-11-02T06:30:00&quot; DirectionInd=&quot;Inbound&quot; Type=&quot;Scheduled&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:DepartureAirport LocationCode=&quot;HEL&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:ArrivalAirport LocationCode=&quot;AMS&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:OperatingAirline Code=&quot;KL&quot; FlightNumber=&quot;1164&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CabinAvailability&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:Seat Code=&quot;N&quot; Quantity=&quot;2&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:PassengerRPHs ListOfPassengerRPH=&quot;1 2 &quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CabinAvailability&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:Flight&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:ItineraryItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:ItineraryItem RPH=&quot;3&quot; Status=&quot;Available&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:Accommodation&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:Identity HotelName=&quot;Sokos Helsinki&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:DateRange Start=&quot;2009-10-30&quot; End=&quot;2009-11-02&quot; Duration=&quot;P3N&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;RoomProfiles xmlns=&quot;http://www.opentravel.org/OTA/2003/05&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;RoomProfile BookingCode=&quot;OASVHE1201&quot; RPH=&quot;1&quot; RoomTypeCode=&quot;26300&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerRPHs ListOfPassengerRPH=&quot;1 2 &quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/RoomProfile&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/RoomProfiles&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;MealPlans xmlns=&quot;http://www.opentravel.org/OTA/2003/05&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;MealPlan Code=&quot;LO&quot; ListOfRoomRPH=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerRPHs ListOfPassengerRPH=&quot;1 2 &quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/MealPlan&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/MealPlans&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:Accommodation&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:ItineraryItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:ItineraryItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CostSummary&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CostingItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CostingItem PassengerRPH=&quot;1&quot; CostBasis=&quot;7&quot; Description=&quot;Reissom Givenname Surname&quot; Quantity=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:UnitCost CurrencyCode=&quot;EUR&quot; Amount=&quot;294.00&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CostingItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CostingItem PassengerRPH=&quot;2&quot; CostBasis=&quot;7&quot; Description=&quot;Reissom Givenname Surname&quot; Quantity=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:UnitCost CurrencyCode=&quot;EUR&quot; Amount=&quot;294.00&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CostingItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CostingItem CostBasis=&quot;26&quot; Description=&quot;2x toeslag n-klasse (2 x 24.00)&quot; Quantity=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:UnitCost CurrencyCode=&quot;EUR&quot; Amount=&quot;48.00&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CostingItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CostingItem CostBasis=&quot;26&quot; Description=&quot;2x brandstof/veilig.toeslag kl /hel (2 x 60.00)&quot; Quantity=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:UnitCost CurrencyCode=&quot;EUR&quot; Amount=&quot;120.00&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CostingItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CostingItem CostBasis=&quot;26&quot; Description=&quot;2x luchthavenbelasting kl /hel (2 x 45.00)&quot; Quantity=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:UnitCost CurrencyCode=&quot;EUR&quot; Amount=&quot;90.00&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CostingItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:CostingItem CostBasis=&quot;26&quot; Description=&quot;Calamiteitenfonds&quot; Quantity=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:UnitCost CurrencyCode=&quot;EUR&quot; Amount=&quot;2.50&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CostingItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CostingItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ota:GrossAmount Amount=&quot;848.50&quot; CurrencyCode=&quot;EUR&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:CostSummary&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:Package&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerListItems xmlns=&quot;http://www.opentravel.org/OTA/2003/05&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerListItem BirthDate=&quot;1984-10-01&quot; Code=&quot;10&quot; RPH=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;GivenName&gt;GivenName&lt;/GivenName&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Surname&gt;Surname&lt;/Surname&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/PassengerListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerListItem BirthDate=&quot;1984-10-01&quot; Code=&quot;10&quot; RPH=&quot;2&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;GivenName&gt;GivenName&lt;/GivenName&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Surname&gt;Surname&lt;/Surname&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/PassengerListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/PassengerListItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ota:OTA_TT_PkgQuoteRS&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/SOAP-ENV:Body&gt;<br />
&lt;/SOAP-ENV:Envelope&gt;</pre><br />
<br />
<br />
<br />
XML 2: I want to extract &quot;OTA_TT_PkgBookRS&quot;<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;OTA_TT_PkgBookRS xmlns=&quot;http://www.opentravel.org/OTA/2003/05&quot; Version=&quot;1.1&quot; TimeStamp=&quot;2009-10-12T13:01:37+02:00&quot; Target=&quot;Test&quot; TransactionIdentifier=&quot;27133389004865250&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;Success/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;Warnings&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Warning Type=&quot;3&quot; ShortText=&quot;0014&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/Warnings&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;PackageReservation CreateDateTime=&quot;2009-10-07T00:00:00&quot; LastModifierID=&quot;EUGEN&quot; PurgeDate=&quot;2009-10-14&quot; CreatorID=&quot;EUGEN&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;UniqueID Type=&quot;23&quot; ID=&quot;13047087&quot; Instance=&quot;1&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Package Status=&quot;ToConfirm&quot; BrandCode=&quot;JETN&quot; TravelCode=&quot;NEFB&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;DateRange Start=&quot;2010-01-03&quot; Duration=&quot;P7D&quot; End=&quot;2010-01-10&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItineraryItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItineraryItem RPH=&quot;1&quot; Status=&quot;Available&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Flight RPH=&quot;1&quot; TravelCode=&quot;09&quot; Type=&quot;Charter&quot; DirectionInd=&quot;Outbound&quot; DepartureDateTime=&quot;2010-01-03T00:00:00&quot; ArrivalDateTime=&quot;2010-01-03T00:00:00&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;DepartureAirport LocationCode=&quot;PAR&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ArrivalAirport LocationCode=&quot;DJE&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;OperatingAirline Code=&quot;TO&quot; FlightNumber=&quot;111&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;CabinAvailability&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Seat Code=&quot;0&quot; CodeContext=&quot;2&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerRPHs ListOfPassengerRPH=&quot;1 2&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/CabinAvailability&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;FlightSegments/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Flight&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItineraryItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItineraryItem RPH=&quot;2&quot; Status=&quot;Available&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Flight RPH=&quot;1&quot; TravelCode=&quot;09&quot; Type=&quot;Charter&quot; DirectionInd=&quot;Inbound&quot; DepartureDateTime=&quot;2010-01-10T00:05:00&quot; ArrivalDateTime=&quot;2010-01-10T00:10:00&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;DepartureAirport LocationCode=&quot;DJE&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ArrivalAirport LocationCode=&quot;PAR&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;OperatingAirline Code=&quot;TO&quot; FlightNumber=&quot;222&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;CabinAvailability&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Seat Code=&quot;0&quot; CodeContext=&quot;2&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerRPHs ListOfPassengerRPH=&quot;1 2&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/CabinAvailability&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;FlightSegments/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Flight&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItineraryItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItineraryItem RPH=&quot;3&quot; Status=&quot;Available&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Accommodation DestinationCode=&quot;DJE&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Identity HotelName=&quot;CLUB ELDORADOR ALADIN&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;DateRange Start=&quot;2010-01-03&quot; Duration=&quot;P7D&quot; End=&quot;2010-01-10&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;RoomProfiles&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;RoomProfile RPH=&quot;1&quot; RoomTypeCode=&quot;2A&quot; BookingCode=&quot;58333A&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;RoomAmenity&gt;BD,WC,BT,KA,HH,&lt;/RoomAmenity&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerRPHs ListOfPassengerRPH=&quot;1 2&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/RoomProfile&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/RoomProfiles&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;MealPlans&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;MealPlan ListOfRoomRPH=&quot;1&quot; RPH=&quot;1&quot; Code=&quot;AI&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/MealPlans&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Accommodation&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItineraryItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItineraryItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Cautions&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Caution End=&quot;2009-10-14&quot; ID=&quot;Option&quot; Type=&quot;PackageDetail&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Cautions&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;CostSummary&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;CostingItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;CostingItem CostBasis=&quot;7&quot; Description=&quot;Per Person&quot; PassengerRPH=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;UnitCost Amount=&quot;439.00&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/CostingItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;CostingItem CostBasis=&quot;7&quot; Description=&quot;Per Person&quot; PassengerRPH=&quot;2&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;UnitCost Amount=&quot;439.00&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/CostingItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;CostingItem CostBasis=&quot;26&quot; Description=&quot;PRIX DE BASE SEJOUR&quot; Quantity=&quot;2&quot; InventoryItemRPH=&quot;3&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;UnitCost CurrencyCode=&quot;EUR&quot; Amount=&quot;439.00&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ExtendedCost CurrencyCode=&quot;EUR&quot; Amount=&quot;878.00&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/CostingItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/CostingItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;GrossAmount Amount=&quot;878.00&quot; CurrencyCode=&quot;EUR&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/CostSummary&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Package&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ContactDetail/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerListItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerListItem RPH=&quot;1&quot; Code=&quot;10&quot; Gender=&quot;Male&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;GivenName&gt;EEEE&lt;/GivenName&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Surname&gt;WWWW&lt;/Surname&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/PassengerListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PassengerListItem RPH=&quot;2&quot; Code=&quot;10&quot; Gender=&quot;Female&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;GivenName&gt;SSSSSSSSSSS&lt;/GivenName&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Surname&gt;WWWW&lt;/Surname&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/PassengerListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/PassengerListItems&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InvoiceDetail/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/PackageReservation&gt;<br />
&lt;/OTA_TT_PkgBookRS&gt;</pre><br />
The script works fine on XML1, but not on XML2.<br />
<br />
Where is the problem?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>sbutt</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229522.html</guid>
		</item>
		<item>
			<title>using 2 xsi:schemaLocation and getting No matching global element declaration availab</title>
			<link>http://www.daniweb.com/forums/thread228461.html</link>
			<pubDate>Thu, 08 Oct 2009 01:53:05 GMT</pubDate>
			<description>am sure is a no-brainer but I am new at XSLT. I just can get my XML to vaLidate against 2 namespaces; I might be missing somethig at the psgecfd:PrestadoresDeServiciosDeCFD node!. 
 
I have an XML with 2 xsi:schemaLocation and when validation againts the xsd I got the error: 
 
*Vs cfdv2.xsd:*...</description>
			<content:encoded><![CDATA[<div>am sure is a no-brainer but I am new at XSLT. I just can get my XML to vaLidate against 2 namespaces; I might be missing somethig at the psgecfd:PrestadoresDeServiciosDeCFD node!.<br />
<br />
I have an XML with 2 xsi:schemaLocation and when validation againts the xsd I got the error:<br />
<br />
<span style="font-weight:bold">Vs cfdv2.xsd:</span><br />
Element '{http://www.sat.gob.mx/psgecfd}PrestadoresDeServiciosDeCFD': No matching global element declaration available, but demanded by the strict wildcard.<br />
<br />
<span style="font-weight:bold">Vs psgecfd.xsd:</span><br />
Element '{http://www.sat.gob.mx/cfd/2}Comprobante': No matching global declaration available for the validation root.<br />
<br />
Below is my XML (line-feed added for redeability):<br />
<br />
HTML Code:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;Comprobante <br />
&nbsp; &nbsp; &nbsp; &nbsp; xmlns=&quot;http://www.sat.gob.mx/cfd/2&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; xmlns:psgecfd=&quot;http://www.sat.gob.mx/psgecfd&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; xsi:schemaLocation=&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://www.sat.gob.mx/cfd/2 <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://www.sat.gob.mx/sitio_internet/cfd/2/cfdv2.xsd <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://www.sat.gob.mx/psgecfd <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://www.sat.gob.mx/sitio_internet/cfd/psgecfd/psgecfd.xsd&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; version=&quot;2.0&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; serie=&quot;A&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; folio=&quot;1&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; fecha=&quot;2009-10-05T21:21:01-06:00&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; sello=&quot;SDI54eGUxAguVKmAOJLdbLjq9duhViBQLO6FTRiNRdesC/vNfkuBIxa1dKt8xRbBtXYbjhs8CklbgW2tqUdFHg86ethlnhOgJXAB40qokFSviWHwBEIA8TMfUb7bDywbR+F3ZKKixMFCMzj/A98SEcV5Rq9piEUjjzqp9mdeijs=&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; noAprobacion=&quot;1&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; anoAprobacion=&quot;2004&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; formaDePago=&quot;Pago de Contado&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; noCertificado=&quot;00001000000000000114&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; subTotal=&quot;350.00&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; total=&quot;402.50&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; tipoDeComprobante=&quot;ingreso&quot;&gt;<br />
&nbsp; &lt;Emisor rfc=&quot;ISP900909Q88&quot; nombre=&quot;Industrias del Sur Poniente, S.A. de C.V.&quot;&gt;<br />
&nbsp; &nbsp; &lt;DomicilioFiscal calle=&quot;Alvaro Obregón&quot; noExterior=&quot;37&quot; noInterior=&quot;3&quot; colonia=&quot;Col. Roma Norte&quot; localidad=&quot;México&quot; municipio=&quot;Cuauhtémoc&quot; estado=&quot;Distrito Federal&quot; pais=&quot;México&quot; codigoPostal=&quot;06700&quot;/&gt;<br />
&nbsp; &nbsp; &lt;ExpedidoEn calle=&quot;Pino Suarez&quot; noExterior=&quot;23&quot; localidad=&quot;Monterrey&quot; municipio=&quot;Monterrey&quot; estado=&quot;Nuevo Léon&quot; pais=&quot;México&quot; codigoPostal=&quot;95460&quot;/&gt;<br />
&nbsp; &lt;/Emisor&gt;<br />
&nbsp; &lt;Receptor rfc=&quot;CAUR390312S87&quot; nombre=&quot;Rosa María Calderón Uriegas&quot;&gt;<br />
&nbsp; &nbsp; &lt;Domicilio calle=&quot;Topochico&quot; noExterior=&quot;52&quot; colonia=&quot;Jardines del Valle&quot; localidad=&quot;Monterrey&quot; municipio=&quot;Monterrey&quot; estado=&quot;Nuevo Léon&quot; pais=&quot;México&quot; codigoPostal=&quot;95465&quot;/&gt;<br />
&nbsp; &lt;/Receptor&gt;<br />
&nbsp; &lt;Conceptos&gt;<br />
&nbsp; &nbsp; &lt;Concepto cantidad=&quot;10&quot; descripcion=&quot;Vasos decorados&quot; valorUnitario=&quot;20.00&quot; importe=&quot;200.00&quot;/&gt;<br />
&nbsp; &nbsp; &lt;Concepto cantidad=&quot;1&quot; descripcion=&quot;Charola metálica&quot; valorUnitario=&quot;150.00&quot; importe=&quot;150.00&quot;/&gt;<br />
&nbsp; &lt;/Conceptos&gt;<br />
&nbsp; &lt;Impuestos&gt;<br />
&nbsp; &nbsp; &lt;Traslados&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;Traslado impuesto=&quot;IVA&quot; tasa=&quot;15.00&quot; importe=&quot;52.5&quot;/&gt;<br />
&nbsp; &nbsp; &lt;/Traslados&gt;<br />
&nbsp; &lt;/Impuestos&gt;<br />
&nbsp; &lt;Complemento&gt;<br />
&nbsp; &nbsp; &lt;psgecfd:PrestadoresDeServiciosDeCFD <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nombre=&quot;Servicios Digitales Baja, S.A. de C.V.&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rfc=&quot;MOCE671020I57&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; noCertificado=&quot;01234567890123456789&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fechaAutorizacion=&quot;2009-10-20T16:30:00&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; noAutorizacion=&quot;9999&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; selloDelPSGECFD=&quot;SGIO5WMRD7I+h1972L4nUugxts8APBNC7lrewbNMm7ppfb6kOx+yuMekzlClCihjU+hvd1YIL+dO89j4L9L7+Dpyo2SpU1WfOVqByWz5MsXxEhMnmBlZOWwsh7srkzLOuz1UgUmmnGkhCegMZghJ6SC9CYgsG9ylp/Lri2E6bHc=&quot;/&gt;<br />
&nbsp; &lt;/Complemento&gt;<br />
&lt;/Comprobante&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>GETCODE</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread228461.html</guid>
		</item>
		<item>
			<title>XSLT, XML to word</title>
			<link>http://www.daniweb.com/forums/thread228045.html</link>
			<pubDate>Tue, 06 Oct 2009 12:44:56 GMT</pubDate>
			<description>hello, 
 
can you please tell me what code must i write in my xslt file so i can convert it with xml to a windows word 2003 file (using c#)?please... 
Thanks</description>
			<content:encoded><![CDATA[<div>hello,<br />
<br />
can you please tell me what code must i write in my xslt file so i can convert it with xml to a windows word 2003 file (using c#)?please...<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>loukiachr</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread228045.html</guid>
		</item>
		<item>
			<title>Delete XML nodes failing...</title>
			<link>http://www.daniweb.com/forums/thread227094.html</link>
			<pubDate>Thu, 01 Oct 2009 19:57:51 GMT</pubDate>
			<description><![CDATA[Hi there, 
 
I am trying to delete XML nodes using PHP. Here is a sample of my xml file. 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code...]]></description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
I am trying to delete XML nodes using PHP. Here is a sample of my xml file.<br />
 <pre style="margin:20px; line-height:13px">&lt;users&gt;<br />
&nbsp; &nbsp;  &lt;user&gt;<br />
&nbsp; &nbsp;  &lt;fullname&gt;PC1&lt;/fullname&gt;<br />
&nbsp; &nbsp;  &lt;floor&gt;4&lt;/floor&gt;<br />
&nbsp; &nbsp;  &lt;/user&gt;<br />
&nbsp; &nbsp;  &lt;user&gt;<br />
&nbsp; &nbsp;  &lt;fullname&gt;PC2&lt;/fullname&gt;<br />
&nbsp; &nbsp;  &lt;floor&gt;3&lt;/floor&gt;<br />
&nbsp; &nbsp;  &lt;/user&gt;<br />
&lt;/users&gt;</pre><br />
Here is my code so far:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?php<br />
<br />
$users = new DOMDocument();<br />
$users-&gt;load(&quot;officedata.xml&quot;);<br />
$suser = simplexml_load_file(&quot;officedata.xml&quot;);<br />
$count = 0;<br />
<br />
foreach($suser-&gt;user as $user) {<br />
<br />
&nbsp; &nbsp;  if ($user['fullname'] == &quot;PC1&quot;) {<br />
&nbsp; &nbsp; $users-&gt;documentElement-&gt;removeChild($users-&nbsp; &nbsp; &nbsp;  documentElement-&gt;childNodes-&gt;item($count));<br />
&nbsp; &nbsp; $count--;<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; $count++<br />
}<br />
$users-&gt;save(&quot;officedata.xml&quot;);<br />
<br />
?&gt;</pre><br />
Any idea why this won't work? If I remove the IF statement, all of the XML data gets removed.  I am just trying to remove &quot;PC1&quot;<br />
<br />
Thanks in advance,<br />
<br />
Mapper</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>Mapper99</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread227094.html</guid>
		</item>
		<item>
			<title>how can i read the attribute of xml in c# tree</title>
			<link>http://www.daniweb.com/forums/thread226731.html</link>
			<pubDate>Wed, 30 Sep 2009 09:46:26 GMT</pubDate>
			<description><![CDATA[Hello all 
 
i want to make application in c#  
to read any xml file in tree 
 
example the xml file like that 
 
======================= 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hello all<br />
<br />
i want to make application in c# <br />
to read any xml file in tree<br />
<br />
example the xml file like that<br />
<br />
=======================<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot;?&gt;<br />
&lt;directory name=&quot;D:\ajsam&quot;&gt;<br />
<br />
&lt;directory name=&quot;D:\ajsam\Muscle &amp; Fitness&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;directory name=&quot;D:\ajsam\Muscle &amp; Fitness\aa&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;جديد.txt&quot; size=&quot;12&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;Cover.jpg&quot; size=&quot;8828&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;Thumbs.db&quot; <br />
<br />
size=&quot;11776&quot;/&gt;<br />
&lt;/directory&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;Allthewarez.lnk&quot; size=&quot;447&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;Allthewarez.nfo&quot; <br />
<br />
size=&quot;2490&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;Cover.jpg&quot; <br />
<br />
size=&quot;9924&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;Muscle &amp; <br />
<br />
Fitness.avi&quot; size=&quot;365424640&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/directory&gt;<br />
<br />
&lt;directory name=&quot;D:\ajsam\ABS&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;جديد.txt&quot; size=&quot;12&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;Cover.jpg&quot; size=&quot;8828&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;Thumbs.db&quot; <br />
<br />
size=&quot;11776&quot;/&gt;<br />
&lt;/directory&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
<br />
&lt;/directory&gt;</pre>=========================<br />
i want to  read the attribute name and put it in the tree of <br />
<br />
the c# application<br />
<br />
<br />
i found code that read the xml file and put it in tree but it <br />
<br />
read only the name of the tag (directory  and file) but i want <br />
<br />
to read the attribute <br />
and other problem there if the name of any folder have char  <br />
<br />
of  (&amp;)  it not run and if the text in any language other <br />
<br />
english it appear ??????<br />
<br />
this is the code can any one help me and make the changes on <br />
<br />
it thank you.<br />
<br />
this c# code i found<br />
 <pre style="margin:20px; line-height:13px"><br />
using System;<br />
using System.Collections.Generic;<br />
using System.ComponentModel;<br />
using System.Data;<br />
using System.Drawing;<br />
using System.Linq;<br />
using System.Text;<br />
using System.Windows.Forms;<br />
using System.Xml;<br />
<br />
<br />
<br />
namespace fileTreeXmlReader<br />
{<br />
&nbsp; &nbsp; public partial class Form1 : Form<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; public Form1()<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; InitializeComponent();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; private void Form1_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Initialize the controls and the form.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label1.Text = &quot;File Path&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label1.SetBounds(8, 8, 50, 20);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Application.StartupPath +<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; textBox1.Text =&nbsp; &quot;c:\\ajsam.xml&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; textBox1.SetBounds(64, 8, 256, 20);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; button1.Text = &quot;Populate the TreeView with XML&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; button1.SetBounds(8, 40, 200, 20);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.Text = &quot;TreeView control from XML&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.Width = 536;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.Height = 768;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; treeView1.SetBounds(8, 72, 412, 564);<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; private void treeView1_AfterSelect(object sender, <br />
<br />
TreeViewEventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; private void button1_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // SECTION 1. Create a DOM Document and load <br />
<br />
the XML data into it.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XmlDocument dom = new XmlDocument();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dom.Load(textBox1.Text);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // SECTION 2. Initialize the TreeView control.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; treeView1.Nodes.Clear();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; treeView1.Nodes.Add(new TreeNode<br />
<br />
(dom.DocumentElement.LocalName));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TreeNode tNode = new TreeNode();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tNode = treeView1.Nodes[0];<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // SECTION 3. Populate the TreeView with the <br />
<br />
DOM nodes.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AddNode(dom.DocumentElement, tNode);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; treeView1.ExpandAll();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catch (XmlException xmlEx)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show(xmlEx.Message);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catch (Exception ex)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show(ex.Message);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp;  private void AddNode(XmlNode inXmlNode, TreeNode <br />
<br />
inTreeNode)<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp;  XmlNode xNode;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  TreeNode tNode;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  XmlNodeList nodeList;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  int i;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp;  // Loop through the XML nodes until the leaf is <br />
<br />
reached.<br />
&nbsp; &nbsp; &nbsp; &nbsp;  // Add the nodes to the TreeView during the looping <br />
<br />
process.<br />
&nbsp; &nbsp; &nbsp; &nbsp;  if (inXmlNode.HasChildNodes)<br />
&nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nodeList = inXmlNode.ChildNodes;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(i = 0; i&lt;=nodeList.Count - 1; i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  xNode = inXmlNode.ChildNodes[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  inTreeNode.Nodes.Add(new TreeNode<br />
<br />
(xNode.Name));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // inXmlNode<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  tNode = inTreeNode.Nodes[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  AddNode(xNode, tNode);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp;  }<br />
&nbsp; &nbsp; &nbsp; &nbsp;  else<br />
&nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Here you need to pull the data from the XmlNode <br />
<br />
based on the<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // type of node, whether attribute values are <br />
<br />
required, and so forth.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inTreeNode.Text = (inXmlNode.OuterXml).Trim();<br />
&nbsp; &nbsp; &nbsp; &nbsp;  }<br />
&nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp;  }<br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>sa3q</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226731.html</guid>
		</item>
		<item>
			<title>XSLT header/footer for word</title>
			<link>http://www.daniweb.com/forums/thread226699.html</link>
			<pubDate>Wed, 30 Sep 2009 06:02:17 GMT</pubDate>
			<description>Hello, 
 
I want to create a word 2003 type document (.doc). I have a xml file and a xslt file. The first one has the data the second has the style. Then I combine these two through my c# code and create the doc file. 
 
Can you please help me into solving the below issues concerning the xslt? 
 
...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I want to create a word 2003 type document (.doc). I have a xml file and a xslt file. The first one has the data the second has the style. Then I combine these two through my c# code and create the doc file.<br />
<br />
Can you please help me into solving the below issues concerning the xslt?<br />
<br />
<br />
<br />
1)how can I define how big are the page margins?(top bottom left and right?)<br />
<br />
2)how can I define what is written in each page’s header and footer (I want all pages to have the same header and footer which will be a text that I will enter hardcoded)<br />
<br />
<br />
<br />
Thank you very much for your help in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>loukiachr</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226699.html</guid>
		</item>
		<item>
			<title>How I could fetch first three character from a string variable</title>
			<link>http://www.daniweb.com/forums/thread225688.html</link>
			<pubDate>Fri, 25 Sep 2009 11:35:19 GMT</pubDate>
			<description><![CDATA[Hi, 
 
How I could fetch first three character from a string variable. 
Say for I fetched a variable message="ABCtest" .... now I want to test that the first three character matches ABD or not .. How I could code to achieve in xslt? 
 
Cheers  
Manish]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
How I could fetch first three character from a string variable.<br />
Say for I fetched a variable message=&quot;ABCtest&quot; .... now I want to test that the first three character matches ABD or not .. How I could code to achieve in xslt?<br />
<br />
Cheers <br />
Manish</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>MJUGRAN</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225688.html</guid>
		</item>
		<item>
			<title>n XSLT variables to fetch n records from xml file</title>
			<link>http://www.daniweb.com/forums/thread225669.html</link>
			<pubDate>Fri, 25 Sep 2009 09:51:48 GMT</pubDate>
			<description><![CDATA[Hi , 
 
I am fetching a xml file having n records (destinations one detination may have m routes) as below: 
 
	<destination> 
		<filename>ABC</filename> 
                 <route>ftp://manish_test:manish_pass@10.20.21.123:21/%2F1ST-FTP_Poller/dimensionsABC/</route>...]]></description>
			<content:encoded><![CDATA[<div>Hi ,<br />
<br />
I am fetching a xml file having n records (destinations one detination may have m routes) as below:<br />
<br />
	&lt;destination&gt;<br />
		&lt;filename&gt;ABC&lt;/filename&gt;<br />
                 &lt;route&gt;ftp://manish_test:manish_pass@10.20.21.123:21/%2F1ST-FTP_Poller/dimensionsABC/&lt;/route&gt;<br />
		&lt;route&gt;ftp://manish_test:manish_pass@10.20.21.123:21/%2F1ST-FTP_Poller/dimensionsBCD/&lt;/route&gt;<br />
	&lt;/destination&gt;<br />
<br />
I have to fetch all these records based on file name (say the above destination for file staring with ABC) and so on...<br />
<br />
How I could create xslt to get m variables (m routes) for file starting from ABC and so on ...<br />
<br />
What I tried to define m varaible dynamically as below:<br />
<br />
  &lt;xsl:template name=&quot;get-route-without-message&quot; match=&quot;Router&quot;&gt;  <br />
	&lt;destinations&gt;<br />
	   &lt;xsl:for-each select=&quot;destination&quot;&gt;<br />
    		&lt;destination&gt;<br />
    		    &lt;xsl:copy-of select=&quot;node()&quot;/&gt;<br />
    			&lt;xsl:variable name=&quot;{concat('url','position()')}&quot; select=&quot;concat('route','filename')&quot;/&gt;<br />
     		&lt;/destination&gt;<br />
  	  &lt;/xsl:for-each&gt;<br />
  	&lt;/destinations&gt;<br />
  &lt;/xsl:template&gt;<br />
<br />
Now it is failing with error while creating variable name by concatinating url with position say url1 url2 etc....<br />
<br />
Could you please help me out to acheive n varaible for n records....</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>MJUGRAN</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225669.html</guid>
		</item>
		<item>
			<title>I want to hold condition base value in the same template: Please help me on this.</title>
			<link>http://www.daniweb.com/forums/thread225431.html</link>
			<pubDate>Thu, 24 Sep 2009 13:06:46 GMT</pubDate>
			<description><![CDATA[The requirement in simple logic is(please ignore the syntax i just want to tell u the requirement): 
<variable name="a" select="//SearchRequest/@Input"> 
<template> 
  <when a=1> 
           One 
   </when> 
  <when a=2> 
           Two 
   </when> 
   <otherwise>]]></description>
			<content:encoded><![CDATA[<div>The requirement in simple logic is(please ignore the syntax i just want to tell u the requirement):<br />
&lt;variable name=&quot;a&quot; select=&quot;//SearchRequest/@Input&quot;&gt;<br />
&lt;template&gt;<br />
  &lt;when a=1&gt;<br />
           One<br />
   &lt;/when&gt;<br />
  &lt;when a=2&gt;<br />
           Two<br />
   &lt;/when&gt;<br />
   &lt;otherwise&gt;<br />
        None<br />
     &lt;otherwise&gt;  <br />
     &lt;!--here i want to create one element with above value which is <br />
condition based i.e One or Two or None--&gt;<br />
<br />
&lt;template&gt;  <br />
<br />
so please help me to hold condition based value in XSL.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>sachinw</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225431.html</guid>
		</item>
		<item>
			<title>XML to Gridview</title>
			<link>http://www.daniweb.com/forums/thread225281.html</link>
			<pubDate>Thu, 24 Sep 2009 00:58:09 GMT</pubDate>
			<description>Hello all. I am new to ASP.NET XML so I am looking for some guidance. I have an XML string that needs to read into an ASP.NET C# Gridview.  The XML data actually comes from the CRM SDK crm web service (FetchXML). The XML Elements contain (dots) and attributes which seem to be the issue here. If I...</description>
			<content:encoded><![CDATA[<div>Hello all. I am new to ASP.NET XML so I am looking for some guidance. I have an XML string that needs to read into an ASP.NET C# Gridview.  The XML data actually comes from the CRM SDK crm web service (FetchXML). The XML Elements contain (dots) and attributes which seem to be the issue here. If I do a Replace on the XML and remove the DOT, I still cannot read the entire XML string into Gridview because there is an attribute with that element.  (notice the ppl.amount)<br />
<br />
Here is the XML output that was generated from FetchXML:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;resultset morerecords=&quot;0&quot; paging-cookie=&quot;&amp;lt;cookie page=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;productid last=&amp;quot;{CA101515-275C-DE11-B856-00237D653ED0}&amp;quot; first=&amp;quot;{245798D8-0660-DE11-8B1F-00237D653ED0}&amp;quot; /&amp;gt;&amp;lt;/cookie&amp;gt;&quot;&gt;<br />
&lt;result&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;name&gt;Device with Standard Service for Warranty&lt;/name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;description&gt;Device with Standard Service for Warranty&lt;/description&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;productid&gt;{245798D8-0660-DE11-8B1F-00237D653ED0}&lt;/productid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ppl.transactioncurrencyid name=&quot;US Dollar&quot; dsc=&quot;0&quot;&gt;{C9D286D4-AE18-DE11-8153-00237D653ED0}&lt;/ppl.transactioncurrencyid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ppl.amount formattedvalue=&quot;$0.00&quot;&gt;0&lt;/ppl.amount&gt;<br />
&lt;/result&gt;<br />
&lt;result&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;name&gt;RF Remote&lt;/name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;description&gt;RF Remote&lt;/description&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;productid&gt;{BF107F7D-A461-DE11-8B1F-00237D653ED0}&lt;/productid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ppl.transactioncurrencyid name=&quot;US Dollar&quot; dsc=&quot;0&quot;&gt;{C9D286D4-AE18-DE11-8153-00237D653ED0}&lt;/ppl.transactioncurrencyid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ppl.amount formattedvalue=&quot;$25.00&quot;&gt;25&lt;/ppl.amount&gt;<br />
&lt;/result&gt;<br />
&lt;/resultset&gt;</pre><br />
I need some code that would read this XML properly into a dataset that I can assign to the Gridview datasource.<br />
<br />
Here is the code I am using now:<br />
 <pre style="margin:20px; line-height:13px">DataSet ds = new DataSet();<br />
result1 = MY XML STRING FROM FETCHXML<br />
StringReader rdr;<br />
rdr = new StringReader(result1);<br />
ds.ReadXml(rdr);<br />
GridView1.DataSource = ds.Tables[1];<br />
GridView1.DataBind();</pre><br />
If I don't set AutoGenerateColumns=&quot;false&quot; in the Gridview, it does not display the &quot;ppl.amount&quot; element or the ppl.transactioncurrencyid element.  I need those two columns to show in the Gridview as well.<br />
<br />
Can someone help me get this figured out please??  <br />
Thanks a lot!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>coonbri</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225281.html</guid>
		</item>
		<item>
			<title><![CDATA[[XSLT] Group tags to prioritize the xml file]]></title>
			<link>http://www.daniweb.com/forums/thread224562.html</link>
			<pubDate>Mon, 21 Sep 2009 10:26:38 GMT</pubDate>
			<description><![CDATA[Hello,  
 
I have 2 problems with an xml file: 
 
1. the original xml has no structure because all the tags (except the root element) are at the same level. What I want to do is to insert a tag <toto>, whose children would be one <FM1Titre> and all the tags that follow it until the next tag...]]></description>
			<content:encoded><![CDATA[<div>Hello, <br />
<br />
I have 2 problems with an xml file:<br />
<br />
1. the original xml has no structure because all the tags (except the root element) are at the same level. What I want to do is to insert a tag &lt;toto&gt;, whose children would be one &lt;FM1Titre&gt; and all the tags that follow it until the next tag &lt;FM1Titre&gt;. <br />
<br />
2. I would like to report the content of the tag FM1Titre as the name of the tag that I have mentionned above. <br />
<br />
Here is a part of the xml file: <br />
<br />
&lt;XML&gt; <br />
&lt;FM1Titre&gt;Description &lt;/FM1Titre&gt; <br />
&lt;Bloc-paragraphe&gt;La table mère permet de paramétrer les tables. &lt;/Bloc-paragraphe&gt; <br />
&lt;Bloc-paragraphe&gt;Toute nouvelle table doit être créée en premier lieu dans la table mère.&lt;/Bloc-paragraphe&gt; <br />
<br />
&lt;FM1Titre&gt;Détails techniques &lt;/FM1Titre&gt; <br />
...&lt;/XML&gt; <br />
<br />
What I would like to obtain after transformation : <br />
<br />
&lt;XML&gt; <br />
&lt;Description&gt; <br />
&lt;FM1Titre&gt;Description &lt;/FM1Titre&gt; <br />
&lt;Bloc-paragraphe&gt;La table mère permet de paramétrer les tables. &lt;/Bloc-paragraphe&gt; <br />
&lt;Bloc-paragraphe&gt;Toute nouvelle table doit être créée en premier lieu dans la table mère.&lt;/Bloc-paragraphe&gt; <br />
&lt;/Description&gt; <br />
<br />
&lt;Détails techniques&gt; <br />
&lt;FM1Titre&gt;Détails techniques &lt;/FM1Titre&gt; <br />
&lt;/Détails techniques&gt; <br />
<br />
...&lt;/XML&gt; <br />
My researches have been unsuccessful (research on the net, on proposed solutions on the forum) and I begin to think that it is maybe impossible to do that with XSLT 1.0.<br />
I use to find a solution to problem of that kind but this time I do not manage to find an answer by myself, so if anyone could have a solution or a track, please help me...<br />
<br />
Thanks in advance.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>sacha74</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread224562.html</guid>
		</item>
		<item>
			<title>Replace the special characters (•) from xml while reading xml by XmlTextReader class.</title>
			<link>http://www.daniweb.com/forums/thread224524.html</link>
			<pubDate>Mon, 21 Sep 2009 07:21:01 GMT</pubDate>
			<description>hi,  
i am using XmlTextReader class to read xml from http link ,now my problem is that i want to replace the special characters(•) from xml before reading its tag, coz it is giving the error in XmlTextReader  reader.Read() method. 
 
Please suggest any solutions to this. 
 
Thanks in advance,...</description>
			<content:encoded><![CDATA[<div>hi, <br />
i am using XmlTextReader class to read xml from http link ,now my problem is that i want to replace the special characters(•) from xml before reading its tag, coz it is giving the error in XmlTextReader  reader.Read() method.<br />
<br />
Please suggest any solutions to this.<br />
<br />
Thanks in advance,<br />
Ashish</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>ashu2409</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread224524.html</guid>
		</item>
		<item>
			<title>How to add an enclosing node to text including nodes?</title>
			<link>http://www.daniweb.com/forums/thread224459.html</link>
			<pubDate>Sun, 20 Sep 2009 23:04:29 GMT</pubDate>
			<description><![CDATA[Hi,  
 
I want to process the following xml: 
... 
<a> 
HHHHeader 1 : xxx <it> yyy </it> zzz 
HHHHeader 2 : aaa bbb <it> ccc </it> 
</a> 
...]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
I want to process the following xml:<br />
<span style="color:Green">...<br />
&lt;a&gt;<br />
HHHHeader 1 : xxx &lt;it&gt; yyy &lt;/it&gt; zzz<br />
HHHHeader 2 : aaa bbb &lt;it&gt; ccc &lt;/it&gt;<br />
&lt;/a&gt;<br />
...</span><br />
<br />
And I want to get via a xslt the following xml<br />
<br />
<span style="color:Green">...<br />
&lt;a&gt;<br />
&lt;Header hd=&quot;1&quot;&gt;<br />
xxx &lt;it&gt; yyy &lt;/it&gt; zzz<br />
&lt;/Header&gt;<br />
&lt;Header hd=&quot;2&quot;&gt;<br />
aaa bbb &lt;it&gt; ccc &lt;/it&gt;<br />
&lt;/Header&gt;<br />
&lt;/a&gt;<br />
...<br />
</span><br />
<br />
Using code like this<br />
<span style="color:Green">&lt;xsl:template match=&quot;a&quot;&gt;<br />
<br />
  &lt;xsl:variable name=&quot;elValue&quot; select=&quot;.&quot;/&gt;<br />
<br />
  &lt;xsl:analyze-string select=&quot;$elValue&quot;<br />
       regex=&quot;HHHHeader ([0-9]*)\s:([\s\S]*)&quot;&gt;<br />
<br />
    &lt;xsl:matching-substring&gt;<br />
      &lt;xsl:element name=&quot;Header&quot;&gt;<br />
        &lt;xsl:attribute name=&quot;hd&quot; select=&quot;regex-group(1)&quot;/&gt;<br />
        &lt;xsl:value-of select=&quot;regex-group(2)&quot;/&gt;<br />
      &lt;/xsl:element&gt;<br />
    &lt;/xsl:matching-substring&gt;<br />
<br />
    &lt;xsl:non-matching-substring&gt;<br />
      &lt;aInError&gt;<br />
        &lt;xsl:value-of select=&quot;$elValue&quot;/&gt;<br />
      &lt;/aInError&gt;<br />
    &lt;/xsl:non-matching-substring&gt;<br />
<br />
  &lt;/xsl:analyze-string&gt;<br />
<br />
&lt;/xsl:template&gt;<br />
<br />
</span> I know how to create the following xml<br />
<br />
<span style="color:Green">&lt;a&gt;<br />
&lt;Header hd=&quot;1&quot;&gt;<br />
xxx yyy zzz<br />
&lt;/Header&gt;<br />
&lt;Header hd=&quot;2&quot;&gt;<br />
aaa bbb ccc<br />
&lt;/Header&gt;<br />
&lt;/a&gt;<br />
</span><br />
but then the &lt;it&gt; nodes are lost. I have no clue how I could proceed to keep these. Anyone can help ?<br />
<br />
Thanx</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>mikeHL</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread224459.html</guid>
		</item>
		<item>
			<title>XSLT group size</title>
			<link>http://www.daniweb.com/forums/thread223258.html</link>
			<pubDate>Tue, 15 Sep 2009 16:08:50 GMT</pubDate>
			<description><![CDATA[Hi! 
I´m a newbie trying to get the size of groups with XSLT 2.0 
What I'm trying to do is get the count of different child elements of a certain node, so I'm grouping them by name. 
 
Given the following sample xml file what I want is a 2 columns table: 
 
Node name | Instances 
A                ...]]></description>
			<content:encoded><![CDATA[<div>Hi!<br />
I´m a newbie trying to get the size of groups with XSLT 2.0<br />
What I'm trying to do is get the count of different child elements of a certain node, so I'm grouping them by name.<br />
<br />
Given the following sample xml file what I want is a 2 columns table:<br />
<br />
Node name | Instances<br />
A                 | 1<br />
B                 | 2<br />
C                 | 1<br />
<br />
And what I get with my code is the number of childs, not the size of each gruop.<br />
<br />
Node name | Instances<br />
A                 | 3<br />
B                 | 2<br />
C                 | 1<br />
<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;<br />
&lt;demo&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;A&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;aa1&gt;data1&lt;/aa1&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;aa2&gt;data2&lt;/aa2&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;aa3&gt;data3&lt;/aa3&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/A&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;B&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;bb1&gt;data1&lt;/bb1&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;bb2&gt;data1&lt;/bb2&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/B&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;B&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;bb1&gt;data1&lt;/bb1&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;bb2&gt;data1&lt;/bb2&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/B&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;C&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;cc1&gt;data3&lt;/cc1&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/C&gt;<br />
&lt;/demo&gt;</pre><br />
Here is my xslt code<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;<br />
&lt;xsl:stylesheet version=&quot;2.0&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;<br />
<br />
&lt;xsl:template match=&quot;demo&quot;&gt;<br />
&nbsp; &lt;html&gt;<br />
&nbsp; &lt;body&gt;<br />
&nbsp; &lt;h2&gt;Group by name&lt;/h2&gt;<br />
&nbsp; &lt;table border=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &lt;tr bgcolor=&quot;#9acd32&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;th&gt;Node name&lt;/th&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;th&gt;Instances&lt;/th&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:for-each-group select=&quot;*&quot; group-by=&quot;name()&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;xsl:value-of select=&quot;name()&quot; /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- this returns the number of childs, not the size of the GROUP --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;xsl:value-of select=&quot;count(*)&quot; /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:for-each-group&gt;<br />
&nbsp; &lt;/table&gt;<br />
&nbsp; &lt;/body&gt;<br />
&nbsp; &lt;/html&gt;<br />
&lt;/xsl:template&gt;<br />
&lt;/xsl:stylesheet&gt;</pre><br />
Thanks in advance!<br />
Lorena</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>lorelore</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223258.html</guid>
		</item>
		<item>
			<title>XML to XML via XSL Transform Error...</title>
			<link>http://www.daniweb.com/forums/thread223237.html</link>
			<pubDate>Tue, 15 Sep 2009 13:55:53 GMT</pubDate>
			<description><![CDATA[Here is a sample of the XML that I am starting with: 
 
XML: any.xml 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags"...]]></description>
			<content:encoded><![CDATA[<div>Here is a sample of the XML that I am starting with:<br />
<br />
XML: any.xml<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;any.xsl&quot;?&gt;<br />
&nbsp; &nbsp; &lt;root&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;device&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;device_Info&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;name&gt;Name 1&lt;/name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;type&gt;Type&lt;/type&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/device_Info&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;drive_Pair&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;status&gt;Ready&lt;/status&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Local&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;l_name&gt;10E5&lt;/l_name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Local&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Remote&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;l_name&gt;0651&lt;/l_name&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Remote&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/drive_Pair&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #Can be 1 or many &lt;drive_Pair&gt;'s<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {&lt;drive_Pair&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/drive_Pair&gt;}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Can only be 1 Totals<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Totals&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Local&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;l1_invalid_mbs&gt;0.0&lt;/l1_invalid_mbs&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;l2_invalid_mbs&gt;0.0&lt;/l2_invalid_mbs&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Local&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Totals&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/device&gt;<br />
&nbsp; &nbsp; &nbsp;  #Can be 1 or many &lt;device&gt;'s<br />
&nbsp; &nbsp; &nbsp; &nbsp; {&lt;device&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ...<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/device&gt;}<br />
&nbsp; &nbsp; &lt;/root&gt;</pre><br />
XSL: any.xsl<br />
 <pre style="margin:20px; line-height:13px">&lt;xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:output method=&quot;xml&quot; version=&quot;1.0&quot; standalone=&quot;yes&quot; cdata-section-elements=&quot;devices&quot; indent=&quot;yes&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:template match=&quot;/root/device&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:element name=&quot;devices&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:for-each select=&quot;device_Info&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;device name=&quot;{name}&quot; type=&quot;{type}&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:for-each&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:for-each select=&quot;drive_Pair&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;drive_Pair status=&quot;{status}&quot; local=&quot;{Local/l_name}&quot; remote=&quot;{Remote/l_name}&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:for-each&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:for-each select=&quot;drive_Pair_Totals/Local&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Totals l1=&quot;{l1_invalid_mbs}&quot; l2=&quot;{l2_invalid_mbs}&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:for-each&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:element&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:template&gt;<br />
&lt;/xsl:stylesheet&gt;</pre><br />
The XML Result: temp.xml<br />
 <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;<br />
&lt;devices&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;device name=&quot;Name 1&quot; type=&quot;backup&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;drive_Pair status=&quot;same&quot; local=&quot;1234&quot; remote=&quot;1234&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;drive_Pair status=&quot;same&quot; local=&quot;4321&quot; remote=&quot;4321&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;Totals l1=&quot;0.0&quot; l2=&quot;0.0&quot;/&gt;<br />
&lt;/devices&gt;<br />
&lt;devices&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;device name=&quot;Name 2&quot; type=&quot;Active&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;drive_Pair status=&quot;different&quot; local=&quot;3425&quot; remote=&quot;3542&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;drive_Pair status=&quot;different&quot; local=&quot;0362&quot; remote=&quot;9876&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;drive_Pair status=&quot;same&quot; local=&quot;8767&quot; remote=&quot;8767&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;Totals l1=&quot;0.0&quot; l2=&quot;0.0&quot;/&gt;<br />
&lt;/devices&gt;</pre><br />
The issue I am having is when I validate the output XML, temp.xml it comes back with an error that happens right here (line 8 of temp.xml):<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &lt;Totals l1=&quot;0.0&quot; l2=&quot;0.0&quot;/&gt;<br />
&lt;/devices&gt;<br />
&lt;devices&gt;&nbsp;  #&lt;--------- &quot;Character 'D' is grammatically unexpected&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;device name=&quot;Name 2&quot; type=&quot;Active&quot;/&gt;</pre><br />
It references that the reason for the error is because it expects '!' or '?'.... And I am at a loss on how to &quot;fix&quot; it.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>sinnerFA</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223237.html</guid>
		</item>
		<item>
			<title>add xml declaration and namespace to xml output in sql</title>
			<link>http://www.daniweb.com/forums/thread223218.html</link>
			<pubDate>Tue, 15 Sep 2009 11:42:56 GMT</pubDate>
			<description><![CDATA[Hi there, 
 
I need help urgently! 
 
I need to add xml declaration and namespace as shown below: 
 <?xml version="1.0" encoding="UTF-8" ?>  
xmlns="http://online.ogcbuyingsolutions.gov.uk/schemas/products" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...]]></description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
I need help urgently!<br />
<br />
I need to add xml declaration and namespace as shown below:<br />
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; <br />
xmlns=&quot;http://online.ogcbuyingsolutions.gov.uk/schemas/products&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://online.ogcbuyingsolutions.gov.uk/schemas/products products_1_17.xsd&quot;&gt;<br />
<br />
I have written the stored proc in SQL 2008 to generate an xml output using thefor xml explicit and that is all fine.  The problem is how do I add the xml declaration and namespace.  It seems you can add this using the other type for xml auto, raw etc but not for explicit.  <br />
<br />
The namespace I have tried to add as an attribute to the root tag but I can't seem to add all of it as the quotes are automatically place from the beginning to the end whereas I want them in three different places - see above for reference.<br />
<br />
Please can someone advise how to resolve this issue or a way of getting around this.<br />
<br />
Also I have placed my sql code for reference too<br />
[<br />
SELECT	1		AS Tag, <br />
	NULL		AS Parent,<br />
	@NameSpace	AS [products!1!xmlns],	<br />
	NULL	AS [login!2!username!element],<br />
    NULL	AS [login!2!password!element],<br />
    NULL	AS [login!2!supplier_tag!element],<br />
	NULL	AS [actions!3!products],<br />
	NULL	AS [delete!4],	<br />
	NULL	AS [code!5!type],<br />
	NULL	AS [code!5],<br />
	NULL	AS [product!6!product_status],<br />
	null	AS [product!6!ItemID!element],<br />
	NULL	AS [product!6!contract_code!element],<br />
	NULL	AS [product!6!unspsc_code!element],<br />
	NULL	AS [product!6!name!element],<br />
	NULL	AS [product!6!summary!element],<br />
	NULL	AS [product!6!description!element],<br />
	NULL	AS [product!6!manufacturer!element],<br />
	NULL	AS [product!6!url!element],<br />
	NULL	AS [product!6!vat_band!element],<br />
	NULL	AS [product!6!currency_code!element],<br />
	NULL	AS [variants!7],<br />
	null    AS [variant!8!code!element],<br />
	NULL	AS [variant!8!manufacturer_code!element],<br />
	NULL	AS [variant!8!weighting!element],<br />
	NULL	AS [variant!8!ogcbs_price!element],<br />
	NULL	AS [variant!8!price_unit!element],<br />
	NULL	AS [variant!8!special_offer!element],<br />
	NULL	AS [variant!8!image!element],<br />
	NULL	AS [variant!8!delivery_model!element]<br />
UNION ALL<br />
SELECT <br />
	2 AS TAG,<br />
	1 AS Parent,<br />
	NULL,	<br />
	Fixed_UserName, <br />
	Fixed_Password, <br />
	FixedSupplier_Tag,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL<br />
FROM #LoginInfo <br />
UNION ALL<br />
SELECT<br />
	3 AS TAG,<br />
	1 AS Parent,<br />
	NULL,	<br />
	NULL, <br />
	NULL, <br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL<br />
UNION ALL<br />
SELECT<br />
	4 AS TAG,<br />
	3 AS Parent,<br />
	NULL,	<br />
	NULL, <br />
	NULL, <br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL<br />
UNION ALL<br />
SELECT<br />
	5 AS TAG,<br />
	4 AS Parent,<br />
	NULL,	<br />
	NULL, <br />
	NULL, <br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	'product',<br />
	ItemID,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL<br />
FROM #DeleteProducts	<br />
UNION ALL<br />
SELECT DISTINCT	<br />
	6	AS Tag, <br />
	1	AS Parent,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	a.itemstatustxt,<br />
	a.ItemID				AS [product!6!ItemID!element],<br />
	null,<br />
	NULL,<br />
	a.name,<br />
	null,<br />
	null,<br />
	a.manufacturer,<br />
	a.url,<br />
	NULL,<br />
	a.currencycode,<br />
	null,<br />
	null,					<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL	<br />
FROM #ActiveProducts a<br />
inner join #Product_Variants b on a.ItemID = b.itemid<br />
UNION ALL<br />
SELECT DISTINCT<br />
	7 AS TAG,<br />
	6 AS Parent,<br />
	NULL,	<br />
	NULL, <br />
	NULL, <br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	NULL,<br />
	a.ItemID,<br />
	null,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null<br />
FROM #ActiveProducts a<br />
inner join #Product_Variants b on a.ItemID = b.itemid<br />
UNION ALL<br />
SELECT	<br />
	8			AS Tag,  <br />
	7			AS Parent,<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL, <br />
	null,<br />
	null,<br />
	NULL,<br />
	a.itemid				AS [product!6!ItemID!element],<br />
	NULL,<br />
	null,<br />
	null,<br />
	null,<br />
	null,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	NULL,<br />
	null,<br />
	b.code					AS [variant!8!code!element],<br />
	b.manufacturercode,<br />
	b.weighting,<br />
	null,<br />
	b.priceunit,<br />
	NULL,<br />
	b.itemimage,<br />
	NULL	<br />
FROM #ActiveProducts a<br />
inner join #Product_Variants b on a.ItemID = b.itemid<br />
order by [product!6!ItemID!element],[variant!8!code!element], Tag<br />
<br />
FOR XML EXPLICIT<br />
<br />
]<br />
<br />
Many thanks in advance<br />
<br />
Regards,<br />
<br />
Shaziya Chughtai</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>shazee32</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223218.html</guid>
		</item>
		<item>
			<title>my swf not loading xml at server</title>
			<link>http://www.daniweb.com/forums/thread223128.html</link>
			<pubDate>Tue, 15 Sep 2009 05:46:36 GMT</pubDate>
			<description><![CDATA[Hi I'm creating a flipbook which get the data through xml. It works properly in the flash means when I test it using ctrl+Enter but when I upload it onto the server it not shows even a single page means the cml isn't loaded there. Any ideas what  would be the problem. 
 
Thanks]]></description>
			<content:encoded><![CDATA[<div>Hi I'm creating a flipbook which get the data through xml. It works properly in the flash means when I test it using ctrl+Enter but when I upload it onto the server it not shows even a single page means the cml isn't loaded there. Any ideas what  would be the problem.<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>chand.</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223128.html</guid>
		</item>
		<item>
			<title>include, call-template</title>
			<link>http://www.daniweb.com/forums/thread222950.html</link>
			<pubDate>Mon, 14 Sep 2009 14:46:59 GMT</pubDate>
			<description><![CDATA[hello, 
 
there is a main xslt-script with a "do_this_and_that"-template. 
 
in an from the main included script ther is such "do_this_and_that"-template too. 
 
is it possible to call the "do_this_and_that"-template from the main by this included "do_this_and_that"-template? 
 
many thanks for...]]></description>
			<content:encoded><![CDATA[<div>hello,<br />
<br />
there is a main xslt-script with a &quot;do_this_and_that&quot;-template.<br />
<br />
in an from the main included script ther is such &quot;do_this_and_that&quot;-template too.<br />
<br />
is it possible to call the &quot;do_this_and_that&quot;-template from the main by this included &quot;do_this_and_that&quot;-template?<br />
<br />
many thanks for your answer(s)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>hschroeter</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread222950.html</guid>
		</item>
		<item>
			<title>Xpath Corelate Parent With Variable number Of Children</title>
			<link>http://www.daniweb.com/forums/thread215017.html</link>
			<pubDate>Sun, 30 Aug 2009 14:36:31 GMT</pubDate>
			<description><![CDATA[Hello, 
I have to parse an xml document that contains names of sports teams , but these sport teams tags are included in league tags , so inside a league can be a variable number of teams (1, 2 etc.). Like this : 
 
<league> 
<name>NCAA</name> 
<team> 
<name>Akron </name>...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
I have to parse an xml document that contains names of sports teams , but these sport teams tags are included in league tags , so inside a league can be a variable number of teams (1, 2 etc.). Like this :<br />
<br />
&lt;league&gt;<br />
&lt;name&gt;NCAA&lt;/name&gt;<br />
&lt;team&gt;<br />
&lt;name&gt;Akron &lt;/name&gt;<br />
&lt;decimalodds&gt;2&lt;/decimalodds&gt;<br />
&lt;/team&gt;<br />
&lt;team&gt;<br />
&lt;name&gt;Ohio &lt;/name&gt;<br />
&lt;decimalodds&gt;1.833333&lt;/decimalodds&gt;<br />
&lt;/team&gt;<br />
&lt;/league&gt;<br />
&lt;league&gt;<br />
&lt;name&gt;AFC&lt;/name&gt;<br />
&lt;team&gt;<br />
&lt;name&gt;Indianapolis Colts&lt;/name&gt;<br />
&lt;decimalodds&gt;1.0625&lt;/decimalodds&gt;<br />
&lt;/team&gt;<br />
&lt;team&gt;<br />
&lt;name&gt;Jacksonville Jaguars&lt;/name&gt;<br />
&lt;decimalodds&gt;11&lt;/decimalodds&gt;<br />
&lt;/team&gt;<br />
&lt;team&gt;<br />
&lt;name&gt;Tennessee Titans&lt;/name&gt;<br />
&lt;decimalodds&gt;11&lt;/decimalodds&gt;<br />
&lt;/team&gt;<br />
&lt;/league&gt;<br />
............. <br />
<br />
So first league has 2 teams inside (2 children) and second has 3 teams , but the number of leagues can also be variable from one xml file to another.<br />
<br />
I need to get directly name of teams using xpath and put it in array but also get the league for each team , which , in terms of xpath , means the parent of each children, like this :<br />
<br />
$feed = array( 'team_name' =&gt; '../league/team/name'<br />
'league_name' =&gt; '//team/../name ', <br />
<br />
};<br />
<br />
So , my array should have:<br />
<br />
<br />
$feed ['team_name'] [0]= 'Akron'<br />
$feed ['league_name'] [0]= 'NCAA'<br />
<br />
$feed['team_name'] [1]= 'Ohio'<br />
$feed['league_name'][1]= 'NCAA'<br />
<br />
$feed['team_name'] [2]= 'Indianapolis Colts'<br />
$feed['league_name'][2]= 'AFC'<br />
<br />
$feed['team_name'] [3]= 'Jacksonville Jaguars'<br />
$feed['league_name'][3]= 'AFC'<br />
<br />
$feed['team_name'] [4]= 'Tennessee Titans'<br />
$feed['league_name'][4]= 'AFC'<br />
<br />
but I don't !!<br />
Instead i have : <br />
<br />
$feed['team_name'] [0]= 'Akron'<br />
$feed['league_name'] [0]= 'NCAA'<br />
<br />
$feed['team_name'] [1]= 'Ohio'<br />
$feed['league_name'][1]= 'AFC'<br />
<br />
$feed['team_name'] [2]= 'Indianapolis Colts'<br />
$feed['league_name'][2]= ''<br />
<br />
$feed['team_name'] [3]= 'Jacksonville Jaguars'<br />
$feed['league_name'][3]= ''<br />
<br />
$feed['team_name'] [4]= 'Tennessee Titans'<br />
$feed['league_name'][4]= ''<br />
<br />
<br />
So what can I do ? Is there any solution to make xpath corelate children witj parents and treat them separately ??<br />
<br />
Thank you.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>rototem</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread215017.html</guid>
		</item>
		<item>
			<title><![CDATA[XPath expression for <td> tag having "Type" as textContent in any of its childNodes]]></title>
			<link>http://www.daniweb.com/forums/thread214901.html</link>
			<pubDate>Sat, 29 Aug 2009 17:36:34 GMT</pubDate>
			<description><![CDATA[I have a HTML document in which there is a <td> tag 
In this td tag the TextContent is equal to "Type" 
It is not neccessary that the td tag directly has content,it may have content in the subtags. 
 
The "Type" stuff may be enclosed in between the spaces 
 
What will be the XPath expression for...]]></description>
			<content:encoded><![CDATA[<div>I have a HTML document in which there is a &lt;td&gt; tag<br />
In this td tag the TextContent is equal to &quot;Type&quot;<br />
It is not neccessary that the td tag directly has content,it may have content in the subtags.<br />
<br />
The &quot;Type&quot; stuff may be enclosed in between the spaces<br />
<br />
What will be the XPath expression for the same?<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;td align=&quot;left&quot; style=&quot;background-color:#648190;&quot;&gt;&lt;span style=&quot;color:#ffffff;font-family:arial;font-size:small;&quot;&gt;&lt;b&gt;&nbsp;  Type&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;</pre><br />
<br />
Thanks in advance<br />
<br />
CSJakharia</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>csplrj</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214901.html</guid>
		</item>
		<item>
			<title><![CDATA[[PHP] How to change a value with XPath]]></title>
			<link>http://www.daniweb.com/forums/thread214428.html</link>
			<pubDate>Thu, 27 Aug 2009 15:19:32 GMT</pubDate>
			<description><![CDATA[<div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code Tags</a> </div> <div> <strong>XML, XSLT and XPATH...]]></description>
			<content:encoded><![CDATA[<div> <pre style="margin:20px; line-height:13px">&lt;?xml version=&quot;1.0&quot;?&gt;<br />
&lt;staff&gt;<br />
&lt;user&gt;<br />
&lt;id&gt;A&lt;/id&gt;<br />
&lt;rank&gt;User&lt;/rank&gt;<br />
&lt;/user&gt;<br />
&lt;user&gt;<br />
&lt;id&gt;B&lt;/id&gt;<br />
&lt;rank&gt;User&lt;/rank&gt;<br />
&lt;/user&gt;<br />
&lt;user&gt;<br />
&lt;id&gt;C&lt;/id&gt;<br />
&lt;rank&gt;Administrator&lt;/rank&gt;<br />
&lt;/user&gt;<br />
&lt;/staff&gt;</pre>I have to promote to &quot;Administrator&quot; a random user using XPath.<br />
How can I do it?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>tryhere</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214428.html</guid>
		</item>
		<item>
			<title>Replacing ampersand and single quote in XSLT</title>
			<link>http://www.daniweb.com/forums/thread213378.html</link>
			<pubDate>Sun, 23 Aug 2009 11:03:34 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
I want to replace single quote and ampersand in XSLT of data view web part. 
I tried to use translate function. But when i do a translate of &amp;#39; then &amp; is also getting replaced. Could some one help me on this. 
 
Thanks, 
dm]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I want to replace single quote and ampersand in XSLT of data view web part.<br />
I tried to use translate function. But when i do a translate of &amp;amp;#39; then &amp;amp; is also getting replaced. Could some one help me on this.<br />
<br />
Thanks,<br />
dm</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>dm_team</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread213378.html</guid>
		</item>
		<item>
			<title>MS Word, XML, i4i, Customized XML Tool, 60 Days, Now Appealed</title>
			<link>http://www.daniweb.com/forums/thread220753.html</link>
			<pubDate>Fri, 21 Aug 2009 16:41:32 GMT</pubDate>
			<description>This week Microsoft (NSDQ: MSFT) formally appealed the judge’s ruling that MS Word application violates the patent 5,787,449 held by i4i. Microsoft was forced by last weeks ruling that Microsoft must stop selling MS Word in the U.S. containing the patented customized XML tool in the next 60 days....</description>
			<content:encoded><![CDATA[<div>This week Microsoft (NSDQ: MSFT) formally appealed the judge’s ruling that MS Word application violates the patent 5,787,449 held by i4i. Microsoft was forced by last weeks ruling that Microsoft must stop selling MS Word in the U.S. containing the patented customized XML tool in the next 60 days. Microsoft was ordered to already pay upwards of $240 Million in fines, however Office software accounts for $3 Billion in world wide sales last year. i4i is a small software firm going against the big guns, how long will they last?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>marklebp</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread220753.html</guid>
		</item>
		<item>
			<title>Extracting xml with php</title>
			<link>http://www.daniweb.com/forums/thread212834.html</link>
			<pubDate>Thu, 20 Aug 2009 18:29:59 GMT</pubDate>
			<description><![CDATA[Hi All, iv been a member here a few months now and have been helped greatly in the past & would appreciate some pointers please.  
 
I have been given an xml document & have been tasked with extracting information from it.  
 
an example of data held in the xml file is as follows....]]></description>
			<content:encoded><![CDATA[<div>Hi All, iv been a member here a few months now and have been helped greatly in the past &amp; would appreciate some pointers please. <br />
<br />
I have been given an xml document &amp; have been tasked with extracting information from it. <br />
<br />
an example of data held in the xml file is as follows.<br />
&lt;enquiry_number&gt;000001&lt;/enquiry_number&gt; <br />
&lt;product_code&gt;AI1W11&lt;/product_code&gt;<br />
<br />
Im not sure how to start ? or if its best to use HTML or PHP <br />
<br />
any help would be very much appreciated.<br />
<br />
regards</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>DaveyMoyes</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread212834.html</guid>
		</item>
		<item>
			<title>How can I open a file with xml extention in a readable format?</title>
			<link>http://www.daniweb.com/forums/thread212153.html</link>
			<pubDate>Mon, 17 Aug 2009 23:11:12 GMT</pubDate>
			<description>I requested a document from my insurance company and it was sent to me by email, as a xml file. I tried to open it by IE browser, MS Word, Excel, note pad, but it opens as codes. I need to print this document, is there any way to open it in a readable format? thank you for your time.</description>
			<content:encoded><![CDATA[<div>I requested a document from my insurance company and it was sent to me by email, as a xml file. I tried to open it by IE browser, MS Word, Excel, note pad, but it opens as codes. I need to print this document, is there any way to open it in a readable format? thank you for your time.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>dahagaku</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread212153.html</guid>
		</item>
		<item>
			<title>simple xpath question</title>
			<link>http://www.daniweb.com/forums/thread212137.html</link>
			<pubDate>Mon, 17 Aug 2009 20:34:49 GMT</pubDate>
			<description><![CDATA[hi,  
 
if I have a variable such as 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code Tags</a>...]]></description>
			<content:encoded><![CDATA[<div>hi, <br />
<br />
if I have a variable such as<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;xsl:variable name=&quot;name&quot; select=&quot;name&quot; /&gt;</pre><br />
and I want to reach somewhere in xpath using this variable as the attribute, such as: <br />
<br />
 <pre style="margin:20px; line-height:13px">sum(/document/doc/@<span style="font-weight:bold">$name</span>)</pre><br />
this query doesn't work.  is there anyway I can reach this path without knowing that the attribute name?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>iamakimmer</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread212137.html</guid>
		</item>
		<item>
			<title><![CDATA[Exception in thread "main" javax.xml.transform.TransformerException: Could not find f]]></title>
			<link>http://www.daniweb.com/forums/thread212065.html</link>
			<pubDate>Mon, 17 Aug 2009 13:15:11 GMT</pubDate>
			<description><![CDATA[Hi, 
I am getting parsing error in xpath transformation 
 
 
String s = "if (/blah/text()!='') then blah/text() else ''"; 
XPathExpression expression = xpath.compile(s); 
 
Object o = expression.evaluate(target, XPathConstants.NODESET);   
 
I am using normal core java and xml packages to parse]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I am getting parsing error in xpath transformation<br />
<br />
<br />
String s = &quot;if (/blah/text()!='') then blah/text() else ''&quot;;<br />
XPathExpression expression = xpath.compile(s);<br />
<br />
Object o = expression.evaluate(target, XPathConstants.NODESET);  <br />
<br />
I am using normal core java and xml packages to parse<br />
import javax.xml.parsers.<br />
DocumentBuilder;<br />
import javax.xml.parsers.DocumentBuilderFactory;<br />
<br />
import javax.xml.xpath.XPath;<br />
import javax.xml.xpath.XPathConstants;<br />
import javax.xml.xpath.XPathExpression;<br />
import javax.xml.xpath.XPathFactory;<br />
<br />
import org.w3c.dom.Document;<br />
import org.w3c.dom.Node;<br />
<br />
import org.w3c.dom.NodeList;<br />
<br />
<br />
Exception:<br />
Exception in thread &quot;main&quot; javax.xml.transform.TransformerException: Could not find function: if<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.error(XPathParser.java:602)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.FunctionCall(XPathParser.java:1449)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.PrimaryExpr(XPathParser.java:1388)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.FilterExpr(XPathParser.java:1287)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.PathExpr(XPathParser.java:1220)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.UnionExpr(XPathParser.java:1178)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.UnaryExpr(XPathParser.java:1084)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1005)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.AdditiveExpr(XPathParser.java:947)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.RelationalExpr(XPathParser.java:872)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.EqualityExpr(XPathParser.java:812)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.AndExpr(XPathParser.java:776)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.OrExpr(XPathParser.java:749)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.Expr(XPathParser.java:732)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.initXPath(XPathParser.java:125)<br />
    at com.sun.org.apache.xpath.internal.XPath.&lt;init&gt;(XPath.java:162)<br />
<br />
    at com.sun.org.apache.xpath.internal.XPath.&lt;init&gt;(XPath.java:198)<br />
    at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.compile(XPathImpl.java:394)<br />
    at demo.hw.client.XPathTest.xpathTest(XPathTest.java:35)<br />
<br />
    at demo.hw.client.XPathTest.main(XPathTest.java:64)<br />
--------------- linked to ------------------<br />
javax.xml.xpath.XPathExpressionException<br />
    at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.compile(XPathImpl.java:402)<br />
<br />
    at demo.hw.client.XPathTest.xpathTest(XPathTest.java:35)<br />
    at demo.hw.client.XPathTest.main(XPathTest.java:64)<br />
Caused by: javax.xml.transform.TransformerException: Could not find function: if<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.error(XPathParser.java:602)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.FunctionCall(XPathParser.java:1449)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.PrimaryExpr(XPathParser.java:1388)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.FilterExpr(XPathParser.java:1287)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.PathExpr(XPathParser.java:1220)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.UnionExpr(XPathParser.java:1178)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.UnaryExpr(XPathParser.java:1084)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1005)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.AdditiveExpr(XPathParser.java:947)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.RelationalExpr(XPathParser.java:872)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.EqualityExpr(XPathParser.java:812)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.AndExpr(XPathParser.java:776)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.OrExpr(XPathParser.java:749)<br />
<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.Expr(XPathParser.java:732)<br />
    at com.sun.org.apache.xpath.internal.compiler.XPathParser.initXPath(XPathParser.java:125)<br />
    at com.sun.org.apache.xpath.internal.XPath.&lt;init&gt;(XPath.java:162)<br />
<br />
    at com.sun.org.apache.xpath.internal.XPath.&lt;init&gt;(XPath.java:198)<br />
    at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.compile(XPathImpl.java:394)<br />
    ... 2 more<br />
<br />
<br />
Thanks<br />
Sri</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>sriasarch</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread212065.html</guid>
		</item>
		<item>
			<title>Basic xpath question..</title>
			<link>http://www.daniweb.com/forums/thread211108.html</link>
			<pubDate>Thu, 13 Aug 2009 01:30:11 GMT</pubDate>
			<description><![CDATA[I'm new to xpath.. probably very simple, but I haven't been able to figure it out.  I'm working with the following xml structure: 
 
<item dateExpires="0" doNotPublish="0" manufacturer="" productDetailURL="" id="BKIT1009"  type="2"> 
    <pricing price="29.99" retailMarkup="0" retailPrice="0"...]]></description>
			<content:encoded><![CDATA[<div>I'm new to xpath.. probably very simple, but I haven't been able to figure it out.  I'm working with the following xml structure:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;item dateExpires=&quot;0&quot; doNotPublish=&quot;0&quot; manufacturer=&quot;&quot; productDetailURL=&quot;&quot; id=&quot;BKIT1009&quot;&nbsp; type=&quot;2&quot;&gt;<br />
&nbsp; &nbsp; &lt;pricing price=&quot;29.99&quot; retailMarkup=&quot;0&quot; retailPrice=&quot;0&quot; saleMarkDown=&quot;0&quot; salePrice=&quot;0&quot; saleType=&quot;0&quot; stockPrice=&quot;29.99&quot; taxableNational=&quot;1&quot; taxableRegional=&quot;1&quot;/&gt;<br />
&nbsp; &nbsp; &lt;/availability&gt;<br />
&nbsp; &nbsp; &lt;accessoryGroup&gt;misc&lt;/accessoryGroup&gt;<br />
&nbsp; &nbsp; &lt;name&gt;2 Piece Kit&lt;/name&gt;<br />
&nbsp; &nbsp; &lt;briefDescription&gt;2 Piece Kit&lt;/briefDescription&gt;<br />
&nbsp; &nbsp; &lt;description&gt;2 Piece Kit&lt;/description&gt;<br />
&nbsp; &nbsp; &lt;invoiceDescription&gt;2 Piece Kit&lt;/invoiceDescription&gt;<br />
&nbsp; &nbsp; &lt;moreDetailLink&gt;&lt;/moreDetailLink&gt;<br />
&nbsp; &nbsp; &lt;downloadStorage&gt;&lt;/downloadStorage&gt;<br />
&nbsp; &lt;/item&gt;</pre><br />
Now, I accessed this item from a list of items with xpath using the unique id and the nodeValue for &lt;name&gt; and &lt;accessoryGroup&gt;:<br />
<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $feed = new DomDocument;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $feed-&gt;load('telusAccessories.xml');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $xpath = new DOMXPath($feed);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if (count($accessories) &gt; 1)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  print &quot;&lt;strong&gt;Accessories:&lt;/strong&gt;&lt;br /&gt;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach( $accessories as $ID )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $includes = $xpath-&gt;query(&quot;/accessories/item[@sku='&quot;.$ID.&quot;']/accessoryGroup&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if (!($includes-&gt;item(0)-&gt;nodeValue)==&quot;&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print $includes-&gt;item(0)-&gt;nodeValue.&quot;: &quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $includes = $xpath-&gt;query(&quot;/accessories/item[@sku='&quot;.$ID.&quot;']/name&quot;);&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!($includes-&gt;item(0)-&gt;nodeValue)==&quot;&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print $includes-&gt;item(0)-&gt;nodeValue.&quot;&lt;br /&gt;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print &quot;No accessories for selected item.&quot;;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</pre><br />
The above code works fine, but when I try to get the attribute &quot;price&quot; from the child &lt;pricing...&gt;,  I have a problem. I know it's probably something very simple, given the simplicity of xpath... but I'm retarded and i don't feel like ripping any more hair out. Below is the code that's not working:<br />
<br />
 <pre style="margin:20px; line-height:13px">$includes = $xpath-&gt;query(&quot;/accessories/item[@sku='&quot;.$ID.&quot;']/pricing[@price]&quot;);<br />
print $includes-&gt;item(0)-&gt;nodeValue;</pre><br />
Thanks in advance,<br />
<br />
Yitzhak</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>yitzhak</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211108.html</guid>
		</item>
		<item>
			<title>.xml formatting help please</title>
			<link>http://www.daniweb.com/forums/thread210684.html</link>
			<pubDate>Tue, 11 Aug 2009 10:53:53 GMT</pubDate>
			<description><![CDATA[I have created a program using vb.net which use xml database.  On the output form I need to display the text as formatted like bold letter, italics, etc. Can it be done. 
 
My .xml file is as below : 
 
<?xml version="1.0" encoding="utf-16"?> 
<List> 
   <File Thumal="jukebox"...]]></description>
			<content:encoded><![CDATA[<div>I have created a program using vb.net which use xml database.  On the output form I need to display the text as formatted like bold letter, italics, etc. Can it be done.<br />
<br />
My .xml file is as below :<br />
<br />
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;<br />
&lt;List&gt;<br />
   &lt;File Thumal=&quot;jukebox&quot; zia=&quot;jukebox&amp;#xD;&amp;#xA;Thingremi&quot; /&gt;<br />
   &lt;File Thumal=&quot;sekibuhchhuak&quot; zia=&quot;sekibuhchhuak&amp;#xD;&amp;#xA;thil mak dang lam tak siam chhuak thei, chhurbura hunlai ami ni awm tak ani.&amp;#xD;&amp;#xA;Chutiang tak chuan anih hmel e.&quot; /&gt;<br />
&lt;/List&gt;<br />
&amp;#xD;&amp;#xA;   - this character gives a newline, but I also need to display my characters/words as bold, italics, etc. Is there anything I can do to display them as I desired.<br />
Any suggestion would be highly appreciated.<br />
<br />
Thank you.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum134.html">XML, XSLT and XPATH</category>
			<dc:creator>zela</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread210684.html</guid>
		</item>
	</channel>
</rss>
