|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Apply templates + "match all" template
Hello all,
I'm making a map from one DTD to another, a pure XSLT task for once. Since
I've not yet dealt with the whole source DTD, I have this template at the end:
<xsl:template match="*"/>
The only thing I have done so far are lists and inline content, so in the
root node match I write:
<xsl:template match="/">
<doc>
<xsl:apply-templates select="list"/>
</doc>
</xsl:template>
I thought this would make the lists appear and nothing else, but the only
thing I get is:
<?xml version="1.0" encoding="iso-8859-1"?><doc/>
If I remove both the select="list" and <xsl:template match="*"/> I get the
lists, but also all the other content with no markup.
Gustaf
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
|






