XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Is recursive markup good? bad? supported? not supported?





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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS