Subject: Re: [xsl] Filtering XML to improve performance From: Erik Bruchez <erik@xxxxxxxxxxx> Date: Mon, 22 Mar 2004 11:01:20 -0800 |
Sorry if this is a FAQ- please point me in the right direction if so.
Let's say my xml is this:
<root> <items> <onlyImportantItem>THIS</onlyImportantItem> <junkItem>foo</junkItem> <moreJunk>foo</moreJunk> <stillMoreJunk>foo</stillMoreJunk> </items> <items> <onlyImportantItem>THAT</onlyImportantItem> <junkItem>foo</junkItem> <moreJunk>foo</moreJunk> <stillMoreJunk>foo</stillMoreJunk> </items> ... ... ... </root>
If I only mainly want to work with <onlyImportantItems>, is there a way that I can filter out all the other data I don't need when I do the transform?
So for instance, I don't want the XML parser searching through all the garbage, I want it cut down to just the data I need. Can I do something like this at the beginning of all my xsl sheets?
Thanks.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Filtering XML to improve , Andrew Welch | Thread | [xsl] Using XSLT for multi-agent si, Roger L. Costello |
RE: [xsl] Question on loops, Michael Kay | Date | RE: [xsl] FW: key, generate-id, ign, Michael Kay |
Month |