[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

lists

Subject: lists
From: DPawson@xxxxxxxxxxx
Date: Thu, 25 Jan 2001 13:17:00 -0000
 lists
I'm trying to do a list to list, xml to xml transformation.

The source document can have

<list>
  <item> pcdata <list>
                   <item>
 (its a derivative of docbook)

The target DTD only has

<list>
   <item> content </item>
    <list> <item> ...
(I.e. <!ELEMENT list (litem | list)*> )

So sublists must be nested 'cleanly' within lists

I can't think of an XSLT way of doing this.

<xsl:template match="list">
  choose
     when test="descendant::list" 
          ?????

Any suggestions please?

Regards DaveP

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • lists
    • DPawson - Thu, 25 Jan 2001 08:23:00 -0500 (EST) <=
      • <Possible follow-ups>
      • DPawson - Thu, 25 Jan 2001 11:36:30 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.