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

Re: Doubt in using <A> within XSL

Subject: Re: Doubt in using <A> within XSL
From: "eduardo.gutentag" <Eduardo.Gutentag@xxxxxxxxxxx>
Date: Sat, 9 May 1998 11:52:10 -0700 (PDT)
href within xsl
> / Amit Rekhi <amitr@xxxxxxxxxxxxx> was heard to say:
> | Let me explain the scenario I am trying to create.
> | 
> | I have the following (incomplete) constrution rule :-
> | 
> | <rule>
> |   <target-element type="section"/>
> |       <A href="section.htm">Hyper Link</A>
> | </rule>
> | 
> | Using this construction rule, I want to pass the data of the target element
> | <section> (present in my XML file) to the section.htm file. | 
> | How do I do that??
> 
> You can't.  There's no provision in the XSL submision for doing that.
> 
> I think it's an interesting problem.  I frequently use Jade to
> create lots of separate HTML files from a single XML/SGML
> instance.  This works fine because I basically build my website
> with Jade.
> 
> However, looking forward to a day when I'll be able to just
> publish my source instances and an XSL stylesheet, how will I
> get this chunking behavior?
> 
> One thought is that I'll have to chunk my sources.  Rather than
> having what is essentially a single huge XML document and
> bursting it into dozens of pages before putting it on the
> server, maybe I'll have to maintain my source as dozens of
> separate XML documents.  Linked together with XLinks?

Hm, I don't know if that's the right question, Norm. Seems to me that it boils
down to whether XSL is a server-side style-sheet language (a la Jade, or
rather, like Jade can be used), or a client-side one. If the latter, which I
believe is how the current submission approaches it, the chunking should be
done at the server-side, but that brings up the issue of how the style sheet is
then supposed to traverse the tree when all it has is a bit of a chunk to work
on. As you say, it's an interesting problem.

Eduardo

> 
> That'll be both more and less convenient than what I have today.
> 
> --norm
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.