[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: nesting xml
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|