Altova Mailing List Archives

Re: Doubt in using within XSL

From: Norman Walsh <ndw@---------->
Date: 5/8/1998 8:01:00 AM
/ 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?

That'll be both more and less convenient than what I have today.


 XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.