[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XPointer: which namespace bindings in the result?
I was under the impression that the result of an XPointer was a reference to existing nodes, not a copy; so the answer is that the namespaces in scope for an element are unaffected by selecting the element using XPointer. If you subsequently copy the node (as you might) then the behavior is defined by whatever copy operation you use - if you use xsl:copy, for example, then all the in-scope namespaces will be retained. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Florent Georges [mailto:darkman_spam@y...] > Sent: 22 September 2006 14:39 > To: XML Dev ML > Subject: XPointer: which namespace bindings in the result? > > Hi > > I wasn't able to find in the XPointer specifications the > answer to a simple question: "Which namespace bindings will > contain the result of evaluating an XPointer?" In the > following example, are we guaranted the result tree will > contain the binding for the prefix 'ns1'? And 'ns2'? > > XPointer: element(/1/1) > > Input: > <elem xmlns:ns1="ns1" xmlns:ns2="ns2"> > <ns1:elem/> > </elem> > > Regards, > > --drkm > > > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________ > _____________ > Découvrez un nouveau moyen de poser toutes vos questions > quelque soit le sujet ! > Yahoo! Questions/Réponses pour partager vos connaissances, > vos opinions et vos expériences. > http://fr.answers.yahoo.com > > > ______________________________________________________________ > _________ > > XML-DEV is a publicly archived, unmoderated list hosted by OASIS > to support XML implementation and development. To minimize > spam in the archives, you must subscribe before posting. > > [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ > Or unsubscribe: xml-dev-unsubscribe@l... > subscribe: xml-dev-subscribe@l... > List archive: http://lists.xml.org/archives/xml-dev/ > List Guidelines: http://www.oasis-open.org/maillists/guidelines.php >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|