Element with mixed=true, and xsl,xpath

Thomas Solbjør <[email protected]>
Newsgroups gmane.org.w3c.xsl-editors
Message-ID <[email protected]>
Hi,

I have an element which is something like this:

<p>
This is some text, and at <date>2004-08-24</date> I am writing it.
</p>

I want to traverse the whole element and pick up the subelements. Stylus
Studio HE gives me an overview of the element which looks something like
this:

p
|
|-- #text
|
|-- date
|
|-- #text
|
|-- date
|
|-- #text

A select="p/*" does not work, I only get the date elements and not any text.
I guess #text is not treated the same way as the other subelements, but how
should I do this?

--
Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.