[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: HELP! XT is putting namespaces in output tag attributes

Subject: Re: HELP! XT is putting namespaces in output tag attributes ...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 28 Jan 2000 18:06:54 GMT
Re: HELP! XT is putting namespaces in output tag attributes
> My understanding is as follows:

> ...
> - if the processor waited until it came to a bunch of elements that 
> needed a namespace declaration

also there is no other way to put a namespace declaration into the
output except for this rule. You can not just rely on the serializer to
put out namespace declarations when needed as it doesn't know when they
are needed, due to this xslt inspired habit of languages using qnames
in attribute values. 

If my stylesheet puts out a literal result element of 
<foo x="a:test.xsl"/> then does it need a namespace declaration for a:
answer is yes or no, depending on the semantics of the x attribute in
the target language. Probably the above example th eanswer is no, but if
`foo' was xsl:value-of and `x' was `select' then the answer is yes.

So the only safe thing is to put all possible namespace declarations 
into the output.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.