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

XSLT Inferencing

Subject: XSLT Inferencing
From: DPawson@xxxxxxxxxxx
Date: Fri, 6 Aug 1999 15:38:45 +0100
inferencing
Given an arbitrary, valid XML document,
is it at all reasonable to use XSLT to 
analyse the document and make a fair
guess at which elements are containers,
which are atomic etc?

e.g. The sort of logic I'm getting at 
might be:
Total element count=100
element x contains 80 descendants
none of which hold pcdata,
hence its likely to be a container.
element y is atomic and first child of
element x, hence likely to be a title.
element 'para' occurs 38 times with
PCDATA content, hence likely to
be a paragraph. I'm loathe to use
element names for other than basics.

Unknowns might be reported as:
Element z has only 3 children,
a 'candidate' container:

Overall objective would be to 
do an initial analysis along these
lines, then manually finish off,
to permit transormation into HTML.

I'm hoping that a stylesheet might
break the back of the work before
handing off to a human.

Any feedback appreciated.
regards, DaveP


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


Current Thread

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.