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

XSL for element containing mixed content.

Subject: XSL for element containing mixed content.
From: Sandeep Deshpande <san25872@xxxxxxxxx>
Date: Thu, 6 Sep 2001 21:48:26 -0700 (PDT)
 XSL for element containing mixed content.
How do I write XSL for following section of XML file.

Hi I am in a directory.
Hi I am in a subdirectory.
Hi I am in file.

In the above case if I make a template for 'directory'
then I can write '<xsl:value-of select ".">', for
directory template. But this prints all the data which
is present in the child elements also and then if I
create a template for 'subdirectory' and 'file' then
the data gets repeated.Is there any way by which we
can tackle an element which contains '#pcdata' and a
child element ( where each child element has their own
template) ?

- Sandeep

Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger

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

Current Thread


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.
First Name
Last Name
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.