Subject: Re: [xsl] Namespace prefixes in Schemas From: Abel Online <abel.online@xxxxxxxxx> Date: Wed, 16 Aug 2006 11:59:17 +0200 |
Cheers, Abel Braaksma http://www.nuntia.nl
Are you sure of that? Are you sayng that the target, not the prefix, is cheked by the processor?
But nevertheless i lied about my actual problem, (gee, i'm watching too much "House") cause i was afraid that the moderator will come by saying this is not a XSL question... But i'll risk it anyway...
My problem is that i'm using Sarissa to get some Schema nodes using XPath, like this
var nodes = xmlSchema.selectNodes("//xs:element");
after declaring
Sarissa.setXpathNamespaces(xmlSchema, 'xmlns:xs="http://www.w3.org/2001/XMLSchema"');
It seems that this is about the same situation you've pointed in your answer, but that is not working, afaict it only works if the Schema has
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
but not if it's
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Good luck with it, hth,
Anyhow i'm going to try this in a XSLT "per se", not in Sarissa, to see if it works (the moderator...) and if it works i'll check with the guys at Sarissa (if Manos don4t answer to this post first).
Thanks for your answer, it didn't solve my problem but it pointed me to right direction, i think...
Abel Braaksma http://www.nuntia.nl
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Namespace prefixes in Sch, Michael Kay | Thread | Re: [xsl] Namespace prefixes in Sch, António Mota |
RE: [xsl] Namespace prefixes in Sch, Michael Kay | Date | [xsl] <xsl:template match="and"> do, Ralf Schumann |
Month |