[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Namespace prefixes in Schemas
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|