|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: copy-of question
> how can I extract only one element in original form? > copy-of seems to work here, but I have all the other unwanted > tags also as > plain text. > Is this related to the default rules? > > <xsl:template match="TABLE"> > <xsl:copy-of select="."/ > </xsl:template> > This is fine in itself, but it depends how you call it. If you do <xsl:template match="/"> <xsl:apply-templates select="(//TABLE)[1]"/> </xsl:template> then your output will be a deep copy of the first TABLE element in the source. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








