[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Process some elements, but not others...
I've been thinking recently about using namespaces to solve this, well,
my situation is more complex but it seems to be a good tool to use
(except it's not working for me right now, but I'm sure that's my
fault) e.g.,
<myelement> <p>This is <ref xmlns="foobar">the</ref> text node</p> </myelement> -------------------- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:foobar="foobar" version="1.0"> <xsl:template match="foobar:ref"> <!--whatever--> </xsl:template> it's probably overkill for your example but I think it's a more flexible solution in the long run? simon On Thursday, February 13, 2003, at 09:57 PM, Ted Stresen-Reuter wrote: Hi, --- www.simonwoodside.com <http://ThisURLEnablesEmailToGetThroughOverzealousSpamFilters.org> 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
|