Subject: Re: [xsl] XML to HTML From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 21 Sep 2001 19:30:30 -0400 |
Cheers, Wendell
Hi Greg, ...If you have a big file, this will take a lot of time. If all <media_item>s are on the same level, you can change it to
<xsl:value-of select="/root/any_other_nodes/media_item[...]..."/>
Still better is using a DTD and set your identifier-attribute (or shorter id) to ID:
<!ATTLIST media_item identifier ID #REQUIRED>
And using now the id()-function will speed up the transformation:
<xsl:value-of select="id(media_ref/@media_alias)/access_name"/>
====================================================================== 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] XML to HTML, Jörg Heinicke | Thread | [xsl] converting gif,jpeg,png into , Andreas Putscher |
Re: [xsl] Confusion with template!, Mike Brown | Date | Re: [xsl] trouble checking "cousins, Wendell Piez |
Month |