Different .xml
Posted: 17 Apr 2014, 12:27
Hey folks,
i used to read the help file and the interactive example cause of figure out how to
read out my .xml file.
in your example it looks like this :
xml file : XML Help File
x path expr 1 : /Products/Product//Notes[3]
x path expr 2 : count(/Products/Product/Version/Notes)
The structure of your xml File looks like :
<?xml version="1.0"?>
<?xml-stylesheet type='text/xsl' href='ReleaseNotes.xslt'?>
<Products>
<Product Name="Ventuz Designer">
<Version Value="1.0 Final Release">
<Notes>Stepping through</Notes>
<Notes>an XML file</Notes>
<Notes>reading line by line</Notes>
<Notes>and printing text</Notes>
<Notes>on the screen.</Notes>
</Version>
</Product>
</Products>
Now i´m trying to read out a different .xml File and the way i try is not working. maybe because the script looks different.
my xml file:
<seqCue name="Cue 2" itime="66:0" iwait="0:0" intId="2" mode="1" jGoal="0:0" jCt="0" rtch="false" />
<seqCue name="Cue 4" itime="76:1" iwait="0:0" intId="4" mode="4" jGoal="10:0" jCt="0" rtch="false" />xml file test_1
x path expr. 1 ......
x path expr. 2 count..... (i think i´ll need the count to step next and next etc. but how if i dont know how many "Cue´s" there will be?)
it´s a .xml file generated from another program which runs the show.
i´m just trying to read the "Cue-Names" in this Case "Cue 2" if i klick next it will display "Cue 4" etc. etc.
in the end there will be maybe 20-40 cue´s, it depends on the running show.
For now i have no idea how to solve this problem..
It would be great if you could help me with this task..
i used to read the help file and the interactive example cause of figure out how to
read out my .xml file.
in your example it looks like this :
xml file : XML Help File
x path expr 1 : /Products/Product//Notes[3]
x path expr 2 : count(/Products/Product/Version/Notes)
The structure of your xml File looks like :
<?xml version="1.0"?>
<?xml-stylesheet type='text/xsl' href='ReleaseNotes.xslt'?>
<Products>
<Product Name="Ventuz Designer">
<Version Value="1.0 Final Release">
<Notes>Stepping through</Notes>
<Notes>an XML file</Notes>
<Notes>reading line by line</Notes>
<Notes>and printing text</Notes>
<Notes>on the screen.</Notes>
</Version>
</Product>
</Products>
Now i´m trying to read out a different .xml File and the way i try is not working. maybe because the script looks different.
my xml file:
<seqCue name="Cue 2" itime="66:0" iwait="0:0" intId="2" mode="1" jGoal="0:0" jCt="0" rtch="false" />
<seqCue name="Cue 4" itime="76:1" iwait="0:0" intId="4" mode="4" jGoal="10:0" jCt="0" rtch="false" />xml file test_1
x path expr. 1 ......
x path expr. 2 count..... (i think i´ll need the count to step next and next etc. but how if i dont know how many "Cue´s" there will be?)
it´s a .xml file generated from another program which runs the show.
i´m just trying to read the "Cue-Names" in this Case "Cue 2" if i klick next it will display "Cue 4" etc. etc.
in the end there will be maybe 20-40 cue´s, it depends on the running show.
For now i have no idea how to solve this problem..
It would be great if you could help me with this task..