Problem with XML2my template? - AVS Forum
Forum Jump: 
 
Thread Tools
post #1 of 1 Old 03-06-2004, 12:17 AM - Thread Starter
Advanced Member
 
DanW's Avatar
 
Join Date: Nov 2002
Posts: 716
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I am having trouble with a particularly complex line in my template, I was hoping someone might be able to help me figure out what is going wrong


The line I am using is:

<chain="<Notes\\Notes\\EPISODES\\EPISODE\\EPTITLE>"<,"<Notes \\Notes\\EPISODES\\EPISODE\\Media\\DISK>%<Notes\\Notes\\EPIS ODES\\EPISODE\\Media\\BOOKMARK>>"
>



This XML:


<Notes>
<EPISODES>
<EPISODE>
<EPTITLE>Currahee</EPTITLE>
<Media>
<DISK>D:\\DVD\\ISO\\BAND Of BROTHERS Disk 1.ISO</DISK>
<BOOKMARK>Currahee</BOOKMARK>
</Media>
</EPISODE>
<EPISODE>
<EPTITLE>Day of Days</EPTITLE>
<Media>
<DISK>D:\\DVD\\ISO\\BAND Of BROTHERS Disk 1.ISO</DISK>
<BOOKMARK>Day of Days</BOOKMARK>
</Media>
</EPISODE>
<EPISODE>
<EPTITLE>Carentan</EPTITLE>
<Media>
<DISK>D:\\DVD\\ISO\\BAND Of BROTHERS Disk 2.ISO</DISK>
<BOOKMARK>Carentan</BOOKMARK>
</Media>
</EPISODE>
<EPISODE>
<EPTITLE>Replacements</EPTITLE>
<Media>
<DISK>D:\\DVD\\ISO\\BAND Of BROTHERS Disk 2.ISO</DISK>
<BOOKMARK>Replacements</BOOKMARK>
</Media>
</EPISODE>

</EPISODES>
</Notes>

Gives me the outupt:

chain="Currahee","D:\\DVD\\ISO\\BAND Of BROTHERS Disk 1.ISO%Currahee" chain="Day of Days","D:\\DVD\\ISO\\BAND Of BROTHERS Disk 1.ISO%Day of Days" chain="Carentan","D:\\DVD\\ISO\\BAND Of BROTHERS Disk 2.ISO%Carentan" chain="Replacements","D:\\DVD\\ISO\\BAND Of BROTHERS Disk 2.ISO%Replacement



I want to get:


chain="Currahuee","D:\\DVD\\ISO\\BAND Of BROTHERS Disk 1.ISO%Currahuee"
chain="Day of Days","D:\\DVD\\ISO\\BAND Of BROTHERS Disk 1.ISO%Day of Days"
chain="Carentan","D:\\DVD\\ISO\\BAND Of BROTHERS Disk 2.ISO%Carentan"
chain="Replacements","D:\\DVD\\ISO\\BAND Of BROTHERS Disk 2.ISO%Replacements"




This XML:

<Notes>
<EPISODES>
<EPISODE>
<EPTITLE>Sleepers</EPTITLE>
<Media>
<DISK>D:\\DVD\\ISO\\Sleepers Disk 1.ISO</DISK>
<BOOKMARK>Start</BOOKMARK>
</Media>
<Media>
<DISK>D:\\DVD\\ISO\\Sleepers Disk 2.ISO</DISK>
<BOOKMARK>Start</BOOKMARK>
</Media>
</EPISODE>
</EPISODES>
</Notes>




Gives me:

chain="Sleepers","D:\\DVD\\ISO\\Sleepers Disk 1.ISO%Start



I want to get:

chain="Sleepers","D:\\DVD\\ISO\\Sleepers Disk 1.ISO%Start","D:\\DVD\\ISO\\Sleepers Disk 2.ISO%Start"




This XML:

<Notes>
<EPISODES>
<EPISODE>
<EPTITLE>9 1/2 Weeks</EPTITLE>
<Media>
<DISK>D:\\DVD\\ISO\\9 12 Weeks.ISO</DISK>
<BOOKMARK>Start</BOOKMARK>
</Media>
</EPISODE>
</EPISODES>
</Notes>


Gives me:

chain="9 1/2 Weeks","D:\\DVD\\ISO\\9 12 Weeks.ISO

I want:

chain="9 1/2 Weeks","D:\\DVD\\ISO\\9 12 Weeks.ISO"
DanW is offline  
Closed Thread Home Theater Computers

User Tag List

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off