<xsl:template match="w:p[ancestor::w:body]">There is (as always) a much more elegant solution:
<xsl:template match="w:body//w:p">
Being one of the zillion programmers jumping into rough waters of XML, XSLT and AJAX (combined with ASP back-end) I had my own share of "reinventing the wheel" experience. Hopefully by documenting some of these reinventions, I'll save you a few minutes of hair-pulling.
<xsl:template match="w:p[ancestor::w:body]">There is (as always) a much more elegant solution:
<xsl:template match="w:body//w:p">
No comments:
Post a Comment