|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: <xsl:copy-of> question
[Nikolai Grigoriev] ><!-- Processing of salary nodes is disabled for FullSecurity="0" --> ><xsl:template match="salary[/employee/@FullSecurity=0]"/> Not quite - that will hide all salaries in any document in which there is any employee with FullSecurity="0". You need to scope it: <xsl:template match="employee[@FullSecurity=0]/salary"/> or, alternately: <xsl:template match="salary[../employee/@FullSecurity=0]"/> though I prefer the former for clarity. -Chris -- Christopher R. Maden, Solutions Architect Exemplary Technologies One Embarcadero Center, Ste. 2405 San Francisco, CA 94111 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
|

Cart








