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

Re: xsl and <Div> tags - urgent please help

Subject: Re: xsl and <Div> tags - urgent please help
From: "Aparna Konduri" <a_konduri@xxxxxxxxx>
Date: Thu, 23 May 2002 12:12:20 -0400
konduri
Thanks. Can I know why the following gives an error? How to close a tag inside <xsl:script>?

<xsl:script>
document.write("<\/DIV>"); 
</xsl:script>


--

On Thu, 23 May 2002 18:20:42  
 Oleg Tkachenko wrote:
>Aparna Konduri wrote:
>
>> I have an xml file generated for a C# class from Visual 
>> Studio.
>Cool xml design :)
>
>> 
>> E.g:
>> 
>> <member name="T:Person">
>> <access type="public"/>
>>      <summary>
>>         Person class
>>       </summary>
>> </member>
>> <member name="M:getName()">
>> <access type="public"/>
>>       <summary>
>>          get name method     
>>       </summary>
>> </member>
>> <member name="T:Car">
>> <access type="private"/>
>>      <summary>
>>         Car class
>>       </summary>
>> </member>
>> <member name="M:getMake()">
>> <access type="private"/>
>>       <summary>
>>          get make method     
>>       </summary>
>> </member>
>> 
>> 
>> As you see, all the classes and its methods are shown as 
>> member tags. Only thing that differentiates the two is the 
>> first character of the name value (e.g. "T" for class 
>> type, "M" for method). I use an xsl file as attached to 
>> display the xml. But I want the toggling functionality on 
>> each class shown on html page. i.e. if I click on the 
>> classname, its body and methods should appear. 
>
>Apart from your WD-XSL stuff which is not supported on this list (see 
>http://www.netcrucible.com/xslt/msxml-faq.htm) at all, I would say in *xslt* 
>you can easy differenciate memeber elements using starts-with(string, 
>substring) function:
>
><xsl:template match="member[starts-with(@name, 'T:')]">
>...type processing...
></xsl:template>
><xsl:template match="member[starts-with(@name, 'M:')]">
>...method processing...
></xsl:template>
>
>-- 
>Oleg Tkachenko
>Multiconn International, Israel
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


________________________________________________________
Outgrown your current e-mail service?
Get a 25MB Inbox, POP3 Access, No Ads and No Taglines with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus

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


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.