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

RE: generating an HTML web hierarchy from XML using XS

Subject: RE: generating an HTML web hierarchy from XML using XSLT
From: "Bryan Rasmussen" <bry@xxxxxxxxxx>
Date: Wed, 23 Jan 2002 10:10:23 +0100
saxon and redirect

>Is XSLT capable of transforming an XML file modeling [only] the schema of a
>web site into to an actual HTML web hierarchy?
yeah, using extensions for xslt 1.0, such as saxon:output for saxon and
redirect:write for xalan, if you have saxon you can also set your xslt
version to be 1.1 and use xsl:document, if you have saxon 7 you can set
version to be 2.0, and use xsl:result-document - the current xslt 2.0
working draft for how to output multiple docs :) however saxon 7 is
considered experimental so you probably wouldn't want it in production.

>i.e. Can XSLT transform the following XML
>  <a>
>      <b>http://url1</b>
>     <c>http://url2</c>
>     <d>http://url3</d>
>  </a>

>   <e>
>     <f>http://url4</f>
>  </e>

>  <g>
>      <h>http://url5</h>
>      <i>http://url6</i>
>   </g>

>into the following web site where XML element names correspond to
>link labels (edges or <a href's> in the web hierarchy).

actually it was sort of difficult for me to understand the site map, what
you want is that every element in your document outputs a html document,
with links to any documents created from children elements being found in
their parents, and in elements that have textnodes you want a link generated
in the document to http address described in the textnode? that's possible.

>Is XSLT capable of creating multiple output files and manipulating and
>switching between them while processing? which this task seems to

no you don't switch between them while processing, I don't see the task
requiring that you would either.

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

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.