Click here to Skip to main content
15,891,136 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionCan anyone give me a hand with this? Pin
ajweber27-Apr-10 19:20
ajweber27-Apr-10 19:20 
AnswerRe: Can anyone give me a hand with this? Pin
Not Active28-Apr-10 0:54
mentorNot Active28-Apr-10 0:54 
GeneralRe: Can anyone give me a hand with this? Pin
ajweber28-Apr-10 5:59
ajweber28-Apr-10 5:59 
GeneralRe: Can anyone give me a hand with this? Pin
Not Active28-Apr-10 6:10
mentorNot Active28-Apr-10 6:10 
GeneralRe: Can anyone give me a hand with this? Pin
ajweber28-Apr-10 6:17
ajweber28-Apr-10 6:17 
GeneralRe: Can anyone give me a hand with this? Pin
Not Active28-Apr-10 6:31
mentorNot Active28-Apr-10 6:31 
GeneralRe: Can anyone give me a hand with this? Pin
ajweber28-Apr-10 6:52
ajweber28-Apr-10 6:52 
QuestionDesperate seeking answer to simple problem Pin
Axiom70m27-Apr-10 5:45
Axiom70m27-Apr-10 5:45 
Hello, I got a simple question and i geuss the answer will be simple to. I've just spend 8 hours looking at this but can't seem to solve it.

I Got a gridview that shows data from an exsisting XML file. The user can select items the gridview with checkboxes.

When the user hits the next button the xml file should be updating the showimage attribute with "0" or "1" from the checkbox value of the gridview.

the XML is wellformed and has a schema.

basically it looks like this

root
itemcode
filename showimage=
etc
etc
/root
root
itemcode
filename showimage=
etc
etc
/root
root
itemcode
filename showimage=
etc
etc
/root

I have come as far as :
For Each row As GridViewRow In GrdImagesSel.Rows

           Dim cbSi As CheckBox = row.FindControl("chkShowImage")
           Dim productID As String = Convert.ToString(GrdImagesSel.DataKeys(row.RowIndex).Value)
           Dim SiNodelist As XmlNodeList
           Dim SiNode As XmlNode
           SiNodelist = xmldoc.SelectNodes("docroot/root")
           For Each SiNode In SiNodelist
               Dim ShowImg = SiNode.ChildNodes.Item(1).InnerText
               If ShowImg = productID Then Parentnode.Attributes("ShowImage").Value = cbSi.Text

           Next
       Next


that doesn't work.

Can you help me out here?

Regards,
Bram
AnswerRe: Desperate seeking answer to simple problem Pin
Not Active27-Apr-10 6:57
mentorNot Active27-Apr-10 6:57 
GeneralRe: Desperate seeking answer to simple problem [modified] Pin
Axiom70m27-Apr-10 7:47
Axiom70m27-Apr-10 7:47 
GeneralRe: Desperate seeking answer to simple problem Pin
Not Active27-Apr-10 9:41
mentorNot Active27-Apr-10 9:41 
GeneralRe: Desperate seeking answer to simple problem [modified] Pin
Axiom70m27-Apr-10 21:52
Axiom70m27-Apr-10 21:52 
GeneralRe: Desperate seeking answer to simple problem Pin
Not Active28-Apr-10 0:52
mentorNot Active28-Apr-10 0:52 
GeneralRe: Desperate seeking answer to simple problem Pin
Axiom70m28-Apr-10 2:00
Axiom70m28-Apr-10 2:00 
GeneralRe: Desperate seeking answer to simple problem Pin
Axiom70m29-Apr-10 0:16
Axiom70m29-Apr-10 0:16 
QuestionHow ti create sitemap in xml? Pin
JMecier25-Apr-10 0:59
JMecier25-Apr-10 0:59 
AnswerRe: How ti create sitemap in xml? Pin
User 171649225-Apr-10 1:11
professionalUser 171649225-Apr-10 1:11 
GeneralRe: How ti create sitemap in xml? Pin
JMecier27-Apr-10 3:57
JMecier27-Apr-10 3:57 
QuestionWord Formatting Pin
Mahesh Kulkarni14-Apr-10 0:09
Mahesh Kulkarni14-Apr-10 0:09 
Questionbuilding an XML page Pin
Farraj13-Apr-10 5:26
Farraj13-Apr-10 5:26 
AnswerRe: building an XML page Pin
Estys14-Apr-10 1:01
Estys14-Apr-10 1:01 
GeneralRe: building an XML page Pin
Farraj14-Apr-10 1:20
Farraj14-Apr-10 1:20 
GeneralRe: building an XML page Pin
Estys14-Apr-10 2:22
Estys14-Apr-10 2:22 
GeneralRe: building an XML page Pin
Farraj14-Apr-10 6:07
Farraj14-Apr-10 6:07 
GeneralRe: building an XML page Pin
Estys14-Apr-10 22:52
Estys14-Apr-10 22:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.