RE: Element with mixed=true, and xsl,xpath
"Michael Kay" <[email protected]>
| Newsgroups | gmane.org.w3c.xsl-editors |
|---|---|
| Message-ID | <[email protected]> |
This list is for comments on the W3C specifications. A good place to ask for XSL and XPath coding advice is the xsl-list at www.mulberrytech.com Michael Kay > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Thomas Solbjør > Sent: 24 August 2004 19:17 > To: [email protected] > Subject: Element with mixed=true, and xsl,xpath > > > 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 > > >