Mr. Kay,
Thank you for the response!
I apologize because I certainly didn't ask this question the right way as I often tend to do :-/
I was discussing today with someone at work of how we could use an xml feed we're getting. I thought of using xslt to parse it and spew (such a nice way of saying it huh?) it onto a regular 'ol Joe html page. Mind you...the html page was developed with straight html.
I hope I asked my question better this time. By the way, just ordered your book from a1books here in NJ. There's not another addition coming out anytime soon is there? Just so I don't kick myself in the butt in a month or two when it comes out heh
Quote:
quote:Originally posted by mhkay
XSLT doesn't update the input document, it transforms it to an output document, so if some of the input is to remain unchanged then it needs to be explicitly copied to the output. It's often convenient to do this using an identity template:
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
augmented by template rules that match the part of the document that you want to modify.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|