[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Select issue with some attr and others not.
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|