[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Streaming Transformations for XML
| -----Original Message----- | From: Michael Brennan [mailto:Michael_Brennan@A...] | Reproducing XSLTs "default template" behavior is not always a | good thing. | I've always felt that I'd love to have something XSLT-like, | but which I can | exercise more explicit control over default behaviors. For | instance, if you | wanted to use an XSLT-like mechanism for implementing a web | service (rather | than a straight RPC binding), then you certainly don't want a default | template behavior that just copies text nodes to output. Absolutely. But things like a default behavior can save you from endless typing; just imagine XSLT without them. All I want to say is, it would be a good thing to have default behaviors and just turn them on or off. A mechanism for one to define his own default behaviors would be even better; I think this feature will be relatively easy to build since all you will need is "pattern matching" on SAX streams, which is the basic idea anyway. Actually, the nature of STX(?) may well *not* distinguish between such a thing and a pattern of your making, just think of it in a predefined pattern in the implementation that you can flag on or off. A more complex thing to deal with will be axis related stuff as the system will have to remember appropriate events according to desirable patterns... Kindest regards, Manos
|
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
|