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

Re: Automatic html generation of xml file "advice need

Subject: Re: Automatic html generation of xml file "advice needed"
From: Jon Gorman <jonathan.gorman@xxxxxxxxx>
Date: Fri, 27 May 2005 10:30:00 -0500
automatic html generation
> The tricky part is establishing a
> standard format i could apply. For example, should i display the xml file
as
> one large table, or should i display each element name with <u> tags and
> display its text below it??

Why not in a random pattern distributed all around the page.
Seriously though, without knowing your end goal of what you want this
summary to do it doesn't help much.

If you just want general information I would say trying to create a
tree would be your best bet since XML documents are trees, not tables.
 Of course, if there is some sort of summary information you're trying
to generate, a table might be fine.

Can provide me with a little help for this problem?
Since I'm not sure what the problem is I can't help much.  If you want
a list of styled element names just have something like
<xsl:template match="*"><ul><xsl:value-of
select="name()"/></ul><xsl:apply-templates /></xsl:template>


what do you reckon
> is my best way to tackle this??

I'd just use what's already been developed.

http://skew.org/xml/stylesheets/treeview/ascii/

Unless you want to do this as a learning exercise, in which case I'd
recommend just trying what you've already posted and seeing if you
like it.

Jon

> Many thanks for your help,
> Best wishes,
> -Kilo Juliet-
>
> _________________________________________________________________
> Use MSN Messenger to send music and pics to your friends
> http://messenger.msn.co.uk

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.