xml with dots in tags

Marc Ende <[email protected]> Tue, 01 Dec 2009 10:39:20 +0100
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <[email protected]>
Hi,

since yesterday I've got a project on xslt transformation from one xml 
to another schema.
But within the source-xml they've got '.' in the tags. For example:

<root.element>
   <test.element>Hello World</test.element>
</root.element>

If I try to access the value with such xslt I got nothing:

<xsl:template match="/">
   <test><xsl:value-of select="root.element/test.element"/></test>
</xsl:template>

It I try it without dot's:
<root>
<test>Hello World</test>
</root>
and
<xsl:template match="/">
   <test><xsl:value-of select="root/test"/></test>
</xsl:template>

Everything works fine. I tried to escape the dots in the select with 
'\.' but that doesn't
work. In XPath there was the . mentioned as a replacement for a 
character. So it should
also work on '.' I think.

Does anybody has an idea?

By the way. Is there any way to 'copy' parts of one xml in the other xml 
within the transformation?
It would be helpful if there are parts which doesn't need to transformed 
(just copied).

Thanks for your help!

Marc