[Home] [By Thread] [By Date] [Recent Entries]
Hi Tom,
Ah, well, in Mark's example, a template matching "text" would and should pick up everything, regardless of whether any explicit templates were given for the root (/) or document element (ROOT) ... since the built-in templates take care of them. I was hearing you to say he'd have trouble if he didn't match them, which I guess isn't what you meant. In fact, if he did explicitly give templates for / or ROOT, they'd better say just what the defaults do, or his output won't come the way he expects. (Narrow bandwidth in here ain't it?) Cheers, Wendell Mark's given source example:
<?xml version="1.0"?>
<ROOT>
<text>
<definition>
<color>
content
</color>
<size>
content
</size>
<font>
content
</font>
</definition>
<data>
content
</data>
</text>
</ROOT>At 10:15 PM 5/3/01, you wrote: Yes, Wendell, I know, but then your output will be unrelated to your template (which may not ever get called, depending), so you get some kind of output but not what you thought you were designing.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



