If your image is not square:


Choose View &gt; New Guide then tick the Vertical option and enter
50% in the box and click OK.
Choose View &gt; New Guide then tick the Horizontal option and
enter 50% in the box and click OK.


This provides a guide intersection at the image center.


Grab the Marquee Selection Tool or the Crop Tool, hold down the
Option/Alt and Shift key and click-drag
starting at that center guide intersection.


This draws a square selection (crop area) at the center of the image.


Then simply choose Image &gt; Crop, or hit the Enter to commit the crop (if using the crop tool)




If the image itself is square...


Choose Select &gt; All from the menu.
Then choose Select &gt; Modify &gt; Contract
Tick the Apply effect from Canvas Bounds box and enter the amount
of offset, from the canvas edge, you want and click OK.
Then simply choose Image &gt; Crop




For versions of Photoshop where "contract" may not be available after selecting all, use the first method.

How to crop a square at the exact centre of an image in Photoshop?
I know that in BizTalk maps, you can perserve processing instructions. However, the source XML that I will have will not have any processing instructions. However, I will need to create a processing instruction for the Target XML. I know I can write a custom XSLT to do this, however I would like to avoid that as I have the BizTalk map complete except for this. 

Can I create processing instructions on the Target XML using only the available functoids in the BizTalk mapper?
