[xsl] Help in extracting namespace prefix of targetNamespace [SEC=UNCLASSIFIED]

Subject: [xsl] Help in extracting namespace prefix of targetNamespace [SEC=UNCLASSIFIED]
From: Enrico.Raymund@xxxxxxxxxxx
Date: Mon, 2 Jun 2008 12:22:26 +1000
Hi,

I have this schema header below:

<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:bbbcore="http://www.abcde.com/Namespace/bbb/Core/V1.0";
xmlns:aaacore="http://www.abcde.com/Namespace/aaa/Core/V1.0";
xmlns:aaa="http://www.abcde.com/Namespace/aaa/Service/V1.0";
targetNamespace="http://www.abcde.com/Namespace/aaa/Service/V1.0";
elementFormDefault="qualified"
version="1.0"
xml:lang="en">

I would like to extract the namespace prefix "aaa" from xmlns:aaa="
http://www.abcde.com/Namespace/aaa/Service/V1.0"; or in short I would like
to be able to extract the namespace prefix of the targetNamespace.  Thanks
in advance!


Enrico


Important Notice: If you have received this email by mistake, please advise
the sender and delete the message and attachments immediately.  This email,
including attachments, may contain confidential, sensitive, legally
privileged and/or copyright information.  Any review, retransmission,
dissemination or other use of this information by persons or entities other
than the intended recipient is prohibited. DIAC respects your privacy and
has obligations under the Privacy Act 1988. The official departmental
privacy policy can be viewed on the department's website at www.immi.gov.au
See: http://www.immi.gov.au/functional/privacy.htm

Current Thread