marks20101
Programmer
I'm trying to get the xml to result like this:
<SourceGroup Name="1anthonyphil_geese" RolloverType="-1" RolloverSourceGroup="WMENC_SOURCEGROUP_AUTOROLLOVER_TO_NEXT">
<Source Type="WMENC_AUDIO" Scheme="file" InputSource="F:\wave_files\anthonyphillips\thegeeseghost\geeseghost_pt1.wav">
</Source>
<Source Type="WMENC_SCRIPT" Scheme="userscript">
</Source>
<EncoderProfile id="Multiple bit rates audio (CBR) / Script High" />
</SourceGroup>
<SourceGroup Name="2cousteau_heaveyweather" RolloverType="-1" RolloverSourceGroup="WMENC_SOURCEGROUP_AUTOROLLOVER_TO_NEXT">
<Source Type="WMENC_AUDIO" Scheme="file" InputSource="F:\wave_files\cousteau\sirena\heavyweather.wav">
</Source>
<Source Type="WMENC_SCRIPT" Scheme="userscript">
</Source>
<EncoderProfile id="Multiple bit rates audio (CBR) / Script High" />
</SourceGroup>.........ect........
The XSL is here: The desired xml(source) is here:
You will have to right click to see the source.
I want all three rows from the xml file(from NAME_SEGMENT and INPUT_SOURCE) these become attributes in the resulting xml.
My problem is that I can not view the resulting xml (in xml format or any format) that calls the xsl, I just get a blank html page? How do I process this xml to become the desired resulting xml using xsl? So that I could save the result xml file in xml format. (I think I need to add a top level tag in the xsl for a start? Only one top level tag is this correct?)
Thanks hope all is clear
Mark..................
<SourceGroup Name="1anthonyphil_geese" RolloverType="-1" RolloverSourceGroup="WMENC_SOURCEGROUP_AUTOROLLOVER_TO_NEXT">
<Source Type="WMENC_AUDIO" Scheme="file" InputSource="F:\wave_files\anthonyphillips\thegeeseghost\geeseghost_pt1.wav">
</Source>
<Source Type="WMENC_SCRIPT" Scheme="userscript">
</Source>
<EncoderProfile id="Multiple bit rates audio (CBR) / Script High" />
</SourceGroup>
<SourceGroup Name="2cousteau_heaveyweather" RolloverType="-1" RolloverSourceGroup="WMENC_SOURCEGROUP_AUTOROLLOVER_TO_NEXT">
<Source Type="WMENC_AUDIO" Scheme="file" InputSource="F:\wave_files\cousteau\sirena\heavyweather.wav">
</Source>
<Source Type="WMENC_SCRIPT" Scheme="userscript">
</Source>
<EncoderProfile id="Multiple bit rates audio (CBR) / Script High" />
</SourceGroup>.........ect........
The XSL is here: The desired xml(source) is here:
You will have to right click to see the source.
I want all three rows from the xml file(from NAME_SEGMENT and INPUT_SOURCE) these become attributes in the resulting xml.
My problem is that I can not view the resulting xml (in xml format or any format) that calls the xsl, I just get a blank html page? How do I process this xml to become the desired resulting xml using xsl? So that I could save the result xml file in xml format. (I think I need to add a top level tag in the xsl for a start? Only one top level tag is this correct?)
Thanks hope all is clear
Mark..................