OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Problems using XDR

[ Lists Home | Date Index | Thread Index ]
  • From: Derek Denny-Brown <derekdb@microsoft.com>
  • To: "'Velasco Herrero, Jose Antonio'" <ja.velasco@ibermatica.com>,xml-dev@lists.xml.org
  • 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@ibermatica.com]
Sent: Monday, October 30, 2000 8:20 AM
To: xml-dev@lists.xml.org
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.





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS