Robert any chance you could put this in a PDF and post it to component zone or at least the site. I would be much easier to read and save and it seems a valuable contribution!
-----Original Message----- From: Robert Garcia [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 9:55 AM To: [email protected] Subject: Witango-Talk: Fast, Efficient XML WebServices for 5.5 - Pt. 2.2 - <@arraytodom> [I think the styled text is making it too big, so 2.3 coming also] Now to change the ROW nodes arround and such, in v5, the only option would be to loop through the entire xml. In v5.5, you have xslt. If you use xml, at all, learn xslt, it is a great tool. Witango uses the xalanc xslt library, and since it is a compiled dll, it is VERY fast. so we apply this stylesheet to the xml: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/ Transform"> <xsl:output method="xml" omit-xml-declaration ="yes" indent="no"/> <xsl:strip-space elements="*"/> <xsl:template match="*"> <xsl:copy> <xsl:copy-of select="@*" /> <xsl:apply-templates /> </xsl:copy> </xsl:template> <xsl:template match="labServiceInclusions"> <xsl:for-each select="//labServiceInclusions/Row"> <labServiceInclusions> <xsl:attribute name="rowid"> <xsl:value-of select="@id" /> </xsl:attribute> <xsl:copy-of select="./*" /> </labServiceInclusions> </xsl:for-each> </xsl:template> </xsl:stylesheet> -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com 13653 West Park Dr Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040 [EMAIL PROTECTED] - [EMAIL PROTECTED] http://bighead.net/ - http://eventpix.com/ ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
