Hi again, Upon doing some trial and error, I was able to set the value of Object1.log.debug-level=5 by using this XPath: //Object[\[]Name="Object1"[\]]/SubObjects/Object[\[]Name="log"[\]]/SubObjects/Object[\[]Name="debug-level"[\]]/value
I wonder if this is the best and easy way to do this? Since I was planning to do this automatically by setting a property e.g Object1.log.debug-level=5 as XPath and value. P.S. It seems the "" in the given xml sample was truncated, it has "" in the whitespaces. Regards, Romeo Romeo S. wrote: > > Hi, > > I want to know if XmlConfig or XmlFile works with DCML format of XML? > > Like: > <?xml version="1.0" standalone="no"?> > <!DOCTYPE DCML SYSTEM "../DCML.dtd"> > <DCML Type="MyType"> > <Description>Description 1</Description> > > <Name>Obejct1</Name> > <Description>Description for Object 1</Description> > <SubObjects> > > <Name>log</Name> > <Description>Description for Object1's > log</Description> > <SubObjects> > > <Name>debug-level</Name> > <Description>Some > description...</Description> > <Value type="Integer">0</Value> > > </SubObjects> > > </SubObjects> > > </DCML> > > In the sample Xml above, how can I set the value of > Object1.log.debug-level to e.g. 5? What is the best practice to do this? > > Thanks in advance! > > Regards, > Romeo > -- View this message in context: http://n2.nabble.com/Does-XmlConfig-works-on-DCML-format--tp3361177p3376348.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users