xsl-list
[Top] [All Lists]

Re: Using a template to transform a node attribute

2005-09-12 08:53:23

To use attribute element, don't you need a TAG?

No. A template can generate just an attribute node.
The constraint is a runtime constarint not a syntactic constraint; You
can only add attribute nodes to the result tree If you hav enot yest
added any child nodes to the currently open parent element.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--