|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL Discussion
> First off, I've mentioned in the past that I think a simple separation of > the patterns and actions should happen, like: > <rule> > <pattern> > <target-element type="p"> > </pattern> > <action> > <DIV> > <children/> > </DIV> > </action> > </rule> > I agree. This makes it a lot easier to read the rules. The downside is that it makes XSL even more verbose than it already is. > Much of what I'm going to be talking about is based on this... > > Lets talk about the patterns for a bit. Maybe it's just a matter of > syntax, > but I would feel more comfortable writing something like: > <chapter> > <p type="introduction" xml:style="target"/> > </chapter> > This was considered and there are still supporters for this syntax. The argument against it is that it makes it impossible to write a DTD for XSL. In addition, the <chapter> and <p> are really being used out of context in the XSL document. > . > > > 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
|

Cart








