Subject: Re: [xsl] Namespace prefixes in Schemas From: Abel Online <abel.online@xxxxxxxxx> Date: Wed, 16 Aug 2006 01:19:24 +0200 |
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
Abel Braaksma http://www.nuntia.nl
Hello all:
It's been a while since i don't work with XML, so bear with me if this is a stupid question...
Isaw several Schemas that have the xs namespace, like
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
and then the elements and type are referenced as
<xs:element name="Titulo" type="xs:string"/>
But i also saw the same thing with
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Titulo" type="xsd:string"/>
and others with
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<element name="Titulo" type="string"/>
My problem is that i'm transforming a schema in something else, and i need to access some nodes with XPath expression, like
//elements
to access all the elements of the Schema
So how can i know what is the prefix that a random Schena is using, or how can i access nodes independently of their prefixes?
Thanks all.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Namespace prefixes in Schemas, António Mota | Thread | Re: [xsl] Namespace prefixes in Sch, António Mota |
[xsl] Status of XSLT 2.0, Bill French | Date | Re: [xsl] Status of XSLT 2.0, Todd Baker |
Month |