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

RE: Generic stylesheet to flatten XML hierarchy

Subject: RE: Generic stylesheet to flatten XML hierarchy
From: Sara Mitchell <samitchell6@xxxxxxxxx>
Date: Fri, 4 Dec 2009 11:27:52 -0800 (PST)
RE:  Generic stylesheet to flatten XML hierarchy
Ok. I don't really have real samples as this is meant to be generic but I do
have a handle on the potential structures that need to be flattened. 
So for
example, RSS which looks like this: 

/rss (some attributes)
  /channel (some
    /...more siblings that are not repeating
/item (repeat starts)
      /description (w/mixed content)
      /...more children some have descendants but no more
   /item ...

If this gets converted to XML it should look on
output like this: 

--- On Thu,
12/3/09, Michael Kay <mike@xxxxxxxxxxxx> wrote:

> From: Michael Kay
> Subject: RE:  Generic stylesheet to flatten XML
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Date: Thursday, December 3,
2009, 3:54 PM
> > I've been wandering through the
> archives and other
> > and so far have not found exactly what I am hoping to
> find. I
> > need to write an XSLT stylesheet that accepts an
> unknown XML 
> >
document and flattens the hierarchy to a
> two-dimensional 
> > row/columns
> > 
> The hard part of the problem is specifying what you want
> happen. Once
> you've done that, I would think that coding it is fairly
> Regards,
> Michael Kay
> http://www.saxonica.com/
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To
unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail:
> --~--

Current Thread


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.
First Name
Last Name
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.