|
Subject: Re: [xsl] Selecting Specific Elements Regardless of Namespace From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 09 May 2002 15:38:24 -0400 |
<fruit xmlns="www.fruit.com">
<apples>
<grannysmith>
<apple>...</apple>
</grannysmith>
</apples>
</fruit><fruit xmlns="www.vegetables.com">
<apples>
<grannysmith>
<apple>...</apple>
</grannysmith>
</apples>
</fruit><xsl:template xmlns:fruit="www.fruit.com"
xmlns:veggies="www.vegetables.com">
<xsl:value-of select="//fruit:fruit"/>
</xsl:template>Cheers, Wendell
That isn't quite the answer to my question. I am needing to do this regardless of the namespace. Let me go into a little more detail
I am in an xsl sheet that creates html. I need to know the value of the grannysmith/apple node using a xsl:value-of statment pathed directly to that node. This xml I have however is in a fruit namespace and I don't want to know that I am in the fruit namespace.
Thanks
Lindy
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Selecting Specific Elemen, Lindy Quick | Thread | [xsl] Re: Re: What do we have in va, Dimitre Novatchev |
| Re: [xsl] What do we have in variab, Jeff Kenton | Date | Re: [xsl] Selecting Specific Elemen, Greg Faron |
| Month |