Subject: RE: [xsl] Using a template to transform a node attribute From: "Emerson, Matt" <Matt.Emerson@xxxxxxx> Date: Mon, 12 Sep 2005 11:55:14 -0400 |
...and for what's worth, my example is now working and generating/overriding the attribute properly. -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Monday, September 12, 2005 11:53 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Using a template to transform a node attribute > 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 ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Using a template to trans, Emerson, Matt | Thread | [xsl] xmlns="" / XML to XHTML, Alexander Nichau |
RE: [xsl] Using a template to trans, Emerson, Matt | Date | Re: [xsl] Using a template to trans, David Carlisle |
Month |