This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Newbie needs xsl


From: "Roshan Sharma" <roshansharma@hotmail.com>
To: xsl-list@lists.mulberrytech.com
Subject: Re:[xsl] Newbie needs xsl
Date: Wed, 21 Feb 2001 23:57:21
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F20Z9XZOFXZ3mcrwPBh0000281b@hotmail.com>
X-OriginalArrivalTime: 21 Feb 2001 23:57:21.0846 (UTC) 
FILETIME=[07D45D60:01C09C62]

Jeni,

Thanks, this has been a tutorial for me. A question in line with
this scenario - how do you propose applying templates if an
element (office) forms sub-node as given below?

The reason I am asking is that xerces complained on an attempt to
apply-template again when the name matches "office_name" saying
that apply-template can be used only once in one match (namely
customer_name). Alternate attempt to call-template also did not
work.


==========================

<customer_name id="A1"
                revenue="100000">
                <office_name id="office1"
                       space="3000 sq_ft"
                       color="red"
                       location="New York"
                </office_name id="office1">

                <office_name id="office2"
                       space="2000 sq_ft"
                       color="green"
                       location="Chicago"
                </office_name id="office2">
   <customer_name id="A2"
                  revenue="80000"

                <office_name id="office1"
                       space="560 sq_ft"
                       color="purple"
                       location="London"
                </office_name id="office1">
   </customer_name id="A2">
</customer_name A1>
===========================

Thanks,
Rosh
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]