match="block"
match="block/block"
match="block/block/block"
==============================
Yes but try to that for an arbitrary deep occurrence.
----------------------------------------
David A. Lee
http://www.xmlsh.org
-----Original Message-----
From: Andrew Welch [mailto:]
Sent: Sunday, December 11, 2011 8:53 AM
To: David Lee
Cc:
Subject: Re: [xml-dev] Is recursive markup good? bad? supported? not
supported?
> <block type="header" level="3">Header</block>
>
> <block type="paragraph" indent="10">A Paragraph</block>
>
> <bock type="list" format="roman">A List</block>
> a schema for this kind of use. XSLT is hard too (without type 'type').
In xslt:
match="block"
match="block/block"
match="block/block/block"
--
Andrew Welch
http://andrewjwelch.com