XSL for element containing mixed content.
How do I write XSL for following section of XML file. <directory> Hi I am in a directory. <subdirectory> Hi I am in a subdirectory. <file> Hi I am in file. </file> </subdirectory> </Directory> 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 http://im.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format