<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pr="http://ivis.eps.gov.lv/XMLSchemas/100010/PopulationRegister/v1-0" version="1.0" exclude-result-prefixes="pr">
  <annotation xmlns="http://www.w3.org/2001/XMLSchema">
    <appinfo>
      <Metadata xmlns="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0">
        <Contributor CodeListCodeValue="100010">Pilsonības un migrācijas lietu pārvalde</Contributor>
        <Creator CodeListCodeValue="100010">Pilsonības un migrācijas lietu pārvalde</Creator>
        <Date>
          <Created>2007-07-18Z</Created>
          <Modified>2020-05-15Z</Modified>
        </Date>
        <Description>
          <Default>Personas statuss pēc personas koda</Default>
        </Description>
        <Format>
          <Default>text/xml</Default>
        </Format>
        <Identifier Scheme="URN">URN:IVIS:100001:XSD-PopulationRegister-PersonStatus-v1-0-XSLT-PerStatOut</Identifier>
        <Language>LV</Language>
        <Publisher CodeListCodeValue="100001">Valsts informācijas sistēmu savietotājs (VISS)</Publisher>
        <Status>
          <Default>PUBLISHED</Default>
          <Version>1.0</Version>
        </Status>
        <Subject>
          <Keyword>personas kods</Keyword>
        </Subject>
        <Title>
          <Default>PerStatOut</Default>
        </Title>
      </Metadata>
    </appinfo>
  </annotation>
  <xsl:output method="html" encoding="UTF-8" indent="no" />
  <xsl:template match="/">
    <xsl:text>Pēc Iedzīvotāju Reģistra datiem personas statuss ir </xsl:text>
    <b>
      <xsl:value-of select="//pr:PersonStatus/pr:PersonStatus" />
    </b>
  </xsl:template>
</xsl:stylesheet>