I'm having problems Namespaces in XSL - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

I'm having problems Namespaces in XSL

gedbgedb Posts: 1Member
I'm uaing MSXML2 to parse some XSL and I'm having real problems with namespaces.

My XML document has some elements with a namespace and some without.

The problem is that the elements without a namespace are being ignored by the stylesheet.

gives nothing, even though the name is definately valid.

If I uses this

it works.

Anything with a namespace also works fine.

Any ideas whats going on?

This is some sample xml:

<?xml version="1.0" encoding="utf-8"?>





Title Title

Test Text Text Test Text TextTest Text TextTest Text TextTest Text Text
Test Text Text Test Text TextTest Text TextTest Text TextTest Text Text
Test Text Text Test Text TextTest Text TextTest Text TextTest Text Text
Test Text Text Test Text TextTest Text TextTest Text TextTest Text Text
Test Text Text Test Text TextTest Text TextTest Text TextTest Text Text

http://www.blahblah.com
The Publisher
© Copyright Stuff
2001-09-10T10:31+00:00
The creator









and this is my xsl:









Name Space Problem


















Thats no good






This is driving me round the bend, so any help would be appreciated.

Sign In or Register to comment.