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

RE: XSLT 1: template inside of template?

Subject: RE: XSLT 1: template inside of template?
From: "Chris Loschen" <christopher.loschen@xxxxxxxxxx>
Date: Mon, 30 Oct 2006 14:33:43 -0500
xsl template
Agreed, but I don't think she was being quite that devious. Probably she just
copied one template and mistakenly pasted it inside another, and didn't
realize it until I pointed it out. I just hope she doesn't conclude that I'm
the one that made the mistake!

Thanks guys.

Chris

-----Original Message-----
From: Brian Martinez [mailto:Brian.Martinez@xxxxxxxxxxxx]
Sent: Monday, October 30, 2006 2:16 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  XSLT 1: template inside of template?

Yeah, as written, that stylesheet is not legal.

> Perhaps it was a "test", see how you coped with confrontation or
> something...

OT, but any company that would play such mind games during the interview
deserves to go out of business.

b.

> -----Original Message-----
> From: Joe Fawcett [mailto:joefawcett@xxxxxxxxxxx]
> Sent: Monday, October 30, 2006 12:04 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  XSLT 1: template inside of template?
>
> You're correct, sounds like they seriously need an XSLT expert.
> Perhaps it was a "test", see how you coped with confrontation or
> something...
>
> Joe
>
>
> >From: "Chris Loschen" <christopher.loschen@xxxxxxxxxx>
> >Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> >To: "xsl-list@xxxxxxxxxxxxxxxxxxxxxx"
<xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> >Subject:  XSLT 1: template inside of template?
> >Date: Mon, 30 Oct 2006 13:58:08 -0500
> >
> >Hi all,
> >
> >I don't have my reference book in front of me. I just wanted a quick
> sanity
> >check.
> >
> >I just got out of an interview and one of the questions was about
XSLT
> 1.0.
> >The sample code looked like this:
> >
> ><xsl:template .>
> ><tag1.>
> ><!-- various stuff -->
> ><xsl:template .>
> ><!-- more stuff -->
> ></xsl:template>
> ></tag1>
> ><!-- more stuff -->
> ></xsl:template>
> >
> >I pointed out to the interviewer that this wasn't legal: you can't
have
> an
> >xsl:template inside another xsl:template. She said that it was copied
> from
> >a working stylesheet, so it had to be legal, but I think there had to
be
> a
> >copy-and-paste error or something in there.
> >
> >Am I crazy? (Well, let's leave that one aside. am I crazy about
this?)
> XSLT
> >doesn't allow an xsl:template inside of another xsl:template, right?
> >
> >Thanks.
> >
> >Chris Loschen

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.