[Home] [By Thread] [By Date] [Recent Entries]

  • From: "David Lee" <dlee@c...>
  • To: "'Andrew Welch'" <andrew.j.welch@g...>
  • 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@c...
http://www.xmlsh.org

-----Original Message-----
From: Andrew Welch [mailto:andrew.j.welch@g...] 
Sent: Sunday, December 11, 2011 8:53 AM
To: David Lee
Cc: xml-dev@l...
Subject: Re:  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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member