;
Very nice turn of phrase, Wendell.
It certainly helps explain to people how a machine doesn't consider an
attribute to be a child and yet how an attribute can have a parent
>
> Looking at 7.5 also illuminates a point we came across last week -- that
> attributes are disinherited, not being the children of their parents.
> Notice that the identity transform must specify
>
> <xsl:apply-templates select="@*|node()"/>
>
> to get the attributes into the result tree. Otherwise, they would not be
> processed (the default is, only recognized child elements -- select="*" --
> get invited to the wedding).
>
> Just in case:
> http://www.w3.org/TR/xslt
> http://www.w3.org/TR/xpath
>
> Enjoy,
> Wendell
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- xml in, xml out
- Toby Stokes - Thu, 1 Jun 2000 11:37:33 +0100
- <Possible follow-ups>
- Ben Robb - Thu, 1 Jun 2000 12:10:12 +0100
- Kay Michael - Thu, 1 Jun 2000 12:48:36 +0100
- Wendell Piez - Thu, 01 Jun 2000 12:34:14 +0100
- Francois Lachance - Thu, 1 Jun 2000 12:27:43 -0400 (EDT) <=
- Wendell Piez - Thu, 01 Jun 2000 14:20:08 +0100
- juggy - Thu, 1 Jun 2000 16:16:08 +0200
- John Robert Gardner - Fri, 2 Jun 2000 10:01:37 -0400 (EDT)
- DuCharme, Robert - Thu, 1 Jun 2000 13:34:46 -0400
|
|