|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: What will be the future improvements of XSLT?
me> ... DP> so....How do I persuade xt, say, to DP> ignore most of an SVG document, DP> and pick up something within that document DP> with another namespace? DP> E.g. I only want to write templates for DP> DP> select="rdf:Element-X" DP> DP> even if the SVG has an element with the DP> same name? The so.. doesn't follow as I was talking about ignoring stuff in the stylesheet. You are talking about ignoring stuff in the source tree. Er you do exactly what you put there! If you have (eg on the xsl:stylesheet element, but anywhere else will do as long as this attribute is in scope) xmlns:rtf="the://namespace/uri/for/rtf" then your select expression above will select elements with the name Element-X and namespace the://namespace/uri/for/rtf even if in your source document a different prefix is used for the://namespace/uri/for/rtf (or no prefix at all if it is the default namespace) David 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








