[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Newbie to XSLT
--Original Message Text--- >From my basic knowledge of XSLT, I felt that doing this using a stylesheet would not be possible. So I was thinking of using the DOM tree and using XPath to do this. -- I'd do it this way: apply-templates, filtering out only association type nodes (or even associations conatining john, if you want that). Then, within the template for the association, use an apply-templates with mode="lookup" and have appropriate templates for that mode. BTW, you really should have <location> and <association> instead of (anonymous) <instance>s. Makes things easier. Ciao, Jürgen -- Jürgen Hermann (jhe@xxxxxxxxxxx) WEB.DE AG, Amalienbadstr.41, D-76227 Karlsruhe Tel.: 0721/94329-0, Fax: 0721/94329-22 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|