Subject: Re: [xsl] Re;[xsl] Preseving xhtml tags during a transform From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 22 Sep 2006 20:03:56 +0100 |
> Without T's, there wouldn't be anything to transform! ah but that's the point. xslt doesn't require tags, and can't tell if there were any originally. It takes as input a tree of nodes. That _night_ have come by an xml parser readng tags in a file, but it might have come by DOM scripting just generating a tree directly in memory, or it might have come from parsing a GEDCOM file and reporting sax events or... Also if you use "tag" to mean "element" you get the wrong answer for even the siimplest questions: given <a href="b">c<br/></a> how many elements are there 2 what's the content of the element with name a the text node with string value "c", and the element br how many tags are there 3 what's the content of the tag with name a 'a href="b"' David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re;[xsl] Preseving xhtml , Tracey Zellmann | Thread | Re: [xsl] Re;[xsl] Preseving xhtml , Tracey Zellmann |
Re: [xsl] Re;[xsl] Preseving xhtml , Tracey Zellmann | Date | [xsl] Opera's JavaScript API for XS, Robert Koberg |
Month |