:: Forum >> Version 1 >>

How to not consider the namespace in an XML

Hi,
I use this very usefull tool to display easy to read data contained into an XML.
For this i had , in the AW script, to make use of namespace.
like this :

table.setNamespace("co""toto");
 
it is working fine.
however for some other web page view I (try to) make use of an xsl to do some sorting on an element.
It is working fine if I remove the namespace.

so my quest is : is there a way for AW to parse an XML without making use of namespace ( no namespace defined in the XML) ?

sampleof the XML :

<?xml version="1.0" standalone="yes"?>
<
?xml-stylesheet type="text/xsl" href="idols.xsl"?>
<
dataroot xmlns="toto">
  <
idols>
    <
idol_roman_name>
 
thank you very much!
Wednesday, February 23, 2005
not sure what you mean exactly but there are several XML examples in /examples/grid/ directory and some of them use XML namespace and some don't.
Alex (ActiveWidgets)
Friday, February 25, 2005



This topic is archived.

Back to support forum

Forum search