[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hi again,
At 07:57 AM 9/28/2007, you wrote:
You can also build keys that index to paths, parts of paths or quasi-paths, especially if you have functions (XSLT 2.0) that help make them for you.
Re: [xsl] Split into numbered files: without side-effect? (XSLT 2)
Subject: Re: [xsl] Split into numbered files: without side-effect? (XSLT 2) From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 28 Sep 2007 11:31:56 -0400 |
Hi again,
At 07:57 AM 9/28/2007, you wrote:
Very often though (eg sorting tables) you just need to specify an element name, not a full path and that can be done with
select="*[name()=$name]"
if $name is the dynamically supplied string.
If you know it's always a two part path with 2 names you can of course do
select="*[name()=$name1]/*[name()=$name2"
but this gets tedious if you want to be able to specify arbitrary paths.
You can also build keys that index to paths, parts of paths or quasi-paths, especially if you have functions (XSLT 2.0) that help make them for you.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Split into numbered files, Yves Forkl | Thread | Re: [xsl] Split into numbered files, Wendell Piez |
Re: [xsl] Split into numbered files, Wendell Piez | Date | Re: [xsl] Getting variable yet most, Wendell Piez |
Month |
Keywords