|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Match the element that have children and the attribute
Hello. Below is an example of my XML data. I'd like to match the element that have children and the attribute this="true" or the parent of the element having the attribute this="true" that does not have children. I have tried, but so far without luck. <outline type="link" title="Frontpage" url="/index.html" /> <outline type="link" title="Furniture" url="/Furniture.html"> <outline type="link" title="Staten Collection" url="/Staton.html"> <outline type="link" title="2 Door Sideboard" url="/Staton_2_door.html" /> <outline type="link" title="3 Door Sideboard" url="/Staton_3_door.html" /> <outline type="link" title="Coffee Table" url="/Staton_coffee_table.html" /> <outline type="link" title="Ext. table" url="/Staton_ext_table.html" /> <outline type="link" title="Lamp Table" url="/Staton_lamp_table.html" /> <outline type="link" title="Roomdivider" url="/Staton_room.html" /> <outline type="link" title="Fixed Table" url="/Fixed_Table.html" /> <outline type="link" title="TV Stand" url="/TV_Stand.html" /> </outline> <outline type="link" title="Beesky Collection" url="/Beesky.html" this="true"> <outline type="link" title="Beesky Table" url="/Beesky_Table.html" /> <outline type="link" title="3 Door Sideboard" url="/3_Door_Sideboard.html" /> </outline> <outline type="link" title="Tasker Collection" url="/Tasker.html"> <outline type="link" title="Table" url="/Table.html" /> </outline> <outline type="link" title="Tema Bed Collection" url="/Tema.html"> <outline type="link" title="Tema 1" url="/Tema_1.html" /> <outline type="link" title="Tema 2" url="/Tema_2.html" /> <outline type="link" title="Tema 3" url="/Tema_3.html" /> <outline type="link" title="Tema Box" url="/Tema_Box.html" /> </outline> <outline type="link" title="Chairs" url="/Chairs.html"> <outline type="link" title="Activ" url="/Activ.html" /> <outline type="link" title="Barstool" url="/Barstool.html" /> </outline> </outline> <outline type="link" title="About Specter Products" url="/About_Specter_Products.html" /> <outline type="link" title="Contact" url="/Contact.html" /> <outline type="link" title="Spots" url="/lib/include/spots.html" /> <outline type="link" title="Contact receipt" url="/Contact_receipt.html" /> Thanks, Jacob
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








