Re: xmlns (flawed XML?) (edited)
Friends, Ok, sorry I didn't post any XSL.
XPath 1.0 never uses the default namespace.
I added the s: and the correct namespace to the stylesheet. xmlns:s="http://www.loc.gov/MARC21/slim"
Because the patterns are not trying to use the default namespace.
I thought the namespace was 'marc:'.
There is nothing special about the prefix "s:" ... it would have worked if you said "jazzband:leader" and had xmlns:jazzband="http://www.loc.gov/MARC21/slim" ... the prefix is irrelevant.
World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
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