Altova Mailing List Archives

RE: Fw: Is there a way to define groups of templates ?

From: bclose@----------------- (------- -----)
Date: 9/28/1998 7:59:00 AM
James Clark <jjc@xxxxxxxxxx> Wrote:

>Oren Ben-Kiki wrote:
>> Suppose that it was valid to say:

>Also remember that the intended audience for XSL isn't people
like you
>(or I suspect most of the people on this list).  I would guess
>people on this list are comfortable writing a perl script or
maybe a bit

I beg to differ. I could trivially abandon XSL and XML and use
mechanism for doing my file conversions. By using Java/JavaScript
I could
even do so with browsers and be pretty portable. But I really
rather not do

The reason is that I believe (hope?) that XML/XSL would bring a
measure of
sanity to the structured file format chaos we have today. When
(if?) this
will happen, XML/XSL support would be very widespread - built
into browsers,
operating systems, indexing tools, and so on. I want my
application to be
part of that - even if it is "batch processing" and "could be
done in perl".

>  If XSL is to succeed, it must be accessible to people who
>don't have those kinds of skills (eg graphic artists).  Although
>and accessing variables is easy and intuitive for programmers or
>with programming experience, it isn't so good for

I very seriously doubt that XSL would be hand-written by graphic
HTML (without scripting) is by far simpler then XSL. Personally I
write HTML
using 'vi', but graphic artists use WYSIWYG HTML
editors/generators. This
does not mean HTML is "inaccessible" to them. XSL, being more
complex (if
statements, pattern matching, macros...) would go that way much
faster then
HTML did.

We shouldn't feel bad about this. The "lets make it so simple
anyone can use
it" approach has never worked in the past. It never will. The
best we can
achieve is "lets make it simple enough anyone can use it for
simple things".
XML, HTML and XSL do that pretty well.

Hello out there, I'm one that falls into that "graphic artist
nature". Thank you James for bringing this point back into view -
for the past few weeks I've been working on a DTD and now I'm
tackling the XSL - for this first pass I am not using WYSIWYG.
Any tips you can throw my way would be much appreciated. However
at the present I've hit a stumbling block, and maybe one of you
can help me over this. How do I combine sub-elements from
different major elements, without losing other elements.
For example, I have a document DTD that contains elements A & B.
Within A there are C, D, E, F elements and within B there are 1,
2, 3, 4 elements.
<C> ABC </C>
<D> DEF </D>
<E> GHI </E>
<F> JKL </F>
<1> MNO </1>
<2> PQR </2>
<3> STU </3>
<4> VWX </4>

This is now is pretty straightforward, however I would like to
apply a style sheet that allows the out put to be
Along the following lines:
Mixing up the order of elements within A & B, but ensuring that
all are eventually accounted for in the final output.

Thanks in advance, Beth

XSL-List info and archive:

 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.