This is a FAQ, although I'm never quite sure why
people try putting elements within attriubtes.
<ashamed> I should have read the documentation before
asking the question.</ashamed>
Don't feel bad, I didn't mean to sound snarky. It's just one of those
things that never would have occurred to me to try so I was surprised
the first time I saw a person do it. Before I discovered the
attribute-value-templates I used the full..
<xsl:element name="blah">
<xsl:attribute name="foo">
...
and so on. Every time I see people fall into this trap I'm still a
bit surprised they did that rather than go with the longer way that
would be sure to work and is XMLish.
Of course, it could be because more people than I think attempt to
learn both XML and XSLT at the same time. I learned XML before I
started doing XSLT, and perhaps that's part of it.
Jon Gorman
--~------------------------------------------------------------------
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>
--~--