<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>PeopleSoft Tipster &#187; XML Publisher</title>
	<atom:link href="http://peoplesofttipster.com/category/xml-publisher/feed/" rel="self" type="application/rss+xml" />
	<link>http://peoplesofttipster.com</link>
	<description>A PeopleSoft Tips and Tricks Blog</description>
	<lastBuildDate>Wed, 25 Jan 2012 23:44:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='peoplesofttipster.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>PeopleSoft Tipster &#187; XML Publisher</title>
		<link>http://peoplesofttipster.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://peoplesofttipster.com/osd.xml" title="PeopleSoft Tipster" />
	<atom:link rel='hub' href='http://peoplesofttipster.com/?pushpress=hub'/>
		<item>
		<title>Using Excel as a datasource</title>
		<link>http://peoplesofttipster.com/2008/05/19/using-excel-as-a-datasource/</link>
		<comments>http://peoplesofttipster.com/2008/05/19/using-excel-as-a-datasource/#comments</comments>
		<pubDate>Mon, 19 May 2008 16:39:43 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[XML Publisher]]></category>

		<guid isPermaLink="false">http://duncandavies.wordpress.com/?p=97</guid>
		<description><![CDATA[This post is from a coupl of months ago, but I don&#8217;t know how I missed it.  Tim Dexter discusses how to use an Excel spreadsheet as a data-source. http://blogs.oracle.com/xmlpublisher/2007/03/13#a192 This has the potential to be quite useful as clients frequently ask for some kind of Excel output which they then update &#8216;offline&#8217; (i.e. disconnected [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=97&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is from a coupl of months ago, but I don&#8217;t know how I missed it.  Tim Dexter discusses how to use an Excel spreadsheet as a data-source.</p>
<p><a href="http://blogs.oracle.com/xmlpublisher/2007/03/13#a192" target="_blank">http://blogs.oracle.com/xmlpublisher/2007/03/13#a192</a></p>
<p>This has the potential to be quite useful as clients frequently ask for some kind of Excel output which they then update &#8216;offline&#8217; (i.e. disconnected from PeopleSoft) and then need a method of reloading the updates back into PeopleSoft.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/97/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/97/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=97&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2008/05/19/using-excel-as-a-datasource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>
	</item>
		<item>
		<title>Xls XMLP Output opens in Browser &#8211; Workaround</title>
		<link>http://peoplesofttipster.com/2008/04/18/xls-xmlp-output-opens-in-browser-workaround/</link>
		<comments>http://peoplesofttipster.com/2008/04/18/xls-xmlp-output-opens-in-browser-workaround/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 11:03:26 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[XML Publisher]]></category>

		<guid isPermaLink="false">http://duncandavies.wordpress.com/?p=93</guid>
		<description><![CDATA[There is a potential workaround for the issue detailed here, but it&#8217;s far from a graceful solution. Perhaps someone out there can suggest a more elegant implementation of the workaround. Almost by accident while troubleshooting this issue I discovered that if I took the output text file (which incorrectly opens in the browser) within the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=93&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is a potential workaround for the issue detailed <a href="http://peoplesofttipster.com/2008/04/16/xls-xmlp-output-opening-in-browser-not-excel/" target="_self">here</a>, but it&#8217;s far from a graceful solution.  Perhaps someone out there can suggest a more elegant implementation of the workaround.</p>
<p>Almost by accident while troubleshooting this issue I discovered that if I took the output text file (which incorrectly opens in the browser) within the Report Repository and editted it, then tried to open it again it would open in Excel.  Strange!  It seemed to make no difference what change I made &#8211; or even if I reversed out a previous change &#8211; all that mattered was that I&#8217;d editted it.  Furthermore it only worked if I editted it with certain tools.</p>
<p>The upshot was that when you edit a text file using Windows Notepad it inserts an invisible non-printing character at the start called a BOM (Byte Order Mark).  This is all related to whether the format is ANSI, or UTF-8 etc.  Using a fuller-featured editor (I used Notepad++, see the Applications tab above for more) I toggled whether the BOM is present or not and this affected whether the file opened in Excel or a browser.  Further testing seemed to show that it didn&#8217;t have to be a BOM character, as long as I didn&#8217;t interfere with the tags or their data content this workaround still worked.<br />
<a href="http://duncandavies.files.wordpress.com/2008/04/xmlp_bom.jpg"><img class="alignnone size-full wp-image-94" src="http://duncandavies.files.wordpress.com/2008/04/xmlp_bom.jpg?w=460" alt=""   /></a><br />
Now although I have a method, I can&#8217;t decide the best method of implementing it.  The method I use at the moment is after the file is generated &#8211; but before it is published &#8211; I insert the character.  Using PeopleCode the only method I can think of to achieve this is to create a new text file, insert the character to ensure Excel output, then copy in the contents of the original output file.  The only alternatives I can think of involve external calls from PeopleCode.</p>
<p>Any smarter ideas?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/93/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/93/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=93&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2008/04/18/xls-xmlp-output-opens-in-browser-workaround/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2008/04/xmlp_bom.jpg" medium="image" />
	</item>
		<item>
		<title>The Future for XMLP</title>
		<link>http://peoplesofttipster.com/2008/04/17/the-future-for-xmlp/</link>
		<comments>http://peoplesofttipster.com/2008/04/17/the-future-for-xmlp/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 22:29:56 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[XML Publisher]]></category>

		<guid isPermaLink="false">http://duncandavies.wordpress.com/?p=92</guid>
		<description><![CDATA[Tim Dexter&#8217;s presentation on XML Publisher at Collaborate&#8217;08 gives us an insight into what lies ahead for XMLP. The first portion of the presentation is more of an introduction so will be familiar to many of you, from slide 32 onwards however it got more interesting. XBRL Publisher? Excel Templates (finally!) Master Templating (like the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=92&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tim Dexter&#8217;s presentation on XML Publisher at Collaborate&#8217;08 gives us an insight into what lies ahead for XMLP.</p>
<p>The first portion of the presentation is more of an introduction so will be familiar to many of you, from slide 32 onwards however it got more interesting.</p>
<ul>
<li>XBRL Publisher?</li>
<li>Excel Templates (finally!)</li>
<li>Master Templating (like the slide master in Powerpoint, or CSS in HTML)</li>
</ul>
<p>The presentation can be found on Tim&#8217;s post here:</p>
<p><a href="http://blogs.oracle.com/xmlpublisher/2008/04/17#a930" target="_blank">http://blogs.oracle.com/xmlpublisher/2008/04/17#a930</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/92/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/92/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=92&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2008/04/17/the-future-for-xmlp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>
	</item>
		<item>
		<title>Xls XMLP Output opening in Browser, not Excel</title>
		<link>http://peoplesofttipster.com/2008/04/16/xls-xmlp-output-opening-in-browser-not-excel/</link>
		<comments>http://peoplesofttipster.com/2008/04/16/xls-xmlp-output-opening-in-browser-not-excel/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 22:26:15 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[XML Publisher]]></category>

		<guid isPermaLink="false">http://duncandavies.wordpress.com/?p=91</guid>
		<description><![CDATA[I have an issue that I wouldn&#8217;t have thought I&#8217;m the first to encounter, but I can&#8217;t see any record online of others discussing it. The problem is as follows: I&#8217;ve written an XML Publisher report that outputs an Excel file. When I open the output from within Report Manager it opens the file in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=91&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have an issue that I wouldn&#8217;t have thought I&#8217;m the first to encounter, but I can&#8217;t see any record online of others discussing it.  The problem is as follows:</p>
<p>I&#8217;ve written an XML Publisher report that outputs an Excel file.  When I open the output from within Report Manager it opens the file in the browser, when I want it opening in Excel.</p>
<p>I&#8217;m aware that XMLP doesn&#8217;t output binary .XLS files, but what&#8217;s described as Excel(HTML) &#8211; which is basically a text file containing HTML that can be read and rendered as a spreadsheet when opened with Excel.  The file in the report repository has an xls extension, and the Report Manager Hyperlink points to the right place.  If &#8211; instead of opening the file &#8211; I save it locally then open it with Excel it renders perfectly.</p>
<p>Also, if I change the output to RTF instead of XLS then it opens in Word correctly.  It&#8217;s also not a template issue as if I preview the output from within the XMLP Report Definition it opens in Excel.  This happens on more than one client PC, and in different browsers so it doesn&#8217;t look like it&#8217;s a local machine configuration issue.</p>
<p>If I place the output xls file on the web server and create a hyperlink on a PIA page it works fine.  However if I repoint the hyperlink to the same output file in the report repository it doesn&#8217;t work &#8211; so it seems as though the psreports servlet might be the issue.  If I use a tool to examine the HTTP Header for each of these requests I can see that the Mime Type is set to &#8220;Application/MSExcel&#8221; for a PIA page hyperlink (which works), and &#8220;text/html&#8221; for the same file from the Report Repository.  The mime types are set correctly (by default) in the Web Server profile, but I can&#8217;t see anywhere to set the mime-types for psreports.</p>
<p>I&#8217;ve been in dialogue with GSC for the last 6 weeks or so, but they say that it isn&#8217;t a misconfiguration or bug, but a &#8216;&#8221;potential future development with a status of &#8216;Awaiting review&#8217;.&#8221;  The case id is:</p>
<p>1750412000 &#8211; &#8220;8.50: Support MHTML Excel format in XML Publisher&#8221;.</p>
<p>It seems Oracle eBiz suite has the same issue, but they can fix it with a configuration change.</p>
<p>I do have a workaround (not a solution) for this &#8211; posted <a href="http://peoplesofttipster.com/2008/04/18/xls-xmlp-output-opens-in-browser-workaround/" target="_self">here</a> &#8211; but has anyone else faced this issue?  And if so, how have you dealt with it?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/91/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/91/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=91&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2008/04/16/xls-xmlp-output-opening-in-browser-not-excel/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>
	</item>
		<item>
		<title>Multi Rowset Output from Query for XMLP</title>
		<link>http://peoplesofttipster.com/2008/01/15/multi-rowset-output-from-query-for-xmlp/</link>
		<comments>http://peoplesofttipster.com/2008/01/15/multi-rowset-output-from-query-for-xmlp/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 10:55:28 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[XML Publisher]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/2008/01/15/multi-rowset-output-from-query-for-xmlp/</guid>
		<description><![CDATA[One of the issues with using PSQuery to generate the XML for an XMLP report is that you can only get a single rowset from a query, meaning your report had to be fairly simple. In the past, for more complex reports I&#8217;ve just created an App Engine instead as it gives me greater control [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=71&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the issues with using PSQuery to generate the XML for an XMLP report is that you can only get a single rowset from a query, meaning your report had to be fairly simple.  In the past, for more complex reports I&#8217;ve just created an App Engine instead as it gives me greater control over the XML generated.</p>
<p>Another method exists however &#8230;</p>
<p><span id="more-71"></span>and that is to create a query containing a union.  This way you can have your seperate rowsets either side of the union, and just add a field at the beginning to enable the template to ascertain which section of the rowset it is dealing with &#8211; I refer to this field below as &#8216;section field&#8217;.  (You may also have to pad each side with some empty fields to ensure that the columns in both sections match up.)</p>
<p>Once you have your data outputting, your template can now be designed.  Lay out the content, and where you want to display only data from a particular half of your rowset, wrap it in a &#8216;for-each-group&#8217; with a criteria specifying your section type:</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">&lt;?for-each-group:row[&lt;section_field&gt;='&lt;value&gt;'];<br />
./&lt;section_field&gt;?&gt;</span></code></p>
<p>for example, mine was:</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">&lt;?for-each-group:row[A.EP_SECTION_TYPE='Section'];<br />
./A.EP_SECTION_TYPE?&gt;</span></code></p>
<p>and add a corresponding &#8216;&lt;?end for-each-group?&gt;&#8217; after your content.</p>
<p>Before you can preview effectively you may have to edit the sample XML a little as the sample data generated by Query isn&#8217;t that good.  You&#8217;ll probably want to manually edit it so that you get at least one row from each side of your union coming through.</p>
<p>You can of course expand this further and have many more than 2 sections split by a single union.  You can have as many unions as you like, although this will make the Query a little unwieldy (alternatively place all your SQL into a single view and base your query on that).</p>
<p>Finally, I had a problem with one of my reports that I needed to union together when the sql contained Long fields.  As I&#8217;m sure you&#8217;re aware, union statements don&#8217;t work with long fields, you have to use a UNION ALL, and PSQuery doesn&#8217;t &#8211; as far as I could find &#8211; allow a way of incorporating a UNION ALL.  In the end I had to create a View containing the UNION ALL to base my query upon.</p>
<p>If you have problems getting your XMLP reports to work, I&#8217;ve found this is the best place to ask:<br />
<a href="http://forums.oracle.com/forums/forum.jspa?forumID=245&amp;start=0" target="_blank">http://forums.oracle.com/forums/forum.jspa?forumID=245&amp;start=0</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/71/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/71/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=71&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2008/01/15/multi-rowset-output-from-query-for-xmlp/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>
	</item>
		<item>
		<title>XMLP and Checkboxes in PDFs</title>
		<link>http://peoplesofttipster.com/2008/01/02/xmlp-and-checkboxes-in-pdfs/</link>
		<comments>http://peoplesofttipster.com/2008/01/02/xmlp-and-checkboxes-in-pdfs/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 16:04:27 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[XML Publisher]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/2008/01/02/xmlp-and-checkboxes-in-pdfs/</guid>
		<description><![CDATA[I’ve been having problems getting checkboxes to print correctly when creating PDFs using XMLP. I was faced with tiny little diamonds like those on the left here, when I was expecting &#8216;standard&#8217; checkboxes like those on the right: It turns out that the XML Publisher default PDF output font does not include a glyph to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=65&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’ve been having problems getting checkboxes to print correctly when creating PDFs using XMLP.  I was faced with tiny little diamonds like those on the left here, when I was expecting &#8216;standard&#8217; checkboxes like those on the right:</p>
<div style="text-align:center;"><img src="http://duncandavies.files.wordpress.com/2008/01/checkboxes2.jpg?w=460" alt="Checkboxes" /></div>
<p>It turns out that the XML Publisher default PDF output font does not include a glyph to represent a checkbox and this is an issue faced by one or two Oracle people already (Tim Dexter has written about it <a href="http://blogs.oracle.com/xmlpublisher/2007/05/22" target="_blank">here</a>).  I thought I add a quick write-up as I’m tackling the issue from a PeopleSoft perspective.<br />
<span id="more-65"></span><br />
<h4>Recap</h4>
<p>Firstly, a quick recap for those who haven’t used checkboxes before in XMLP.  You output your XML in the usual fashion and for your checkbox have the process spit out a single field (in most cases I’d guess this would be a ‘Y’ or ‘N’ value, but I’ve used it a couple of times where you have 5 or 6 checkboxes depending upon a single value).  Then, from within Word, open the Form toolbar and insert as many checkboxes as you need.  Go into the properties of your checkbox, press the ‘Add Help Text’ button and choose ‘Type your own’.  In the freetext field enter:</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">&lt;?fld_YES_NO1='Y'?&gt;</span></code></p>
<p>replacing the ‘fld_YES_NO1’ with the name of the XML element/field you’re basing it’s state on and the Y with the value you wish the box to be checked for.</p>
<p>Now if you print this, there’s a good chance you&#8217;ll get the small diamonds I had instead of the ‘standard’ checkboxes we’re all used to.</p>
<h4>So, how to fix it?</h4>
<p>First, have a look through the symbols found under “insert symbol” in Word and choose the checked and unchecked symbols that you want to use.  Make a note of the font and character code.  Wingdings 168, 253 and 254, plus Wingdings2 81-84 and 163 are a good place to start.</p>
<h4>What I couldn’t get to work</h4>
<p>The documentation seems to suggest that you can update xdo.cfg to specify the settings for all domains and XMLP reports.  Using Notepad, create an xdo.cfg file.  You can find a full description of the contents in Chapter 10 of the <a href="http://www.oracle.com/technology/products/xml-publisher/docs/XMLPEnterprise562UserGuide.pdf" target="_blank">user guide</a> but the file I used was thus (with the bits you’ll need to change in red):</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">&lt;config version=&quot;1.0.0&quot; xmlns=&quot;http://xmlns.oracle.com/oxp/config/&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;properties&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name=&quot;rtf-checkbox-glyph&quot;&gt;<span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#ff0000;">Wingdings2;84;163</span>&lt;/property&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;/properties&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;fonts&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;font family=&quot;<span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#ff0000;">Wingdings2</span>&quot; style=&quot;normal&quot; weight=&quot;normal&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;truetype path=&quot;<span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#ff0000;">c:\windows\fonts\wingdng2.ttf</span>&quot;/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/font&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;/fonts&gt;<br />
&lt;/config&gt;</span></code></p>
<p>The first red section contains the font name, the checked character code and the unchecked character code.  Place this file under:<br />
C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\config\ (or wherever you installed XMLP)</p>
<p>Now go and preview your document from within Word.  If you’ve got the above correct you should see your desired checkboxes.</p>
<h4>Testing in the PIA</h4>
<p>If you have a data source and report definition set up already, you can upload your template and place the xdo.cfg file in the &lt;ps_home&gt;\appserv directory.  You don’t need to reboot the App Servers when you update this file.  You can then use the preview from within Report Definition &gt; Template tab to view the results.  Your checkboxes should also be correct at this point, if not, check your template and xdo.cfg file.</p>
<h4>Now, how do we get these on the Process Scheduler?</h4>
<p>The documentation suggests that it’ll just work from here without changes to the contents or location of the xdo.cfg file.  Unfortunately running the report within the Process Scheduler still returned the wrong checkboxes.</p>
<h4>Workaround</h4>
<p>The workaround that I used was to specify the desired settings on a per document basis.</p>
<p>Go into the template document properties within Word and then the custom tab.  Enter the following two settings:</p>
<p><b>Name:</b> xdo-font.&lt;fontname&gt;.normal.normal<br />
<b> Type:</b> Text<br />
<b> Value:</b> truetype.&lt;path to font file&gt;<br />
<b> Example:</b> truetype./appl/psoft/pshcm/WINGDNG2.TTF</p>
<p><b>Name:</b> rtf-checkbox-glyph<br />
<b> Type:</b> Text<br />
<b> Value:</b> &lt;font_name&gt;;&lt;checked symbol&gt;;&lt;unchecked symbol&gt;<br />
<b> Example:</b> Wingdings 2;84;163</p>
<p>The font name can be anything you like, it doesn’t have to be the name of the actual font you are using.  Just make sure that the fontnames in the two properties match.</p>
<p>This worked in both the preview from the XMLP Report Definition and via the Process Scheduler.  The only downsides are you’d have to apply these properties to each report that you need to use checkboxes in, and if you need to move your fonts then you’ll have to update every report that contains it.</p>
<h4>Useful Documentation</h4>
<p>The XMLP for PeopleSoft PeopleBook (in PDF format) and the Oracle XML Publisher Core Components Guide can be found <a href="http://www.oracle.com/technology/documentation/psftent.html" target="_blank">here</a>.</p>
<p>Find the Tools library that matches the version you’re using, and drill into that to find the individual guides.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/65/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/65/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=65&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2008/01/02/xmlp-and-checkboxes-in-pdfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2008/01/checkboxes2.jpg" medium="image">
			<media:title type="html">Checkboxes</media:title>
		</media:content>
	</item>
		<item>
		<title>XML Publisher and Out of Memory Errors</title>
		<link>http://peoplesofttipster.com/2007/10/30/xml-publisher-and-out-of-memory-errors/</link>
		<comments>http://peoplesofttipster.com/2007/10/30/xml-publisher-and-out-of-memory-errors/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 10:45:16 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[XML Publisher]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/2007/10/30/xml-publisher-and-out-of-memory-errors/</guid>
		<description><![CDATA[I&#8217;m getting a lot of comments on the XML Publisher posts about &#8216;Out of Memory&#8217; errors. I&#8217;ve not experienced this myself so can&#8217;t give a fix or workaround, but wondered whether anyone else had hit this issue and found a resolution? Doing a bit of digging there are a number of suggestions, none of them [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=45&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m getting a lot of comments on the XML Publisher posts about &#8216;Out of Memory&#8217; errors.  I&#8217;ve not experienced this myself so can&#8217;t give a fix or workaround, but wondered whether anyone else had hit this issue and found a resolution?</p>
<p>Doing a bit of digging there are a number of suggestions, none of them relate to the PeopleSoft implementation of XMLP however so I&#8217;m unconvinced by any solution in particular.</p>
<p>There&#8217;s a Tools patch out for this issue (8.48.06 and up contains the fix), so check your version of Tools:<br />
<a href="http://www.peoplesoft.com/psp/portprd/CUSTOMER/CRM/c/C1C_MENU.C1_SOLN_SUMMARY.GBL?page=C1_SOLN_SUMMARY&amp;SETID=SHARE&amp;SOLUTION_ID=201046967">http://www.peoplesoft.com/psp/portprd/CUSTOMER/CRM/c/C1C_MENU.C1_SOLN_SUMMARY.GBL?page=C1_SOLN_SUMMARY&amp;SETID=SHARE&amp;SOLUTION_ID=201046967</a></p>
<p>There&#8217;s a suggestion to change a parameter for XMLP (I guess this would be on the Process Defn or more likely the Process Type in PeopleSoft):<br />
<a href="http://forums.oracle.com/forums/thread.jspa?threadID=568832&amp;tstart=0&amp;messageID=2116283">http://forums.oracle.com/forums/thread.jspa?threadID=568832&amp;tstart=0&amp;messageID=2116283</a></p>
<p>There&#8217;s a suggestion to create a config file (it is not delivered) to specify a temporary directory for processing large files:<br />
<a href="http://asun.ifmo.ru/docs/XMLP/help/en_US/htmfiles/B25951_01/T421739T422152.htm">http://asun.ifmo.ru/docs/XMLP/help/en_US/htmfiles/B25951_01/T421739T422152.htm</a></p>
<p>And there&#8217;s also a suggestion that a patch will fix it:<br />
<a href="http://www.oracle.com/technology/products/xml-publisher/docs/AboutXMLP562.htm">http://www.oracle.com/technology/products/xml-publisher/docs/AboutXMLP562.htm</a></p>
<p>If I was troubleshooting it and was already on 8.48.06 or greater, I&#8217;d probably try the parameter followed by the config file.</p>
<p>If anyone has encountered this error and fixed it, it&#8217;d be great if you posted a comment to let us know the resolution.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=45&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2007/10/30/xml-publisher-and-out-of-memory-errors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>
	</item>
	</channel>
</rss>
