|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Generating xhtml from xml in no namespaceAndrew Welch andrew.j.welch at gmail.comWed Dec 17 11:21:24 PST 2008
Hi all, This is surely a faq, but I'm interested in what people think is the right approach for this... The input is in no namespace, the required output is unprefixed xhtml: <html xmlns="http://www.w3.org/1999/xhtml"> .... <body> { for $x in collection(...)/path/to/node For some reason the default namespace on the html element affects the xpath - which is different to xslt and a little odd to me... Is there something like xpath-default-namespace so I can clear the default namespace for the xpaths? thanks -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
|
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
|






