OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Streaming Transformations for XML

[ Lists Home | Date Index | Thread Index ]



| -----Original Message-----
| From: Michael Brennan [mailto:Michael_Brennan@Allegis.com] 

| 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS