Subject: RE: [xsl] Can one element have more than one namespaces? From: "Christopher R. Maden" <crism@xxxxxxxxx> Date: Mon, 26 Mar 2001 23:44:41 -0800 |
Which does raise the question, given two different elements, element A in ns X and Y element A in ns X
How do I do a template match to select the first one?
<xsl:template match="A[namespace::nsY and namespace:nsX]"> or something?
<foo xmlns="http://crism.maden.org/consulting/example-namespace"/> <ex:foo xmlns:ex="http://crism.maden.org/consulting/example-namespace"/>
<ex:foo xmlns:ex="http://crism.maden.org/consulting/example-namespace" xmlns="http://crism.maden.org/consulting/example-namespace-2"/> <foo xmlns="http://crism.maden.org/consulting/example-namespace" xmlns:ex="http://crism.maden.org/consulting/example-namespace-2"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ex="http://crism.maden.org/consulting/example-namespace">
HTH, Chris -- Christopher R. Maden, XML Consultant DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training <URL: http://crism.maden.org/consulting/ > PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Can one element have more, David Carlisle | Thread | RE: [xsl] Can one element have more, DPawson |
[xsl] DTD type that allows XHTML?, Ruben Inoto | Date | RE: [xsl] Can one element have more, DPawson |
Month |