|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Help moving away from named templates
Thank you David and Abel for your patience and thank you for formulating (for me!) what part of my question actually is. You're right. There are structural differences between the customer XML and the customer's contacts XML. I apologize for being imprecise. Let's give a simplistic version of the two: Customer.xml
<Records>
<Record>
<id>6</id>
<firstName>Steve</firstName>
</Record>
</Records>eContacts.xml
<Records>
<Record>
<custID>6</custID>
<firstName>Mommy</firstName>
<relationship>Mother</relationship>
</Record>
</Records>Obviously, distinguishing between these two in XPath is not really difficult. But let's say there are 10 or 15 other pages about Customers which need to be displayed, each with some nuanced difference. I suppose I feared ending up with a tangled mess of templates which are potentially trying to chomp each other's input due to similarities. Maybe this problem is solved and indeed XPath will suffice. I'm open for comment on this one. I have other problems I'll bring up in the context of other replies. Thanks. -Steve On 5/2/07, David Carlisle <davidc@xxxxxxxxx> wrote:
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. 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
|







