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

Re: Xpath errors in XML to XML transformation

Subject: Re: Xpath errors in XML to XML transformation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 22 Jun 2009 10:14:49 +0100
Re:  Xpath errors in XML to XML transformation
> 	<chapter xmlns:ad="http://myhome/technical_topic">

That is chapter in no-namespace so would be accessed with an xpath of

/chapter

> 	<chapter  xmlns="http://docbook.org/docbook-ng" xmlns:ad="http://myhome/technical_topic"


That is chapter in teh docbook namespace so would be accessed by an
xpath of

/d:chapter

where d is defined on (say) xsl:stylesheet to be

xmlns:d="http://docbook.org/docbook-ng"


Note that docbok up to version 4 was in no-namepsace, docbook version 5
is in a namespace but I believe the correct namespace is

http://docbook.org/ns/docbook


I think 

http://docbook.org/docbook-ng

was a temprary namespace used while they were working on the first
drafts of a relax ng defined version of docbook.


David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

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.