[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Wildcards in namespaces ?

Subject: Wildcards in namespaces ?
From: "Mick Baggen" <mick.baggen@xxxxxxxxxxxxxxx>
Date: Thu, 1 Jul 2004 09:30:21 +0200
mick baggen
Hello,

I would appreciate some help with the following problem:

I'm writing a XSLT stylesheet for processing of UML XMI files. Alas,
depending on the UML tool, the elements in the XMI file are placed in a
different namespace. E.g. Poseidon (www.gentleware.com) uses the
namespace-URI xmlns:UML = "org.omg.xmi.namespace.UML", and Rational Rose
uses xmlns:UML = "href://org.omg/UML/1.3". However, all of them generate a
prefix UML: for their XMI elements.

Now my problem is: how can I define a namespace in my XSLT stylesheet so
that I can process all XMI files with the SAME stylesheet ? I came across a
remark on the XSLT FAQ suggesting that it is possible to use wildcards in
the namespace, eg <xsl:stylesheet xmlns:UML="*UML*">. And indeed, it seems
that Xalan 2.6.0 recognizes this notation. However, libxslt 1.1.6
(xmlsoft.org) does not.

I tried to look it up in the XSLT and XML Namespace specifications, but I
couldn't find whether this is valid. Could someone help me out on this one ?
If it is NOT valid XSLT, is there another way to achieve the same result ?

Regards,

Mick Baggen
Principal Consultant
Technolution B.V.
E-mail: 	 mick.baggen@xxxxxxxxxxxxxxx


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.