[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Pattern and Action Containers (was: XSL Discussion)

Subject: Re: Pattern and Action Containers (was: XSL Discussion)
From: Sean Mc Grath <digitome@xxxxxx>
Date: Mon, 23 Feb 1998 12:01:10 GMT
action containers
>Jeremie Miller writes:
>
> > 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>
> > Much of what I'm going to be talking about is based on this...

[Dave Meginnson]
>
>Absolutely correct -- it is a basic principle of good document type
>design that a series of related elements should appear within a
>container. 

Agreed. Unfortunately XML itself is not a great example of
the containership philosophy:

I am thinking of XML Document := prolog element misc*

The prolog is an implicit container. So too is
the epilog (misc*).

The first start-tag (or empty element) implicitly signals
the end of the prolog and the start of the root element.
The matching end-tag (if any) signals the end of the
root element and the start of the "epilog".



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.