View Single Post
  #2 (permalink)  
Old March 12th, 2007, 06:07 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

I fail to see how the link you gave didn't help. It clearly shows that you need to declare the http://datex2.eu/schema/1_0/1_0 namespace in your stylesheet so add:
Code:
xmlns:datex="http://datex2.eu/schema/1_0/1_0"
to the xsl:stylesheet element and change your XPath, e.g.
Code:
<xsl:apply-templates select="datex:d2LogicalModel"/>
and
Code:
<xsl:template match="datex:d2LogicalModel">
I chose datex as a prefix but you can pick whatever you want.

--

Joe (Microsoft MVP - XML)
Reply With Quote