[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] Is recursive markup good? bad? supported? not supported?
- From: "David Lee" <dlee@calldei.com>
- To: "'Andrew Welch'" <andrew.j.welch@gmail.com>
- Date: Sun, 11 Dec 2011 09:12:59 -0800
match="block"
match="block/block"
match="block/block/block"
==============================
Yes but try to that for an arbitrary deep occurrence.
----------------------------------------
David A. Lee
dlee@calldei.com
http://www.xmlsh.org
-----Original Message-----
From: Andrew Welch [mailto:andrew.j.welch@gmail.com]
Sent: Sunday, December 11, 2011 8:53 AM
To: David Lee
Cc: xml-dev@lists.xml.org
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]