This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xpath not..


i have a question about selecting nodes of my xml file.
in my xml file i have sth like

...
<name>firstname</name>
<lastname>firstlastname</lastname>
<street>firststreet</street>
<city>firstcity</city>
...

how can i say sth like
select name, lastname and city but NOT street
i tried it with select="adress[child::*] | not [child::street]"

but it didnt work...
do i have to say sth like select="adress[child::name] |
[child::lastname] | [child::city]"
to select each entry i want to select or are there shorter solutions ?
(in my xml file there are much more entrys than just those 4...)

in the faqs i saw select statements with "not" but mostly to not select
attributes or values...

thanx for ur help

michael


oh btw...
thx mike (kay) your solution with the javascript worked fine (for sure
:-) 
just didnt saw that solution (i tried to make it more complex ...<g>)


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]