Re: transforming one specific subtree only
Jakob, > Probably extremely inefficient due to the //*; and, no, the > processor I am using, Sablotron doesn't support id(), ahem. Does it support key()? If so, then you could declare a key for accessing the @ids: <xsl:key name="ids" match="*[@id]" use="@id" /> And retrieve elements with that particular id using: key('ids', $nodeId) instead of: //*[@id = $nodeId] which would be more efficient. I hope that helps, Jeni --- Jeni Tennison http://www.jenitennison.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