|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSLT and default namespaces
XSLT's handling of namespaces seems to be the bane of my life. I am writing a stylesheet to create a partially populated QA template for schemas. I need to be able to extract the default namespace from the xs:schema element. This typically looks like: <xs:schema targetNamespace="example.com" xmlns="example.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> Or at least, a good one does. Is it possible to extract the value of the default namespace when the element to which it is attached is in another namespace (as here)? I am using XSLT 1.0. Regards Paul Spencer Boynings Consulting Ltd http://www.boynings.co.uk
|
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








