<?xml version='1.0' ?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:a="http://sopac.ucsd.edu/ns/geodesy/reason/procInput/offsets/2005/07"
	xmlns:date="http://exslt.org/dates-and-times"
	extension-element-prefixes="date">
	<xsl:output method="text"/>
	<xsl:template match="/">
		<xsl:for-each select="a:siteOffsets/a:offset/a:offsetComponentMagnitude">
			<theRoot>
				<siteID>
					<xsl:value-of select="../a:fourCharacterID"/>
				</siteID>
				<xsl:text>&#32;</xsl:text>
				<thedate>
					<xsl:value-of select="date:year(../a:date)"/>
					<xsl:text>&#32;</xsl:text>
					<xsl:value-of select="format-number(date:day-in-year(../a:date),'000')"/>
				</thedate>
				<xsl:text>&#32;</xsl:text>
				<direction>
					<xsl:value-of select="a:directionalComponent"/>
				</direction>
				<xsl:text>&#32;</xsl:text>
				<magnitude>
					<xsl:value-of select="a:magnitude"/>
				</magnitude>
				<xsl:text>&#32;</xsl:text>
				<cause>
					<xsl:value-of select="../a:cause"/>
				</cause>
			</theRoot>
			<xsl:text>&#13;
</xsl:text>
		</xsl:for-each>
	</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2005. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Untitled" userelativepaths="yes" externalpreview="no" url="siteOffsets.xml" htmlbaseurl="" outputurl="" processortype="internal" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition><template match="/"><block path="xsl:for&#x2D;each" x="179" y="90"/></template></MapperBlockPosition></MapperMetaTag>
</metaInformation>
-->