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

specific template?

Subject: specific template?
From: Martin Klaffenboeck <martin.klaffenboeck@xxxxxx>
Date: Thu, 3 Jul 2003 15:30:15 +0200
specific template
Hello,

I have the following:

<document>
<formular name="login" ref="/login/">
<field type="text" name="username" size="8" wrap="yes">User</field>
<field type="password" name="password" size="8" wrap="yes">Password</field>
</formular>
<formular name="send_email" ref="/login/send_email">
<field type="text" name="email" size="16" wrap="yes">Emailadresse</
field>
</formular>
</document>


I'd like to use one template for all formular nodes. And I want to run apply-templates for every formular specific, how can I do that?

It's interessting, I have only one

<xsl:apply-templates select="//formular"/>

But I get two formulars out, which both have all three fields ( the two from name="login" and the one from name="send_email".

What am I doing wrong?

Martin

--
If you've got an idea and need help,
or just need general encouragement,
write me a message. ;-)

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.