|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: yet another XPath question
So I guess there's no easy way out, eh? I'm sure I can code something
up to do this...
simon On Tuesday, January 28, 2003, at 01:40 PM, S Woodside wrote: OK, that's easy, I just test="/Big/Long/XPath" but wait, if it's /not/ present then I want to create sufficient nodes to insert the new element in that place. That means I want to test each location step in the XPath, one by one, from root to leaf, to see if it's there. If it isn't, I then create a new node for that location step, and then descend the rest of the XPath, creating nodes until I'm done and then I insert the value. Here's an example of what I want to have happen: --- www.simonwoodside.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








