This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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@webde-ag.de)
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]