Reemplazo de cadenas en varios archivos XML

Dado el siguiente archivo xml con el conocimiento de que la estructura y los contenidos pueden cambiar:

<something>
  <parent>
    <child>Bird is the word 1.</child>
    <child>Curd is the word 2.</child>
    <child>Nerd is the word 3.</child>
  </parent>
  <parent>
    <child>Bird is the word 4.</child>
    <child>Word is the word 5.</child>
    <child>Bird is the word 6.</child>
  </parent>
</something>

Me gustaría una forma de utilizar xquery (e incluso xslt) para reemplazar todas las instancias de una cadena suministrada con otra. Por ejemplo, reemplaza la palabra "Pájaro" por "Perro". Por lo tanto los resultados serían:

<something>
  <parent>
    <child>Dog is the word 1.</child>
    <child>Curd is the word 2.</child>
    <child>Nerd is the word 3.</child>
  </parent>
  <parent>
    <child>Dog is the word 4.</child>
    <child>Word is the word 5.</child>
    <child>Dog is the word 6.</child>
  </parent>
</something>

No tengo ni idea de si esto es posible. Cada intento que he hecho ha eliminado las etiquetas. Incluso he probado este ejemplo (http://geekswithblogs.net/Erik/archive/2008/04/01/120915.aspx), pero es para el texto no un documento completo.

¡Por favor ayuda!

ACTUALIZAR

Intenté correr con la sugerencia xslt 2.0 ya que parecía encajar mejor. Mientras intento modificarlo para mi caso, sigo saliendo seco.

Quiero pasar un parámetro xml para definir los reemplazos. Entonces, modificando el xslt de esta manera:

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output indent="yes"/>
  <xsl:strip-space elements="*"/>
  <xsl:param name="list">
<words>
  <word>
        <search>Bird</search>
    <replace>Dog</replace>
  </word>
      <word>
        <search>word</search>
    <replace>man</replace>
  </word>
</words>
  </xsl:param>


<xsl:template match="@*|*|comment()|processing-instruction()">
  <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
  </xsl:copy>
</xsl:template>

<xsl:template match="text()">
  <xsl:param name="chosen" select="." />
<xsl:for-each select="$list//word">
  <xsl:variable name="search"><xsl:value-of select="search" /></xsl:variable>
  <xsl:analyze-string select="$chosen" regex="{$search}">
    <xsl:matching-substring><xsl:value-of select="replace" /></xsl:matching-substring>
    <xsl:non-matching-substring><xsl:value-of select="$chosen"/></xsl:non-matching-substring>
  </xsl:analyze-string>
</xsl:for-each>
  </xsl:template>
</xsl:stylesheet>

Los resultados son:

<something>
  <parent>
    <child>Bird is the word 1.Bird is the word 1.</child>
    <child>Curd is the word 2.Curd is the word 2.</child>
    <child>Nerd is the word 3.Nerd is the word 3.</child>
  </parent>
  <parent>
    <child>Bird is the word 4.Bird is the word 4.</child>
    <child>Word is the word 5.Word is the word 5.</child>
    <child>Bird is the word 6.Bird is the word 6.</child>
  </parent>
</something>

No hace falta decirlo, pero no quiero que sea duplicado y también incorrecto.

¡Por favor ayuda!

Respuestas a la pregunta(4)

Su respuesta a la pregunta