xsl-list
[Top] [All Lists]

RE: Matching problem

2005-12-22 03:11:51

Hi

Use

match="/car | /car/version"

Cheers.

Arun


From: Sven Waibel <sven(_dot_)waibel(_at_)imbus(_dot_)de>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Matching problem
Date: Thu, 22 Dec 2005 11:03:15 +0100

Hi all,

i have these xml:

1.

<car>
  <audi>
  <bmw>
</car>

2.

<car>
  <version>
     <audi>
     <bmw>
  </version>
</car>

These are the two possibilities that can occur.

I tried: match="car | car/version" but it does not match correctly resp.
it does not work.

Some ideas?

Thanks
Sven

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>