[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl grabbing specific data
If I use this transform against my xml my output gives me below. How do I strip out all of the other unwanted not matches and once a match is performed can I do a value-select to gather further attributes? I tried to create an empty template match but that just ends up giving me no data at all. Thanks in advance, Dan Sherman --------------------------------------------------------------------------------------------------------------------------- <xslt:output method="xml"/> <xslt:preserve-space elements="/"/> <xslt:template match="//file-acl-list/file-acl"> <xml> <xslt:attribute name="file-acl"> <xslt:choose> <xslt:when test="@name='c:\boot.ini'">boot.ini</xslt:when> <xslt:otherwise> </xslt:otherwise> </xslt:choose> </xslt:attribute> <xslt:apply-templates/> </xml> </xslt:template> --------------------------------------------------------------------------------------------------------------------------- xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""> </xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xm l file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-ac l=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xm l><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml fi le-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl="" ></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><x ml file-acl="boot.ini"></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xm l file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-ac l=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xm l><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml fi le-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml><xml file-acl=""></xml> __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail --+------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> --+--
|
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
|