xsl-list
[Top] [All Lists]

RE: [xsl] Adding targetNamespace to schema

2006-05-22 05:58:36
Georg Hohmann wrote:

  Hi

I want to generate a schema out of a normal xml-file. The source
document has a different namespace as the xml files for which the
resulting schema should be suitable for. Most of the conversion (with
Saxon8) works fine, but i simply don't now how to add the
"targetNamespace"-attribute to the "xs:schema"-root tag of the result
document using XSLT.

So i would be thankful if someone could give me a hint how to solve
this.

  I'm not sure what exactly the problem is.  Maybe you're just looking
for 'namespace-uri()', to get the URI of the namespace of a node?

  Regards,

--drkm

























        

        
                
___________________________________________________________________________ 
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos 
services préférés : vérifiez vos nouveaux mails, lancez vos recherches et 
suivez l'actualité en temps réel. 
Rendez-vous sur http://fr.yahoo.com/set

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>