Hello all,
Forgive me, im new at xsl but I have a xml file like below
<List id="someListid">
<Title lang="en-US">Upcoming Impact Events</Title>
<Title lang="es-ES">Acontecimientos Próximos Del
Impact</Title>
<Item publishdate="04/02/2004">
<Title lang="en-US">IMPACT goes to Mexico</Title>
<Title lang="es-ES">El IMPACT va a México</Title>
<near
resource="/Base/Impact_Events/Impact-goes-to-Mexico"/>
<Description lang="en-US"><![CDATA[IMPACT goes to
Mexico today for a short term mission trip. ]]></Description>
<Description lang="es-ES"><![CDATA[El IMPACT va a
México hoy para un viaje a corto plazo de la misión. ]]></Description>
</Item>
<Item publishdate="01/02/2004">
<Title lang="en-US">IMPACT visits iThink Designs,
Inc.</Title>
<Title lang="es-ES">El IMPACTvisita los iThink
Designs, Inc.</Title>
<far resource="http://www.ithinkdesigns.com/"/>
<Description lang="en-US"><![CDATA[IMPACT goes to
see John Hamman,president of iThink Designs, Inc., to thank him for an
excellent Site! ]]></Description>
<Description lang="es-ES"><![CDATA[¡El IMPACT va a
ver a John Hamman, presidente de los iThink Designs, inc., para agradecerlo
por un sitio excelente!]]></Description>
</Item>
</List>
AND I want to pull back this result with xsl (depeding on the language.)
<List id="someListid">
<Title lang="en-US">Upcoming Impact Events</Title>
<Item publishdate="04/02/2004">
<Title lang="en-US">IMPACT goes to Mexico</Title>
<near
resourse="/Base/Impact_Events/Impact-goes-to-Mexico"/>
<Description lang="en-US"><![CDATA[IMPACT goes to
Mexico today for a short term mission trip. ]]></Description>
</Item>
<Item publishdate="01/02/2004">
<Title lang="en-US">IMPACT visits iThink Designs,
Inc.</Title>
<far resourse="http://www.ithinkdesigns.com/"/>
<Description lang="en-US"><![CDATA[IMPACT goes to
see John Hamman,president of iThink Designs, Inc., to thank him for an
excellent Site! ]]></Description>
</Item>
</List>
But im not sure how to do it or where to start! I think what throws me off
is the <near> and <far> tags.
john