Re: Matching elements with specific multiple parents
This seems extremely verbose and inelegant but is the best I've come up with. I'd like something like match="(foo|bar)/child"
match="foo/child | bar/child"
Any suggestions on a simpler syntax then what I've come up with ? Note that this is programmatically generated XSLT so I cant easily hand-optimize simple cases, it needs to work in the 1-N case in a way that's reasonably constructible programmatically.
I do this in the programmatically-generated Context/Value Association (CVA) file in the UBL project ... check the generated XSLT near the bottom of:
... especially the <Context> element with metadata="cctsV2.01-quantity".
I hope this helps.
. . . . . . . . . Ken
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