Subject: [xsl] Select issue with some attr and others not. From: "John Hamman" <John@xxxxxxxxxxxxxxxxx> Date: Fri, 16 Apr 2004 12:14:22 -0400 |
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 Prsximos 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 Mixico</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 Mixico hoy para un viaje a corto plazo de la misisn. ]]></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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] how i can use 'table' in , Andreas L. Delmelle | Thread | Re: [xsl] Select issue with some at, David Carlisle |
[xsl] XML to Table, Veronica Sanchez | Date | Re: [xsl] XML to Table, David Carlisle |
Month |