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

Re: Testing the type of the current node

Subject: Re: Testing the type of the current node
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Fri, 24 Mar 2000 19:30:36 +1200
Re: Testing the type of the current node
Thanks Steve. I was aware of that solution but I need my
templates to be named so that they don't interfere with
my other default templates.

The real application that I am aiming at is for formatting
XML within an <embedded_xml> element inside of a document
with things like <text> and <image>s which are transformed
to HTML. I want to have a default element template that
copies all elements that I don't specifically handle (things
like <em> and <strong>), but handle any elements within
and <embedded_xml> element in a specific way. As far as I
know, this involves figuring out what each element is and
calling the appropriate template by name.

And before anyone suggest using

<xsl:template match="//embedded_xml//*"> ...

I might add that I also want to be able to import this
stylesheet into a standalone stylesheet that is applied to
files that don't necessarily have an <embedded_xml> at the
top.

I think the method I originally proposed is the way to
go - it's just that it doesn't work! But there must be a
way to do it.

Thanks again.


-- 
Warren Hedley
Department of Engineering Science
Auckland University
New Zealand


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.