[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re; Preseving xhtml tags during a transform

Subject: Re: Re; Preseving xhtml tags during a transform
From: "Tracey Zellmann" <tracey.zellmann@xxxxxxxxxxx>
Date: Fri, 22 Sep 2006 15:19:02 -0400
Re:  Re; Preseving xhtml tags during a transform
Thanks. You're right.

Sometimes I feel like I am in Plato's cave - the truth is up there in the light. I am below, vaguely viewing and deciphering the shadows that truth casts on the walls.. Slowly I make my climb up. Lo - am I there yet? Not quite, but closer.

----- Original Message ----- From: "David Carlisle" <davidc@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, September 22, 2006 3:03 PM
Subject: Re: Re; Preseving xhtml tags during a transform




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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.