|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: unconnected elements?
> How do you make a match for something like <CENTER></CENTER> > that'll work anywhere in a document? Just write your stylesheet uniformly using the push model. <xsl:template match="..."> ... <xsl:apply-templates/> ... </xsl:template> and then add a template rule for the <CENTER> element: <xsl:template match="CENTER"> ... <xsl:apply-templates/> ... </xsl:template> You've put your finger on the reason why rule-based processing (push processing) is the preferred way of transforming documents. Mike Kay 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








