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

String expressions in XSL

  • From: Attila Torcsvari <arcpub@a...>
  • To: xml-dev@i...
  • Date: Fri, 18 Sep 1998 09:28:45 +0200

xsl expressions
XSLers,

in my XML file I have
<subclass id=A01B>
...
<ref to="A01B001/00"/>
...
</subclass>
...
<subclass id=A01C>
...
<ref to="A01B001/00"/>
...
</subclass>

I have to generate the following HTML sequences:

from the first reference:
<A href="@A01B001/00">1/00</A>

...because I am in subclass A01B, thus the user should see only
1/00
which is sufficient for the user to recognize the referred location.

from the second reference:
<A href="@A01B001/00">A01B 1/00</A>
...because it is in another subclass, thus the user _must_ now that the
reference points to another subclass.

(The "@" designates "late-bound reference", used by another tool which
will resolve it a separate step.)

I have got about 800.000 of such references in about 20*15 MB XML data.

Have I got in XSL _any_ chance to generate these sequences?

I guess _no_. There seems to be _no_ string expression language neither
for patterns nor for "value-of".

Do I have to contaminate my source XML code with redundant data
(which I do now but I do not like it)
or
should I generate temporal XML files in Java, which is a neverending
story due to the sizes of the files
or
is it planned that at least regexp patterns will appear in XSL
or
is there a chance that there will be _again_ ECMAScript in XSL?
or
is there any XML transformation tool which is less painful to use than a
set of Java/Python/C/AWK/Perl programs?

Samples can be reached at http://www.arcanum.com/patclass/index.htm
These files were generated with proprietary tools which I plan to change
to XML tools, if I can.

I guess my problems are not too special.

Thanks for help.

Attila Torcsvari
Arcanum Development

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.