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

Re: Match nodes searching for attributes in children

Subject: Re: Match nodes searching for attributes in children
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Mon, 18 Jan 2010 04:13:54 +0100
Re:  Match nodes searching for attributes in children
Use saxon, even if you do XSLT 1.0

Avoid XSLT 1.0 in favor of XSLT 2.0

-Gerrit

P.S.: When you're really in Berlin, get some sleep now.


On 18.01.2010 04:09, cvergara@xxxxxxxxxxxxxxxxxx wrote:
Hello Ken and Gerrit,

thanks for your debugging tips. I was making the experiments in a small
test file, not in my development files, so I know there are no mistakes
nor missing namespace prefixes in elements. One curious thing though, I
noticed that my xslt processor (xalan 2.7.1 and the one included in java)
are not able to match attributes. Other people claim something like this
is possible:

<xsl:template match="@attr">
or even:
<xsl:template match="@*">

Even the default template will not match them. An empty stylesheet will
copy only the text elements. It will be difficult for me to get help if
the processors behave differently.

Thank you very much,
Cristobal


-- Gerrit Imsieke Geschdftsf|hrer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@xxxxxxxxx, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschdftsf|hrer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vvckler

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.