[Home] [By Thread] [By Date] [Recent Entries]

  • From: Derek Denny-Brown <derekdb@m...>
  • To: "'Velasco Herrero, Jose Antonio'" <ja.velasco@i...>,xml-dev@l...
  • Date: Mon, 30 Oct 2000 11:59:52 -0800

Title: Problems using XDR
I would hazzard a guess that the problem is your in you XSLT.  When using XSLT,
    <xsl:for-each select="Schema">
will only select <Schema> elements which have no namespace.  (note: that is different from not having a prefix.)  My guess is that you need to change your XPath patterns to look more like:
    <xsl:for-each select="s:Schema" xmlns:s="urn:schemas-microsoft-com:xml-data">
 
-derek
-----Original Message-----
From: Velasco Herrero, Jose Antonio [mailto:ja.velasco@i...]
Sent: Monday, October 30, 2000 8:20 AM
To: xml-dev@l...
Subject: Problems using XDR

Hi all,

I'm having several problems in order to transform a XDR schema using XSLT.

The parser I use is the Beta Release September 2000 by MS and I think that the problem could be relationed with namespaces but I'm not sure. When I remove "xmlns='urn:schemas-microsoft-com:xml-data'" from the "Schema" element it runs but in other way rules in XSLT don't work correctly.

Someone can help me?

Thanks in advance

Jose.

P.S: I'm sorry but my english is not very well.


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member