This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: exclude-result-prefixes Editors please note:


David Carlisle said:

>> I can tell xt not to bother making the output namespace
>> sensitive by using exclude-result-prefixes?
>
>No, the output (in the XML method) will always be namespace sensitive
>(ie generate the specified result tree if parsed by a namespace aware
>parser)
>
>What it won't do is put xmlns:xxx declarations on the output that are
>not used. If you actually use that namespace and have declared that
                                     ^^^^^
>namespace in  exclude-result-prefixes then the spec isn't exactly clear
>what is supposed to happen, but the implication is (since that's what
>happens for elements in the xsl namespace) that it isn't an error
>and the declaration _does_ appear.

? What do you mean 'use'? please.

As in 
  <xsl:copy>
    something with a ns prefix
   </xsl:copy>

I.e. If I add something to the output tree that uses namespaces,
then it should put xmlns:xxx declarations on the output?

Concerned that the spec is clear here.

Regards, DaveP




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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]