[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Changing prefix
> I have an app that uses MathML, and gathers some stats from > it. But i ran into a problem when using mml tags embedded in > docbook, as this app uses the "math" prefix, and in docbook > mathml tags are prefixed with "mml". > > I am trying to do a stylesheet that copies all mathml > elements, including attributes, data etc.. just changing the prefix. I don't think this is possible using xslt 1.0, as this prefix is considered non-important (although I've got a feeling there is a work around, can't remember it for now) > Any idea ? Use Saxon 7.9.x and the xsl:namespace element of xslt 2.0 as this allows you to specify the prefix. cheers andrew
|
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
|