Pieter Vandepitte
Usenet Archive
- Joined
- Jan 7, 2004
- Messages
- 4
- Reaction score
- 0
Hi,
i have an xml document like this:
<?xml version="1.0"?>
<qname:element id="blabla" xmlns:qname="http://myblabla.com"> <qname:child>My text</qname:child> </qname:element>
[remark: i'm using QNames in my xml document]
Suppose i want to get the attribute 'id' from qname:element and the value of the qname:child node, how should i do this with xsl?
i thought it would work just like other stylesheets, without taking into account the qname, but it didn't work
Anyone a solution?
w.Kind regards
Pieter
i have an xml document like this:
<?xml version="1.0"?>
<qname:element id="blabla" xmlns:qname="http://myblabla.com"> <qname:child>My text</qname:child> </qname:element>
[remark: i'm using QNames in my xml document]
Suppose i want to get the attribute 'id' from qname:element and the value of the qname:child node, how should i do this with xsl?
i thought it would work just like other stylesheets, without taking into account the qname, but it didn't work
Anyone a solution?
w.Kind regards
Pieter